diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a79f0627..a454a61e 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 -# created: 2022-05-19T15:12:45.278246753Z + digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 +# created: 2022-06-29T23:17:33.110417661Z diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index ecfc90cd..11c0475d 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -11,7 +11,6 @@ branchProtectionRules: - dependencies (8) - dependencies (11) - lint - - clirr - units (8) - units (11) - 'Kokoro - Test: Integration' @@ -27,7 +26,6 @@ branchProtectionRules: - dependencies (8) - dependencies (11) - lint - - clirr - units (8) - units (11) - 'Kokoro - Test: Integration' diff --git a/.kokoro/common.sh b/.kokoro/common.sh index ace89f45..f8f957af 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -55,4 +55,6 @@ function retry_with_backoff { ## Helper functionss function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file +function println() { printf '%s\n' "$(now) $*"; } + +## Helper comment to trigger updated repo dependency release \ No newline at end of file diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh index 77dc4e8f..1dba8de1 100755 --- a/.kokoro/release/stage.sh +++ b/.kokoro/release/stage.sh @@ -32,6 +32,7 @@ retry_with_backoff 3 10 \ mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ + -Dclirr.skip=true \ -DperformRelease=true \ -Dgpg.executable=gpg \ -Dgpg.passphrase=${GPG_PASSPHRASE} \ @@ -42,4 +43,4 @@ then mvn nexus-staging:release -B \ -DperformRelease=true \ --settings=settings.xml -fi \ No newline at end of file +fi diff --git a/.readme-partials.yaml b/.readme-partials.yaml index d21e422f..9cdd7068 100644 --- a/.readme-partials.yaml +++ b/.readme-partials.yaml @@ -18,13 +18,15 @@ custom_content: | The latest version of the connector is publicly available in the following link: | Connector version | Link | | --- | --- | - | 0.1.0 | `gs://spark-lib/pubsublite/pubsublite-spark-sql-streaming-0.1.0-with-dependencies.jar`([HTTP link](https://storage.googleapis.com/spark-lib/pubsublite/pubsublite-spark-sql-streaming-0.1.0-with-dependencies.jar)) | + | 0.4.0 | `gs://spark-lib/pubsublite/pubsublite-spark-sql-streaming-LATEST-with-dependencies.jar`([HTTP link](https://storage.googleapis.com/spark-lib/pubsublite/pubsublite-spark-sql-streaming-LATEST-with-dependencies.jar)) | + The connector is also available from the [Maven Central repository](https://search.maven.org/artifact/com.google.cloud/pubsublite-spark-sql-streaming). You can download and pass it in the `--jars` option when using the `spark-submit` command. ## Compatibility | Connector version | Spark version | | --- | --- | - | 0.1.0 | 2.4.X | + | ≤0.3.4 | 2.4.X | + | Current | 3.X.X | ## Usage diff --git a/CHANGELOG.md b/CHANGELOG.md index eaa1f197..52aba4d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.4.1](https://github.com/googleapis/java-pubsublite-spark/compare/v0.4.0...v0.4.1) (2022-06-30) + + +### Documentation + +* update download link and compatibility table ([#421](https://github.com/googleapis/java-pubsublite-spark/issues/421)) ([35cce40](https://github.com/googleapis/java-pubsublite-spark/commit/35cce4066c6858b345026f9838fe53ee5154a291)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-dataproc to v3.1.2 ([#434](https://github.com/googleapis/java-pubsublite-spark/issues/434)) ([15b32c7](https://github.com/googleapis/java-pubsublite-spark/commit/15b32c76c05436dcf293bc9c95cde61168c7f374)) +* update dependency org.eclipse.jetty:jetty-server to v11.0.10 ([#430](https://github.com/googleapis/java-pubsublite-spark/issues/430)) ([cdbc083](https://github.com/googleapis/java-pubsublite-spark/commit/cdbc0833981667fc6ef92e98a2a7b53616b5f207)) +* update dependency org.eclipse.jetty:jetty-server to v11.0.11 ([#432](https://github.com/googleapis/java-pubsublite-spark/issues/432)) ([74a09f2](https://github.com/googleapis/java-pubsublite-spark/commit/74a09f25c32248ce8645e70e8fa20f000b57c57f)) +* update dependency org.eclipse.jetty:jetty-util to v11.0.10 ([#431](https://github.com/googleapis/java-pubsublite-spark/issues/431)) ([066d8f2](https://github.com/googleapis/java-pubsublite-spark/commit/066d8f2e1956376e421117542bc5bcc326b1e1df)) +* update dependency org.eclipse.jetty:jetty-util to v11.0.11 ([#433](https://github.com/googleapis/java-pubsublite-spark/issues/433)) ([0a1133f](https://github.com/googleapis/java-pubsublite-spark/commit/0a1133f58b0de47bf37fdf60bef7b83f8939a458)) + ## [0.4.0](https://github.com/googleapis/java-pubsublite-spark/compare/v0.3.4...v0.4.0) (2022-05-27) diff --git a/README.md b/README.md index 47fdaa91..03d66162 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud pubsublite-spark-sql-streaming - 0.3.4 + 0.4.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:pubsublite-spark-sql-streaming:0.3.4' +implementation 'com.google.cloud:pubsublite-spark-sql-streaming:0.4.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "pubsublite-spark-sql-streaming" % "0.3.4" +libraryDependencies += "com.google.cloud" % "pubsublite-spark-sql-streaming" % "0.4.0" ``` ## Authentication @@ -95,13 +95,15 @@ and manual Spark installations. The latest version of the connector is publicly available in the following link: | Connector version | Link | | --- | --- | - | 0.1.0 | `gs://spark-lib/pubsublite/pubsublite-spark-sql-streaming-0.1.0-with-dependencies.jar`([HTTP link](https://storage.googleapis.com/spark-lib/pubsublite/pubsublite-spark-sql-streaming-0.1.0-with-dependencies.jar)) | + | 0.4.0 | `gs://spark-lib/pubsublite/pubsublite-spark-sql-streaming-LATEST-with-dependencies.jar`([HTTP link](https://storage.googleapis.com/spark-lib/pubsublite/pubsublite-spark-sql-streaming-LATEST-with-dependencies.jar)) | + The connector is also available from the [Maven Central repository](https://search.maven.org/artifact/com.google.cloud/pubsublite-spark-sql-streaming). You can download and pass it in the `--jars` option when using the `spark-submit` command. ## Compatibility | Connector version | Spark version | | --- | --- | -| 0.1.0 | 2.4.X | +| ≤0.3.4 | 2.4.X | +| Current | 3.X.X | ## Usage diff --git a/pom.xml b/pom.xml index 87890d50..ac8cfc73 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ 4.0.0 pubsublite-spark-sql-streaming - 0.4.0 + 0.4.1 jar Pub/Sub Lite Spark SQL Streaming https://github.com/googleapis/java-pubsublite-spark @@ -62,12 +62,12 @@ org.eclipse.jetty jetty-util - 11.0.9 + 11.0.11 org.eclipse.jetty jetty-server - 11.0.9 + 11.0.11 jakarta.xml.bind @@ -201,7 +201,7 @@ org.mockito mockito-core test - 4.6.0 + 4.6.1 com.google.guava @@ -292,7 +292,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.1.0 enforce diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 34434278..e359efcd 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud libraries-bom - 25.3.0 + 25.4.0 pom import @@ -49,7 +49,7 @@ com.google.cloud google-cloud-dataproc - 3.1.1 + 3.1.2 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index fa1e4a34..ed557eab 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud libraries-bom - 25.3.0 + 25.4.0 pom import @@ -49,7 +49,7 @@ com.google.cloud google-cloud-dataproc - 3.1.1 + 3.1.2 junit diff --git a/versions.txt b/versions.txt index b5280064..f90f966e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -pubsublite-spark-sql-streaming:0.4.0:0.4.0 +pubsublite-spark-sql-streaming:0.4.1:0.4.1