diff --git a/CHANGELOG.md b/CHANGELOG.md index 28a3733aaf..bc8059f3fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [2.15.0](https://github.com/googleapis/gapic-generator-java/compare/v2.14.0...v2.15.0) (2023-02-02) + + +### Features + +* Do not generate Service REST code if there are no matching RPC in a Service ([#1236](https://github.com/googleapis/gapic-generator-java/issues/1236)) ([9c06bc9](https://github.com/googleapis/gapic-generator-java/commit/9c06bc95b9aac869bf21c343cbb4b857aa25b593)) + + +### Bug Fixes + +* **ast:** Update import generation to cover annotation parameters ([#1229](https://github.com/googleapis/gapic-generator-java/issues/1229)) ([bdf12b0](https://github.com/googleapis/gapic-generator-java/commit/bdf12b0df91446abac8cb1bf2d361bb886eb91a2)) +* **deps:** Update dependency com.google.auth:google-auth-library-bom to v1.15.0 ([#1278](https://github.com/googleapis/gapic-generator-java/issues/1278)) ([f80861b](https://github.com/googleapis/gapic-generator-java/commit/f80861ba0518be2b9774b3235535f4bd3a27216a)) +* **java:** Initialize netty-shaded at run-time and add reflection configurations for netty classes ([#1290](https://github.com/googleapis/gapic-generator-java/issues/1290)) ([b7ca95f](https://github.com/googleapis/gapic-generator-java/commit/b7ca95f12dfe8287c133e09534be1fc46882ce6c)) +* Support mvn fmt:check and fmt:format ([#1266](https://github.com/googleapis/gapic-generator-java/issues/1266)) ([c96a2e7](https://github.com/googleapis/gapic-generator-java/commit/c96a2e7cf647cf245199c33ad989c8050208646e)) + ## [2.14.0](https://github.com/googleapis/gapic-generator-java/compare/v2.13.0...v2.14.0) (2023-01-19) diff --git a/WORKSPACE b/WORKSPACE index 62b8ff6d3b..cff92cf48e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -60,7 +60,7 @@ maven_install( repositories = ["https://repo.maven.apache.org/maven2/"], ) -_gapic_generator_java_version = "2.14.1-SNAPSHOT" # {x-version-update:gapic-generator-java:current} +_gapic_generator_java_version = "2.15.0" # {x-version-update:gapic-generator-java:current} maven_install( artifacts = [ diff --git a/api-common-java/build.gradle b/api-common-java/build.gradle index 1bd7673fb2..5718ee4953 100644 --- a/api-common-java/build.gradle +++ b/api-common-java/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'io.github.gradle-nexus.publish-plugin' group = "com.google.api" archivesBaseName = "api-common" -project.version = "2.5.1-SNAPSHOT" // {x-version-update:api-common:current} +project.version = "2.6.0" // {x-version-update:api-common:current} sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/api-common-java/pom.xml b/api-common-java/pom.xml index 62508e7f8a..19192da993 100644 --- a/api-common-java/pom.xml +++ b/api-common-java/pom.xml @@ -5,14 +5,14 @@ com.google.api api-common jar - 2.5.1-SNAPSHOT + 2.6.0 API Common Common utilities for Google APIs in Java com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent diff --git a/gapic-generator-java-bom/pom.xml b/gapic-generator-java-bom/pom.xml index bf3cace7ce..46d31a979e 100644 --- a/gapic-generator-java-bom/pom.xml +++ b/gapic-generator-java-bom/pom.xml @@ -4,7 +4,7 @@ com.google.api gapic-generator-java-bom pom - 2.14.1-SNAPSHOT + 2.15.0 GAPIC Generator Java BOM BOM for the libraries in gapic-generator-java repository. Users should not @@ -15,7 +15,7 @@ com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent @@ -60,56 +60,56 @@ com.google.api api-common - 2.5.1-SNAPSHOT + 2.6.0 com.google.api gax-bom - 2.22.1-SNAPSHOT + 2.23.0 pom import com.google.api.grpc grpc-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 com.google.api.grpc proto-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 com.google.api.grpc proto-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc proto-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc proto-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 88d2bd3adb..a7d8cec72f 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 pom GAPIC Generator Java POM Parent https://github.com/googleapis/gapic-generator-java diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml index 2c9deecbb5..fa53061c90 100644 --- a/gapic-generator-java/pom.xml +++ b/gapic-generator-java/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.google.api gapic-generator-java - 2.14.1-SNAPSHOT + 2.15.0 GAPIC Generator Java GAPIC generator Java @@ -23,7 +23,7 @@ com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent @@ -32,7 +32,7 @@ com.google.api gapic-generator-java-bom - 2.14.1-SNAPSHOT + 2.15.0 pom import diff --git a/gax-java/build.gradle b/gax-java/build.gradle index e7419ec979..1e48a80ddb 100644 --- a/gax-java/build.gradle +++ b/gax-java/build.gradle @@ -13,7 +13,7 @@ plugins { } // TODO: Populate this from dependencies.properties version property (for proper Gradle-Bazel sync) -project.version = "2.22.1-SNAPSHOT" // {x-version-update:gax:current} +project.version = "2.23.0" // {x-version-update:gax:current} allprojects { group = 'com.google.api' diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index a94244b640..b47582acba 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -8,16 +8,16 @@ # Versions of oneself # {x-version-update-start:gax:current} -version.gax=2.22.1-SNAPSHOT +version.gax=2.23.0 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_grpc=2.22.1-SNAPSHOT +version.gax_grpc=2.23.0 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_bom=2.22.1-SNAPSHOT +version.gax_bom=2.23.0 # {x-version-update-end} # {x-version-update-start:gax-httpjson:current} -version.gax_httpjson=0.107.1-SNAPSHOT +version.gax_httpjson=0.108.0 # {x-version-update-end} # Versions for dependencies which actual artifacts differ between Bazel and Gradle. diff --git a/gax-java/gax-bom/build.gradle b/gax-java/gax-bom/build.gradle index 56467940a8..2280b13423 100644 --- a/gax-java/gax-bom/build.gradle +++ b/gax-java/gax-bom/build.gradle @@ -5,7 +5,7 @@ plugins { archivesBaseName = 'gax-bom' -project.version = "2.22.1-SNAPSHOT" // {x-version-update:gax:current} +project.version = "2.23.0" // {x-version-update:gax:current} def mavenJavaDir = "$buildDir/publications/mavenJava" def mavenJavaBomOutputFile = file(mavenJavaDir + '/pom-default.xml') diff --git a/gax-java/gax-bom/pom.xml b/gax-java/gax-bom/pom.xml index f0a740499d..ef061a8d5c 100644 --- a/gax-java/gax-bom/pom.xml +++ b/gax-java/gax-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.api gax-bom - 2.22.1-SNAPSHOT + 2.23.0 pom GAX (Google Api eXtensions) for Java (BOM) Google Api eXtensions for Java (BOM) @@ -42,34 +42,34 @@ com.google.api gax - 2.22.1-SNAPSHOT + 2.23.0 com.google.api gax - 2.22.1-SNAPSHOT + 2.23.0 testlib com.google.api gax-grpc - 2.22.1-SNAPSHOT + 2.23.0 com.google.api gax-grpc - 2.22.1-SNAPSHOT + 2.23.0 testlib com.google.api gax-httpjson - 0.107.1-SNAPSHOT + 0.108.0 com.google.api gax-httpjson - 0.107.1-SNAPSHOT + 0.108.0 testlib diff --git a/gax-java/gax-grpc/build.gradle b/gax-java/gax-grpc/build.gradle index a10aa73a11..bf88363bc7 100644 --- a/gax-java/gax-grpc/build.gradle +++ b/gax-java/gax-grpc/build.gradle @@ -1,7 +1,7 @@ archivesBaseName = 'gax-grpc' // TODO: Populate this from dependencies.properties version property (for proper Gradle-Bazel sync) -project.version = "2.22.1-SNAPSHOT" // {x-version-update:gax-grpc:current} +project.version = "2.23.0" // {x-version-update:gax-grpc:current} dependencies { api(project(':gax'), diff --git a/gax-java/gax-grpc/pom.xml b/gax-java/gax-grpc/pom.xml index 376139c3f9..1e92e2b52b 100644 --- a/gax-java/gax-grpc/pom.xml +++ b/gax-java/gax-grpc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax-grpc - 2.22.1-SNAPSHOT + 2.23.0 jar GAX (Google Api eXtensions) for Java (gRPC) Google Api eXtensions for Java (gRPC) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.22.1-SNAPSHOT + 2.23.0 diff --git a/gax-java/gax-httpjson/build.gradle b/gax-java/gax-httpjson/build.gradle index 982a01800e..0622101cc9 100644 --- a/gax-java/gax-httpjson/build.gradle +++ b/gax-java/gax-httpjson/build.gradle @@ -1,7 +1,7 @@ archivesBaseName = 'gax-httpjson' // TODO: Populate this from dependencies.properties version property (for proper Gradle-Bazel sync) -project.version = "0.107.1-SNAPSHOT" // {x-version-update:gax-httpjson:current} +project.version = "0.108.0" // {x-version-update:gax-httpjson:current} dependencies { api(project(':gax'), diff --git a/gax-java/gax-httpjson/pom.xml b/gax-java/gax-httpjson/pom.xml index b3e8527e96..72732b0a15 100644 --- a/gax-java/gax-httpjson/pom.xml +++ b/gax-java/gax-httpjson/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax-httpjson - 0.107.1-SNAPSHOT + 0.108.0 jar GAX (Google Api eXtensions) for Java (HTTP JSON) Google Api eXtensions for Java (HTTP JSON) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.22.1-SNAPSHOT + 2.23.0 diff --git a/gax-java/gax/build.gradle b/gax-java/gax/build.gradle index 0200cb5317..fa9734ff2f 100644 --- a/gax-java/gax/build.gradle +++ b/gax-java/gax/build.gradle @@ -1,7 +1,7 @@ archivesBaseName = "gax" // TODO: Populate this from dependencies.properties version property (for proper Gradle-Bazel sync) -project.version = "2.22.1-SNAPSHOT" // {x-version-update:gax:current} +project.version = "2.23.0" // {x-version-update:gax:current} dependencies { api(libraries['maven.com_google_api_api_common'], diff --git a/gax-java/gax/pom.xml b/gax-java/gax/pom.xml index 4a97427af7..ecfd1b215f 100644 --- a/gax-java/gax/pom.xml +++ b/gax-java/gax/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax - 2.22.1-SNAPSHOT + 2.23.0 jar GAX (Google Api eXtensions) for Java (Core) Google Api eXtensions for Java (Core) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.22.1-SNAPSHOT + 2.23.0 diff --git a/gax-java/pom.xml b/gax-java/pom.xml index 431d8e3a3f..35b9c78b5e 100644 --- a/gax-java/pom.xml +++ b/gax-java/pom.xml @@ -4,14 +4,14 @@ com.google.api gax-parent pom - 2.22.1-SNAPSHOT + 2.23.0 GAX (Google Api eXtensions) for Java (Parent) Google Api eXtensions for Java (Parent) com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent @@ -51,7 +51,7 @@ com.google.api api-common - 2.5.1-SNAPSHOT + 2.6.0 com.google.auth @@ -109,24 +109,24 @@ com.google.api gax - 2.22.1-SNAPSHOT + 2.23.0 com.google.api gax - 2.22.1-SNAPSHOT + 2.23.0 test-jar testlib com.google.api.grpc proto-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 com.google.api.grpc grpc-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 io.grpc diff --git a/java-common-protos/grpc-google-common-protos/pom.xml b/java-common-protos/grpc-google-common-protos/pom.xml index 587e0a2fe8..ea3c7b5eb8 100644 --- a/java-common-protos/grpc-google-common-protos/pom.xml +++ b/java-common-protos/grpc-google-common-protos/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 grpc-google-common-protos GRPC library for grpc-google-common-protos com.google.api.grpc google-common-protos-parent - 2.13.1-SNAPSHOT + 2.14.0 diff --git a/java-common-protos/pom.xml b/java-common-protos/pom.xml index 17b0e224d4..8242857a5c 100644 --- a/java-common-protos/pom.xml +++ b/java-common-protos/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-common-protos-parent pom - 2.13.1-SNAPSHOT + 2.14.0 Google Common Protos Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent @@ -69,7 +69,7 @@ com.google.api.grpc grpc-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 io.grpc @@ -81,7 +81,7 @@ com.google.api.grpc proto-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 com.google.guava diff --git a/java-common-protos/proto-google-common-protos/pom.xml b/java-common-protos/proto-google-common-protos/pom.xml index 559c3b26dc..36296a8d69 100644 --- a/java-common-protos/proto-google-common-protos/pom.xml +++ b/java-common-protos/proto-google-common-protos/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 proto-google-common-protos PROTO library for proto-google-common-protos com.google.api.grpc google-common-protos-parent - 2.13.1-SNAPSHOT + 2.14.0 diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d49f2baa10..dc1e4e2ff2 100644 --- a/java-iam/grpc-google-iam-v1/pom.xml +++ b/java-iam/grpc-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 1a078f476c..e338c803f1 100644 --- a/java-iam/grpc-google-iam-v2/pom.xml +++ b/java-iam/grpc-google-iam-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 14268c18c3..4faf8d1247 100644 --- a/java-iam/grpc-google-iam-v2beta/pom.xml +++ b/java-iam/grpc-google-iam-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4f4e867fe0..e5f9878295 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.8.1-SNAPSHOT + 1.9.0 Google IAM Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.api gapic-generator-java-pom-parent - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-pom-parent @@ -81,49 +81,49 @@ com.google.api gax-bom - 2.22.1-SNAPSHOT + 2.23.0 pom import com.google.api.grpc proto-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 com.google.cloud google-iam-policy - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc proto-google-common-protos - 2.13.1-SNAPSHOT + 2.14.0 com.google.api.grpc proto-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc grpc-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 com.google.api.grpc proto-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 javax.annotation diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9d181a942a..aa11cbc342 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.8.1-SNAPSHOT + 1.9.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 13e540869f..0c3d02d814 100644 --- a/java-iam/proto-google-iam-v2/pom.xml +++ b/java-iam/proto-google-iam-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v2 - 1.8.1-SNAPSHOT + 1.9.0 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 1c482ff72b..5dd5d22057 100644 --- a/java-iam/proto-google-iam-v2beta/pom.xml +++ b/java-iam/proto-google-iam-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v2beta - 1.8.1-SNAPSHOT + 1.9.0 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.8.1-SNAPSHOT + 1.9.0 diff --git a/showcase/pom.xml b/showcase/pom.xml index 0944f06b81..5231c23bc8 100644 --- a/showcase/pom.xml +++ b/showcase/pom.xml @@ -15,7 +15,7 @@ com.google.api gapic-generator-java-bom - 2.14.1-SNAPSHOT + 2.15.0 ../gapic-generator-java-bom diff --git a/versions.txt b/versions.txt index 03bf6ca4fe..c6eec81224 100644 --- a/versions.txt +++ b/versions.txt @@ -1,17 +1,17 @@ # Format: # module:released-version:current-version -gapic-generator-java:2.14.0:2.14.1-SNAPSHOT -api-common:2.5.0:2.5.1-SNAPSHOT -gax:2.22.0:2.22.1-SNAPSHOT -gax-grpc:2.22.0:2.22.1-SNAPSHOT -gax-httpjson:0.107.0:0.107.1-SNAPSHOT -proto-google-common-protos:2.13.0:2.13.1-SNAPSHOT -grpc-google-common-protos:2.13.0:2.13.1-SNAPSHOT -proto-google-iam-v1:1.8.0:1.8.1-SNAPSHOT -grpc-google-iam-v1:1.8.0:1.8.1-SNAPSHOT -proto-google-iam-v2beta:1.8.0:1.8.1-SNAPSHOT -grpc-google-iam-v2beta:1.8.0:1.8.1-SNAPSHOT -google-iam-policy:1.8.0:1.8.1-SNAPSHOT -proto-google-iam-v2:1.8.0:1.8.1-SNAPSHOT -grpc-google-iam-v2:1.8.0:1.8.1-SNAPSHOT +gapic-generator-java:2.15.0:2.15.0 +api-common:2.6.0:2.6.0 +gax:2.23.0:2.23.0 +gax-grpc:2.23.0:2.23.0 +gax-httpjson:0.108.0:0.108.0 +proto-google-common-protos:2.14.0:2.14.0 +grpc-google-common-protos:2.14.0:2.14.0 +proto-google-iam-v1:1.9.0:1.9.0 +grpc-google-iam-v1:1.9.0:1.9.0 +proto-google-iam-v2beta:1.9.0:1.9.0 +grpc-google-iam-v2beta:1.9.0:1.9.0 +google-iam-policy:1.9.0:1.9.0 +proto-google-iam-v2:1.9.0:1.9.0 +grpc-google-iam-v2:1.9.0:1.9.0