From a24fa1f1fdd540e4a0acdd73d8fc6f7c0bd043a6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 00:16:12 +0000 Subject: [PATCH 01/23] chore(main): release 2.6.2-SNAPSHOT (#804) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-core-bom/pom.xml | 10 +++++----- google-cloud-core-grpc/pom.xml | 4 ++-- google-cloud-core-http/pom.xml | 4 ++-- google-cloud-core/pom.xml | 4 ++-- native-image-support/pom.xml | 4 ++-- pom.xml | 2 +- versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index 92aaa71988..c1ba0a0f36 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.1 + 2.6.2-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud native-image-support - 0.13.1 + 0.13.2-SNAPSHOT diff --git a/google-cloud-core-grpc/pom.xml b/google-cloud-core-grpc/pom.xml index 313a0a281c..cb17f20534 100644 --- a/google-cloud-core-grpc/pom.xml +++ b/google-cloud-core-grpc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-grpc - 2.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-core-http/pom.xml b/google-cloud-core-http/pom.xml index 634d6b360d..9579a01a93 100644 --- a/google-cloud-core-http/pom.xml +++ b/google-cloud-core-http/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-http - 2.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-core/pom.xml b/google-cloud-core/pom.xml index 8ec9ef76d9..a595bad16b 100644 --- a/google-cloud-core/pom.xml +++ b/google-cloud-core/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core - 2.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT google-cloud-core diff --git a/native-image-support/pom.xml b/native-image-support/pom.xml index 86b9c6cb32..02ec08878d 100644 --- a/native-image-support/pom.xml +++ b/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.13.1 + 0.13.2-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.6.1 + 2.6.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 856ff7a574..1675ae8b19 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.1 + 2.6.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/versions.txt b/versions.txt index 4ac408813c..d2535df5a2 100644 --- a/versions.txt +++ b/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.1:2.6.1 -native-image-support:0.13.1:0.13.1 \ No newline at end of file +google-cloud-core:2.6.1:2.6.2-SNAPSHOT +native-image-support:0.13.1:0.13.2-SNAPSHOT \ No newline at end of file From 5a2c608e375d15ec83ca71232627bce1f167e750 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 18 Apr 2022 10:48:35 -0400 Subject: [PATCH 02/23] feat: next release from main branch is 2.7.0 (#807) --- .github/release-please.yml | 4 ++++ .github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.github/release-please.yml b/.github/release-please.yml index 8a0e92768a..a24a02defc 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -14,3 +14,7 @@ branches: handleGHRelease: true releaseType: java-backport branch: 2.2.x + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.6.x diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index be62d8420f..20770a28dd 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -63,6 +63,21 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - pattern: 2.6.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From 493ac038d3ca9f603cd47969fde0da68a1f9bfd0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:44:30 +0200 Subject: [PATCH 03/23] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 (#805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.1` -> `1.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/compatibility-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/confidence-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.3.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​132-httpsgithubcomgoogleapisjava-iamcomparev131v132-2022-04-15) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.1...v1.3.2)
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1675ae8b19..b6795652ce 100644 --- a/pom.xml +++ b/pom.xml @@ -154,7 +154,7 @@ 2.16.0 2.1.5 2.8.3 - 1.3.1 + 1.3.2 1.6.0 1.34.0 1.41.7 From 9fc5811eae52288acd9fb0b967e5737848fe7c5e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:52:16 +0200 Subject: [PATCH 04/23] deps: update dependency com.google.errorprone:error_prone_annotations to v2.13.1 (#806) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.13.0` -> `2.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
google/error-prone ### [`v2.13.1`](https://togithub.com/google/error-prone/releases/v2.13.1) [Compare Source](https://togithub.com/google/error-prone/compare/v2.13.0...v2.13.1) #### What's Changed - Fix a crash in `UnnecessaryBoxedVariable` in [https://github.com/google/error-prone/pull/3118](https://togithub.com/google/error-prone/pull/3118) - Include the unicode character in the diagnostic message in [https://github.com/google/error-prone/pull/3119](https://togithub.com/google/error-prone/pull/3119) **Full Changelog**: https://github.com/google/error-prone/compare/v2.13.0...v2.13.1
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b6795652ce..18d3f50451 100644 --- a/pom.xml +++ b/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.6.0 3.2 - 2.13.0 + 2.13.1 2.9.0
From 60850a42b1dbe4062a8aba332ffe274e8d906124 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 16:42:21 +0200 Subject: [PATCH 05/23] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.0 (#812) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.2` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 18d3f50451..56797ba5c4 100644 --- a/pom.xml +++ b/pom.xml @@ -373,7 +373,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 html From c9f0209f15fe2dce1c6a067ad0a5dee754434be5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 19:50:30 +0200 Subject: [PATCH 06/23] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.3 (#811) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.3.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-shared-configcomparev132v133-2022-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3)
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- google-cloud-core-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index c1ba0a0f36..0e59ce53bd 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 Google Cloud Core diff --git a/pom.xml b/pom.xml index 56797ba5c4..59d62947dd 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 From a9c8c92086c0266e14f86a957944c0cc4ab26ee6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 01:04:26 +0200 Subject: [PATCH 07/23] deps: update dependency com.google.protobuf:protobuf-bom to v3.20.1 (#813) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.4` -> `3.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/compatibility-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/confidence-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
protocolbuffers/protobuf ### [`v3.20.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.0) 2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) ##### Ruby - Dropped Ruby 2.3 and 2.4 support for CI and releases. ([#​9311](https://togithub.com/protocolbuffers/protobuf/issues/9311)) - Added Ruby 3.1 support for CI and releases ([#​9566](https://togithub.com/protocolbuffers/protobuf/issues/9566)). - Message.decode/encode: Add recursion_limit option ([#​9218](https://togithub.com/protocolbuffers/protobuf/issues/9218)/[#​9486](https://togithub.com/protocolbuffers/protobuf/issues/9486)) - Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs ([#​9586](https://togithub.com/protocolbuffers/protobuf/issues/9586)). - Fix conversion of singleton classes in Ruby ([#​9342](https://togithub.com/protocolbuffers/protobuf/issues/9342)) - Suppress warning for intentional circular require ([#​9556](https://togithub.com/protocolbuffers/protobuf/issues/9556)) - JSON will now output shorter strings for double and float fields when possible without losing precision. - Encoding and decoding of binary format will now work properly on big-endian systems. - UTF-8 verification was fixed to properly reject surrogate code points. - Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields. ##### Java - Revert "Standardize on Array copyOf" ([#​9400](https://togithub.com/protocolbuffers/protobuf/issues/9400)) - Resolve more java field accessor name conflicts ([#​8198](https://togithub.com/protocolbuffers/protobuf/issues/8198)) - Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder} - Fix parseFrom to only throw InvalidProtocolBufferException - InvalidProtocolBufferException now allows arbitrary wrapped Exception types. - Fix bug in `FieldSet.Builder.mergeFrom` - Flush CodedOutputStream also flushes underlying OutputStream - When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’ - Add [@​CheckReturnValue](https://togithub.com/CheckReturnValue) to some protobuf types - Report original exceptions when parsing JSON - Add more info to [@​deprecated](https://togithub.com/deprecated) javadoc for set/get/has methods - Fix initialization bug in doc comment line numbers - Fix comments for message set wire format. ##### Kotlin - Add test scope to kotlin-test for protobuf-kotlin-lite ([#​9518](https://togithub.com/protocolbuffers/protobuf/issues/9518)) - Add orNull extensions for optional message fields. - Add orNull extensions to all proto3 message fields. ##### Python - Dropped support for Python < 3.7 ([#​9480](https://togithub.com/protocolbuffers/protobuf/issues/9480)) - Protoc is now able to generate python stubs (.pyi) with --pyi_out - Pin multibuild scripts to get manylinux1 wheels back ([#​9216](https://togithub.com/protocolbuffers/protobuf/issues/9216)) - Fix type annotations of some Duration and Timestamp methods. - Repeated field containers are now generic in field types and could be used in type annotations. - Protobuf python generated codes are simplified. Descriptors and message classes' definitions are now dynamic created in internal/builder.py. Insertion Points for messages classes are discarded. - has_presence is added for FieldDescriptor in python - Loosen indexing type requirements to allow valid **index**() implementations rather than only PyLongObjects. - Fix the deepcopy bug caused by not copying message_listener. - Added python JSON parse recursion limit (default 100) - Path info is added for python JSON parse errors - Pure python repeated scalar fields will not able to pickle. Convert to list first. - Timestamp.ToDatetime() now accepts an optional tzinfo parameter. If specified, the function returns a timezone-aware datetime in the given time zone. If omitted or None, the function returns a timezone-naive UTC datetime (as previously). - Adds client_streaming and server_streaming fields to MethodDescriptor. - Add "ensure_ascii" parameter to json_format.MessageToJson. This allows smaller JSON serializations with UTF-8 or other non-ASCII encodings. - Added experimental support for directly assigning numpy scalars and array. - Improve the calculation of public_dependencies in DescriptorPool. - \[Breaking Change] Disallow setting fields to numpy singleton arrays or repeated fields to numpy multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment. ##### Compiler - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Rework allocations to power-of-two byte sizes. - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Make TaggedPtr Set...() calls explicitly spell out the content type. - Check for parsing error before verifying UTF8. - Enforce a maximum message nesting limit of 32 in the descriptor builder to guard against stack overflows - Fixed bugs in operators for RepeatedPtrIterator - Assert a maximum map alignment for allocated values - Fix proto1 group extension protodb parsing error - Do not log/report the same descriptor symbol multiple times if it contains more than one invalid character. - Add UnknownFieldSet::SerializeToString and SerializeToCodedStream. - Remove explicit default pointers and deprecated API from protocol compiler ##### Arenas - Change Repeated\*Field to reuse memory when using arenas. - Implements pbarenaz for profiling proto arenas - Introduce CreateString() and CreateArenaString() for cleaner semantics - Fix unreferenced parameter for MSVC builds - Add UnsafeSetAllocated to be used for one-of string fields. - Make Arena::AllocateAligned() a public function. - Determine if ArenaDtor related code generation is necessary in one place. - Implement on demand register ArenaDtor for InlinedStringField ##### C++ - Enable testing via CTest ([#​8737](https://togithub.com/protocolbuffers/protobuf/issues/8737)) - Add option to use external GTest in CMake ([#​8736](https://togithub.com/protocolbuffers/protobuf/issues/8736)) - CMake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ([#​8635](https://togithub.com/protocolbuffers/protobuf/issues/8635)) ([#​9529](https://togithub.com/protocolbuffers/protobuf/issues/9529)) - Add cmake option `protobuf_INSTALL` to not install files ([#​7123](https://togithub.com/protocolbuffers/protobuf/issues/7123)) - CMake: Allow custom plugin options e.g. to generate mocks ([#​9105](https://togithub.com/protocolbuffers/protobuf/issues/9105)) - CMake: Use linker version scripts ([#​9545](https://togithub.com/protocolbuffers/protobuf/issues/9545)) - Manually \*struct Cord fields to work better with arenas. - Manually destruct map fields. - Generate narrower code - Fix [https://github.com/protocolbuffers/protobuf/issues/9378](https://togithub.com/protocolbuffers/protobuf/issues/9378) by removing shadowed *cached_size* field - Remove GetPointer() and explicit nullptr defaults. - Add proto_h flag for speeding up large builds - Add missing overload for reference wrapped fields. - Add MergedDescriptorDatabase::FindAllFileNames() - RepeatedField now defines an iterator type instead of using a pointer. - Remove obsolete macros GOOGLE_PROTOBUF_HAS_ONEOF and GOOGLE_PROTOBUF_HAS_ARENAS. ##### PHP - Fix: add missing reserved classnames ([#​9458](https://togithub.com/protocolbuffers/protobuf/issues/9458)) - PHP 8.1 compatibility ([#​9370](https://togithub.com/protocolbuffers/protobuf/issues/9370)) ##### C\# - Fix trim warnings ([#​9182](https://togithub.com/protocolbuffers/protobuf/issues/9182)) - Fixes NullReferenceException when accessing FieldDescriptor.IsPacked ([#​9430](https://togithub.com/protocolbuffers/protobuf/issues/9430)) - Add ToProto() method to all descriptor classes ([#​9426](https://togithub.com/protocolbuffers/protobuf/issues/9426)) - Add an option to preserve proto names in JsonFormatter ([#​6307](https://togithub.com/protocolbuffers/protobuf/issues/6307)) ##### Objective-C - Add prefix_to_proto_package_mappings_path option. ([#​9498](https://togithub.com/protocolbuffers/protobuf/issues/9498)) - Rename `proto_package_to_prefix_mappings_path` to `package_to_prefix_mappings_path`. ([#​9552](https://togithub.com/protocolbuffers/protobuf/issues/9552)) - Add a generation option to control use of forward declarations in headers. ([#​9568](https://togithub.com/protocolbuffers/protobuf/issues/9568))
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 59d62947dd..788f982634 100644 --- a/pom.xml +++ b/pom.xml @@ -160,7 +160,7 @@ 1.41.7 22.0.0.2 1.45.1 - 3.19.4 + 3.20.1 0.31.0 1.3.2 31.1-jre From e809baa69672d3eca2dc348f55615dc072a8fbe3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 21:34:18 +0200 Subject: [PATCH 08/23] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 (#814) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.3.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-iamcomparev132v133-2022-04-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.2...v1.3.3)
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 788f982634..af83867783 100644 --- a/pom.xml +++ b/pom.xml @@ -154,7 +154,7 @@ 2.16.0 2.1.5 2.8.3 - 1.3.2 + 1.3.3 1.6.0 1.34.0 1.41.7 From 56d9ebfb6388a21517c1556c12d70e1a8c574779 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Apr 2022 22:14:41 +0200 Subject: [PATCH 09/23] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.4.0 (#818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0) ##### Features - **java:** remove native image module ([#​471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c)) ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19) ##### Bug Fixes - **java:** remove protobuf feature from native profile ([#​461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf)) ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28) ##### Dependencies - revert google-java-format to 1.7 ([#​453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725)) ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5)) - update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#​426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- google-cloud-core-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index 0e59ce53bd..935d1b6a7e 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 Google Cloud Core diff --git a/pom.xml b/pom.xml index af83867783..f3d8050d59 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 From a53ef6d7ba05eeba82998378455f0aea58f24381 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 3 May 2022 17:28:31 -0400 Subject: [PATCH 10/23] feat(java): remove native-image-support module (#820) --- native-image-support/pom.xml | 37 ---- .../features/NativeImageUtils.java | 174 ------------------ .../clients/CloudFunctionsFeature.java | 146 --------------- .../features/clients/CloudSqlFeature.java | 90 --------- .../features/clients/SpannerFeature.java | 116 ------------ .../google-cloud-core/native-image.properties | 2 - pom.xml | 17 -- 7 files changed, 582 deletions(-) delete mode 100644 native-image-support/pom.xml delete mode 100644 native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java delete mode 100644 native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java delete mode 100644 native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java delete mode 100644 native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java delete mode 100644 native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties diff --git a/native-image-support/pom.xml b/native-image-support/pom.xml deleted file mode 100644 index 02ec08878d..0000000000 --- a/native-image-support/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - Google Cloud Native Image Support - com.google.cloud - native-image-support - 0.13.2-SNAPSHOT - jar - - - google-cloud-core-parent - com.google.cloud - 2.6.2-SNAPSHOT - - - - Core gRPC module for the google-cloud. - - - - - - org.graalvm.nativeimage - svm - provided - - - - org.graalvm.sdk - graal-sdk - provided - - - \ No newline at end of file diff --git a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java deleted file mode 100644 index 8b19f4b84f..0000000000 --- a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.nativeimage.features; - -import java.io.IOException; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; -import java.net.JarURLConnection; -import java.net.URL; -import java.net.URLConnection; -import java.util.ArrayList; -import java.util.Enumeration; -import java.util.List; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; -import java.util.logging.Logger; -import org.graalvm.nativeimage.hosted.Feature.FeatureAccess; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** Internal class offering helper methods for registering methods/classes for reflection. */ -public class NativeImageUtils { - - private static final Logger LOGGER = Logger.getLogger(NativeImageUtils.class.getName()); - - /** Returns the method of a class or fails if it is not present. */ - public static Method getMethodOrFail(Class clazz, String methodName, Class... params) { - try { - return clazz.getDeclaredMethod(methodName, params); - } catch (NoSuchMethodException e) { - throw new RuntimeException( - "Failed to find method " + methodName + " for class " + clazz.getName(), e); - } - } - - /** Registers a class for reflective construction via its default constructor. */ - public static void registerForReflectiveInstantiation(FeatureAccess access, String className) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.registerForReflectiveInstantiation(clazz); - } else { - LOGGER.warning( - "Failed to find " + className + " on the classpath for reflective instantiation."); - } - } - - /** Registers all constructors of a class for reflection. */ - public static void registerConstructorsForReflection(FeatureAccess access, String name) { - Class clazz = access.findClassByName(name); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - } else { - LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); - } - } - - /** Registers an entire class for reflection use. */ - public static void registerClassForReflection(FeatureAccess access, String name) { - Class clazz = access.findClassByName(name); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - RuntimeReflection.register(clazz.getDeclaredFields()); - RuntimeReflection.register(clazz.getDeclaredMethods()); - } else { - LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); - } - } - - /** - * Registers the transitive class hierarchy of the provided {@code className} for reflection. - * - *

The transitive class hierarchy contains the class itself and its transitive set of - * *non-private* nested subclasses. - */ - public static void registerClassHierarchyForReflection(FeatureAccess access, String className) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - registerClassForReflection(access, className); - for (Class nestedClass : clazz.getDeclaredClasses()) { - if (!Modifier.isPrivate(nestedClass.getModifiers())) { - registerClassHierarchyForReflection(access, nestedClass.getName()); - } - } - } else { - LOGGER.warning("Failed to find " + className + " on the classpath for reflection."); - } - } - - /** Registers a class for unsafe reflective field access. */ - public static void registerForUnsafeFieldAccess( - FeatureAccess access, String className, String... fields) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - RuntimeReflection.register(clazz); - for (String fieldName : fields) { - try { - RuntimeReflection.register(clazz.getDeclaredField(fieldName)); - } catch (NoSuchFieldException ex) { - LOGGER.warning("Failed to register field " + fieldName + " for class " + className); - LOGGER.warning(ex.getMessage()); - } - } - } else { - LOGGER.warning( - "Failed to find " - + className - + " on the classpath for unsafe fields access registration."); - } - } - - /** Registers all the classes under the specified package for reflection. */ - public static void registerPackageForReflection(FeatureAccess access, String packageName) { - ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); - - try { - String path = packageName.replace('.', '/'); - - Enumeration resources = classLoader.getResources(path); - while (resources.hasMoreElements()) { - URL url = resources.nextElement(); - - URLConnection connection = url.openConnection(); - if (connection instanceof JarURLConnection) { - List classes = findClassesInJar((JarURLConnection) connection, packageName); - for (String className : classes) { - registerClassHierarchyForReflection(access, className); - } - } - } - } catch (IOException e) { - throw new RuntimeException("Failed to load classes under package name.", e); - } - } - - private static List findClassesInJar(JarURLConnection urlConnection, String packageName) - throws IOException { - - List result = new ArrayList<>(); - - final JarFile jarFile = urlConnection.getJarFile(); - final Enumeration entries = jarFile.entries(); - - while (entries.hasMoreElements()) { - JarEntry entry = entries.nextElement(); - String entryName = entry.getName(); - - if (entryName.endsWith(".class")) { - String javaClassName = entryName.replace(".class", "").replace('/', '.'); - - if (javaClassName.startsWith(packageName)) { - result.add(javaClassName); - } - } - } - - return result; - } -} diff --git a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java deleted file mode 100644 index 7b7eaaebaf..0000000000 --- a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.nativeimage.features.clients; - -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassHierarchyForReflection; - -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import java.io.IOException; -import java.lang.reflect.Modifier; -import java.lang.reflect.ParameterizedType; -import java.lang.reflect.Type; -import java.nio.file.Path; -import java.util.Arrays; -import java.util.Enumeration; -import java.util.List; -import java.util.function.Consumer; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; -import java.util.stream.Collectors; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** A feature which registers reflective usages of the Cloud Functions library. */ -@AutomaticFeature -final class CloudFunctionsFeature implements Feature { - - private static final String FUNCTION_INVOKER_CLASS = - "com.google.cloud.functions.invoker.runner.Invoker"; - - private static final List FUNCTIONS_CLASSES = - Arrays.asList( - "com.google.cloud.functions.HttpFunction", - "com.google.cloud.functions.RawBackgroundFunction", - "com.google.cloud.functions.BackgroundFunction"); - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - Class invokerClass = access.findClassByName(FUNCTION_INVOKER_CLASS); - if (invokerClass != null) { - // JCommander libraries - registerClassForReflection(access, "com.beust.jcommander.converters.StringConverter"); - registerClassForReflection(access, "com.beust.jcommander.validators.NoValidator"); - registerClassForReflection(access, "com.beust.jcommander.validators.NoValueValidator"); - - // Jetty libraries - registerClassForReflection(access, "org.eclipse.jetty.http.HttpTokens"); - registerClassForReflection(access, "org.eclipse.jetty.util.TypeUtil"); - - // Cloud Functions core - registerClassForReflection( - access, "com.google.cloud.functions.invoker.runner.Invoker$Options"); - - // Register Jetty Resources. - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources( - "\\QMETA-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/encoding.properties\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/mime.properties\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/version/build.properties\\E"); - resourcesRegistry.addResourceBundles("javax.servlet.LocalStrings"); - resourcesRegistry.addResourceBundles("javax.servlet.http.LocalStrings"); - - // Register user-implemented Function classes - List> functionClasses = - FUNCTIONS_CLASSES.stream() - .map(name -> access.findClassByName(name)) - .collect(Collectors.toList()); - - scanJarClasspath( - access, - clazz -> { - boolean isFunctionSubtype = - functionClasses.stream() - .anyMatch( - function -> - function.isAssignableFrom(clazz) - && !Modifier.isAbstract(clazz.getModifiers())); - - if (isFunctionSubtype) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - RuntimeReflection.register(clazz.getDeclaredMethods()); - - // This part is to register the parameterized class of BackgroundFunctions - // for reflection; i.e. register type T in BackgroundFunction - for (Type type : clazz.getGenericInterfaces()) { - if (type instanceof ParameterizedType) { - ParameterizedType paramType = (ParameterizedType) type; - for (Type argument : paramType.getActualTypeArguments()) { - registerClassHierarchyForReflection(access, argument.getTypeName()); - } - } - } - } - }); - } - } - - /** - * Scan the JAR classpath for classes. The {@code classProcessorFunction} is run once for each - * class in the classpath. - */ - private static void scanJarClasspath( - FeatureAccess access, Consumer> classProcessorCallback) { - - List classPath = access.getApplicationClassPath(); - try { - for (Path path : classPath) { - JarFile jarFile = new JarFile(path.toFile()); - Enumeration entries = jarFile.entries(); - - while (entries.hasMoreElements()) { - JarEntry jarEntry = entries.nextElement(); - String fileName = jarEntry.getName(); - if (fileName.endsWith(".class")) { - String className = fileName.substring(0, fileName.length() - 6).replaceAll("/", "."); - - Class clazz = access.findClassByName(className); - if (clazz != null) { - classProcessorCallback.accept(clazz); - } - } - } - } - } catch (IOException e) { - throw new RuntimeException("Failed to read classpath: ", e); - } - } -} diff --git a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java deleted file mode 100644 index 48b4c1e4ef..0000000000 --- a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.nativeimage.features.clients; - -import com.google.cloud.nativeimage.features.NativeImageUtils; -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.hosted.RuntimeClassInitialization; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** Registers GraalVM configuration for the Cloud SQL libraries for MySQL and Postgres. */ -@AutomaticFeature -final class CloudSqlFeature implements Feature { - - private static final String CLOUD_SQL_SOCKET_CLASS = - "com.google.cloud.sql.core.CoreSocketFactory"; - - private static final String POSTGRES_SOCKET_CLASS = "com.google.cloud.sql.postgres.SocketFactory"; - - private static final String MYSQL_SOCKET_CLASS = "com.google.cloud.sql.mysql.SocketFactory"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - if (access.findClassByName(CLOUD_SQL_SOCKET_CLASS) == null) { - return; - } - - // The Core Cloud SQL Socket - NativeImageUtils.registerClassForReflection(access, CLOUD_SQL_SOCKET_CLASS); - - // Resources for Cloud SQL - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources("\\Qcom.google.cloud.sql/project.properties\\E"); - resourcesRegistry.addResources("\\QMETA-INF/services/java.sql.Driver\\E"); - - // Register Hikari configs if used with Cloud SQL. - if (access.findClassByName("com.zaxxer.hikari.HikariConfig") != null) { - NativeImageUtils.registerClassForReflection(access, "com.zaxxer.hikari.HikariConfig"); - - RuntimeReflection.register( - access.findClassByName("[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;")); - - RuntimeReflection.register(access.findClassByName("[Ljava.sql.Statement;")); - } - - // Register PostgreSQL driver config. - if (access.findClassByName(POSTGRES_SOCKET_CLASS) != null) { - NativeImageUtils.registerClassForReflection( - access, "com.google.cloud.sql.postgres.SocketFactory"); - NativeImageUtils.registerClassForReflection(access, "org.postgresql.PGProperty"); - } - - // Register MySQL driver config. - if (access.findClassByName(MYSQL_SOCKET_CLASS) != null) { - NativeImageUtils.registerClassForReflection(access, MYSQL_SOCKET_CLASS); - - NativeImageUtils.registerConstructorsForReflection( - access, "com.mysql.cj.conf.url.SingleConnectionUrl"); - - NativeImageUtils.registerConstructorsForReflection(access, "com.mysql.cj.log.StandardLogger"); - - access.registerSubtypeReachabilityHandler( - (duringAccess, exceptionClass) -> - NativeImageUtils.registerClassForReflection(duringAccess, exceptionClass.getName()), - access.findClassByName("com.mysql.cj.exceptions.CJException")); - - // JDBC classes create socket connections which must be initialized at run time. - RuntimeClassInitialization.initializeAtRunTime("com.mysql.cj.jdbc"); - - // Additional MySQL resources. - resourcesRegistry.addResourceBundles("com.mysql.cj.LocalizedErrorMessages"); - } - } -} diff --git a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java deleted file mode 100644 index 956f368dac..0000000000 --- a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.nativeimage.features.clients; - -import com.google.cloud.nativeimage.features.NativeImageUtils; -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.impl.ConfigurationCondition; - -/** Registers Spanner library classes for reflection. */ -@AutomaticFeature -final class SpannerFeature implements Feature { - - private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; - private static final String SPANNER_TEST_CLASS = "com.google.cloud.spanner.GceTestEnvConfig"; - private static final String MOCK_CLASS = "com.google.cloud.spanner.MockDatabaseAdminServiceImpl"; - private static final String CLIENT_SIDE_IMPL_CLASS = - "com.google.cloud.spanner.connection.ClientSideStatementImpl"; - private static final String CLIENT_SIDE_VALUE_CONVERTER = - "com.google.cloud.spanner.connection.ClientSideStatementValueConverters"; - private static final String CONNECTION_IMPL = - "com.google.cloud.spanner.connection.ConnectionImpl"; - private static final String CLIENT_SIDE_STATEMENTS = - "com.google.cloud.spanner.connection.ClientSideStatements"; - private static final String CONNECTION_STATEMENT_EXECUTOR = - "com.google.cloud.spanner.connection.ConnectionStatementExecutor"; - private static final String CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR = - "com.google.cloud.spanner.connection.ClientSideStatementNoParamExecutor"; - private static final String CLIENT_SIDE_STATEMENT_SET_EXECUTOR = - "com.google.cloud.spanner.connection.ClientSideStatementSetExecutor"; - private static final String ABSTRACT_STATEMENT_PARSER = - "com.google.cloud.spanner.connection.AbstractStatementParser"; - private static final String STATEMENT_PARSER = - "com.google.cloud.spanner.connection.SpannerStatementParser"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - registerSpannerTestClasses(access); - if (access.findClassByName(CLIENT_SIDE_IMPL_CLASS) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_IMPL_CLASS); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENT_SET_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_SET_EXECUTOR); - } - if (access.findClassByName(CLIENT_SIDE_VALUE_CONVERTER) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_VALUE_CONVERTER); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENTS) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENTS); - } - if (access.findClassByName(CONNECTION_STATEMENT_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CONNECTION_STATEMENT_EXECUTOR); - } - if (access.findClassByName(CONNECTION_IMPL) != null) { - NativeImageUtils.registerClassForReflection(access, CONNECTION_IMPL); - } - if (access.findClassByName(ABSTRACT_STATEMENT_PARSER) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, ABSTRACT_STATEMENT_PARSER); - } - if (access.findClassByName(STATEMENT_PARSER) != null) { - NativeImageUtils.registerConstructorsForReflection(access, STATEMENT_PARSER); - } - - Class spannerClass = access.findClassByName(SPANNER_CLASS); - if (spannerClass != null) { - NativeImageUtils.registerClassHierarchyForReflection( - access, "com.google.spanner.admin.database.v1.Database"); - NativeImageUtils.registerClassHierarchyForReflection( - access, "com.google.spanner.admin.instance.v1.Instance"); - NativeImageUtils.registerClassForReflection( - access, "com.google.spanner.admin.database.v1.RestoreInfo"); - - // Resources - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources( - ConfigurationCondition.alwaysTrue(), - "\\Qcom/google/cloud/spanner/connection/ClientSideStatements.json\\E"); - resourcesRegistry.addResources( - "\\Qcom/google/cloud/spanner/spi/v1/grpc-gcp-apiconfig.json\\E"); - resourcesRegistry.addResources( - ConfigurationCondition.alwaysTrue(), - "\\Qcom/google/cloud/spanner/connection/ITSqlScriptTest_TestQueryOptions.sql\\E"); - } - } - - private void registerSpannerTestClasses(BeforeAnalysisAccess access) { - Class spannerTestClass = access.findClassByName(SPANNER_TEST_CLASS); - if (spannerTestClass != null) { - NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); - } - Class mockClass = access.findClassByName(MOCK_CLASS); - if (mockClass != null) { - NativeImageUtils.registerClassForReflection( - access, "com.google.cloud.spanner.MockDatabaseAdminServiceImpl$MockBackup"); - } - } -} diff --git a/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties deleted file mode 100644 index 5ce9338cff..0000000000 --- a/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ /dev/null @@ -1,2 +0,0 @@ -Args = --initialize-at-build-time=com.google.cloud.spanner.IntegrationTestEnv \ ---initialize-at-run-time=com.google.cloud.firestore.FirestoreImpl diff --git a/pom.xml b/pom.xml index f3d8050d59..6636e317a0 100644 --- a/pom.xml +++ b/pom.xml @@ -158,7 +158,6 @@ 1.6.0 1.34.0 1.41.7 - 22.0.0.2 1.45.1 3.20.1 0.31.0 @@ -284,21 +283,6 @@ ${gson.version} - - - org.graalvm.nativeimage - svm - ${graalvm.version} - provided - - - - org.graalvm.sdk - graal-sdk - ${graalvm.version} - provided - - com.google.truth @@ -338,7 +322,6 @@ google-cloud-core-http google-cloud-core-grpc google-cloud-core-bom - native-image-support From 16f3594b70fce27713b915deea84810d9f9ebb49 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 6 May 2022 00:28:15 +0200 Subject: [PATCH 11/23] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.3.0 (#817) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.2` -> `3.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/compatibility-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/confidence-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6636e317a0..b76f3ecfa5 100644 --- a/pom.xml +++ b/pom.xml @@ -329,7 +329,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.2 + 3.3.0 From 92e7efc4974911f7ce30021a280c9002a44dab47 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 6 May 2022 10:35:31 -0400 Subject: [PATCH 12/23] fix: remove native-image-support module from version.txt (#822) --- versions.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/versions.txt b/versions.txt index d2535df5a2..314c2cab62 100644 --- a/versions.txt +++ b/versions.txt @@ -2,4 +2,3 @@ # module:released-version:current-version google-cloud-core:2.6.1:2.6.2-SNAPSHOT -native-image-support:0.13.1:0.13.2-SNAPSHOT \ No newline at end of file From 997a34a15a59bb1818fff3d1fbce195a05d12da3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:30:27 +0200 Subject: [PATCH 13/23] deps: update dependency com.google.cloud:native-image-support to v0.14.0 (#824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:native-image-support](https://togithub.com/GoogleCloudPlatform/native-image-support-java) | `0.13.2-SNAPSHOT` -> `0.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/compatibility-slim/0.13.2-SNAPSHOT)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/confidence-slim/0.13.2-SNAPSHOT)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- google-cloud-core-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index 935d1b6a7e..9e38ed4fd7 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -78,7 +78,7 @@ com.google.cloud native-image-support - 0.13.2-SNAPSHOT + 0.14.0 From 03c9bfe4210a6c3995adf89be28b7c8aab402fb3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:32:15 +0200 Subject: [PATCH 14/23] deps: update dependency io.grpc:grpc-bom to v1.46.0 (#815) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.45.1` -> `1.46.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/compatibility-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/confidence-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

grpc/grpc-java ### [`v1.46.0`](https://togithub.com/grpc/grpc-java/releases/v1.46.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.45.1...v1.46.0) ##### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases - xds: Fix ring_hash reconnecting behavior. Previously a TRANSIENT_FAILURE subchannel would remain failed forever - xds: Fix ring_hash defeating priority’s failover connection timeout. [grpc/proposal#​296](https://togithub.com/grpc/proposal/issues/296) - binder: Work around an Android Intent bug for consistent AndroidComponentAndress hashCode() and equals() ([#​9061](https://togithub.com/grpc/grpc-java/issues/9061)) - binder: Fix deadlock when using process-local Binder ([#​8987](https://togithub.com/grpc/grpc-java/issues/8987)). Process-local binder has a different threading model than normal FLAG_ONEWAY, so this case is now detected and the FLAG_ONEWAY threading model is emulated - okhttp: Removed dead code in io.grpc.okhttp.internal.Util. This should have no impact except for static code analysis. This code was never used and was from the process of forking okhttp. It calculated things like MD5 which can trigger security scanners ([#​9071](https://togithub.com/grpc/grpc-java/issues/9071)) ##### Behavior Changes - java_grpc_library.bzl: Pass use_default_shell_env = True for protoc ([#​8984](https://togithub.com/grpc/grpc-java/issues/8984)). This allows using MinGW on Windows - xds: Unconditionally apply backoff on ADS and LDS stream recreation. Previously if a message had been received on the stream no backoff wait would be performed. This limits QPS to a buggy server to 1 QPS, instead of a closed loop - xds: Skip Routes within VirtualHosts whose RouteAction has no cluster_specifier. This probably means the control plane is using a cluster_specifier field unknown/unsupported by gRPC. The control plane can repeat the Route with a different cluster_specifier for compatibility with older clients - xds: Support `xds.config.resource-in-sotw` client capability. Resources wrapped in a `io.envoyproxy.envoy.service.discovery.v3.Resource` message are now supported ([#​8997](https://togithub.com/grpc/grpc-java/issues/8997)) ##### New Features - gcp-observability: A new experimental module for improving visibility into gRPC workloads. Initially supports logging RPCs to Google Cloud Logging - grpclb: Support setting initial fallback timeout by service config ([#​8980](https://togithub.com/grpc/grpc-java/issues/8980)) ##### Dependencies - PerfMark bumped to 0.25.0 ([#​8948](https://togithub.com/grpc/grpc-java/issues/8948)) - okhttp: the okhttp dependency is now compile only ([#​8971](https://togithub.com/grpc/grpc-java/issues/8971)). Okhttp’s internal HTTP/2 implementation was forked inside grpc-okhttp a long time ago, but there had been a few stray internal classes that had not been forked but should have been. That has now been fixed in preparation for OkHttp 3/4 support. Compile-only may cause a runtime failure for code using reflection on OkHttpChannelBuilder; add a dependency on okhttp 2.7.4 to resolve - bom: Removed protoc-gen-grpc-java from the BOM, as the classifier was confusing and it provided no value ([#​9020](https://togithub.com/grpc/grpc-java/issues/9020)) ##### Acknowledgements [@​jesseschalken](https://togithub.com/jesseschalken) [@​kluever](https://togithub.com/kluever) [@​beatrausch](https://togithub.com/beatrausch)
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b76f3ecfa5..ba4d593105 100644 --- a/pom.xml +++ b/pom.xml @@ -158,7 +158,7 @@ 1.6.0 1.34.0 1.41.7 - 1.45.1 + 1.46.0 3.20.1 0.31.0 1.3.2 From 1800d3aa3ff7315947681b648f822f2cf9656a3b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:34:18 +0200 Subject: [PATCH 15/23] deps: update opencensus.version to v0.31.1 (#819) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.opencensus:opencensus-contrib-http-util](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-api](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
census-instrumentation/opencensus-java ### [`v0.31.1`](https://togithub.com/census-instrumentation/opencensus-java/releases/v0.31.1) [Compare Source](https://togithub.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1) ##### What's Changed - \[v0.31.x] Fix retry stat measures to match those in grpc-java exactly ([#​2097](https://togithub.com/census-instrumentation/opencensus-java/issues/2097)) by [@​mackenziestarr](https://togithub.com/mackenziestarr) in [https://github.com/census-instrumentation/opencensus-java/pull/2102](https://togithub.com/census-instrumentation/opencensus-java/pull/2102) **Full Changelog**: https://github.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ba4d593105..87f6493dba 100644 --- a/pom.xml +++ b/pom.xml @@ -160,7 +160,7 @@ 1.41.7 1.46.0 3.20.1 - 0.31.0 + 0.31.1 1.3.2 31.1-jre 4.13.2 From c7e3d6ef437d9f85dab450b54d63f7218b89788b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:44:18 +0200 Subject: [PATCH 16/23] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.8 (#821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.7` -> `1.41.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/compatibility-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/confidence-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-http-java-client ### [`v1.41.8`](https://togithub.com/googleapis/google-http-java-client/releases/v1.41.8) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) ##### [1.41.8](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) (2022-04-29) ##### Dependencies - downgrade appengine to 1.9.X ([#​1645](https://togithub.com/googleapis/google-http-java-client/issues/1645)) ([da9dd8b](https://togithub.com/googleapis/google-http-java-client/commit/da9dd8bca97cc10712ce24054d2edd3d5ac2e571))
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 87f6493dba..45a501bbef 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ 1.3.3 1.6.0 1.34.0 - 1.41.7 + 1.41.8 1.46.0 3.20.1 0.31.1 From 71105c64918d6444e321fa3de5fc402e577ebc7d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 23:08:19 +0200 Subject: [PATCH 17/23] deps: update dependency com.google.api-client:google-api-client-bom to v1.34.1 (#823) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.34.0` -> `1.34.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/compatibility-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/confidence-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-api-java-client ### [`v1.34.1`](https://togithub.com/googleapis/google-api-java-client/releases/v1.34.1) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) ##### [1.34.1](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) (2022-05-06) ##### Dependencies - downgrade appengine to 1.9.X ([#​2053](https://togithub.com/googleapis/google-api-java-client/issues/2053)) ([8d9a863](https://togithub.com/googleapis/google-api-java-client/commit/8d9a863033672bb2a0b2d826e0ba6025f437cf96)) - google-http-client 1.41.8 ([#​2056](https://togithub.com/googleapis/google-api-java-client/issues/2056)) ([d1e84ac](https://togithub.com/googleapis/google-api-java-client/commit/d1e84acf81141159283d7d33a1cd8221b3aac4fd))
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 45a501bbef..02765c1939 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ 2.8.3 1.3.3 1.6.0 - 1.34.0 + 1.34.1 1.41.8 1.46.0 3.20.1 From c90188e9a94ae71d71105d908173f1bd7e77c1cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:17:56 +0200 Subject: [PATCH 18/23] deps: update dependency com.google.api:gax-bom to v2.17.0 (#826) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 02765c1939..22a2bc4e07 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.16.0 + 2.17.0 2.1.5 2.8.3 1.3.3 From 5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:20:20 +0200 Subject: [PATCH 19/23] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 (#825) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 22a2bc4e07..b2a008e482 100644 --- a/pom.xml +++ b/pom.xml @@ -154,7 +154,7 @@ 2.17.0 2.1.5 2.8.3 - 1.3.3 + 1.3.4 1.6.0 1.34.1 1.41.8 From 2abca2c135ba2337d546d5c97bcdd5901e91301a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 17:23:36 +0200 Subject: [PATCH 20/23] deps: update dependency com.google.auth:google-auth-library-bom to v1.7.0 (#828) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b2a008e482..ea06745611 100644 --- a/pom.xml +++ b/pom.xml @@ -155,7 +155,7 @@ 2.1.5 2.8.3 1.3.4 - 1.6.0 + 1.7.0 1.34.1 1.41.8 1.46.0 From 05a02d6b16cb06b9f1dea0814912e5a32913fca8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 21:21:11 +0200 Subject: [PATCH 21/23] deps: update dependency com.google.api:api-common to v2.2.0 (#827) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ea06745611..82d69af81c 100644 --- a/pom.xml +++ b/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.17.0 - 2.1.5 + 2.2.0 2.8.3 1.3.4 1.7.0 From 5537e7f80d5db94038b24a393e310120fab62e8c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 21:26:15 +0200 Subject: [PATCH 22/23] deps: update dependency com.google.api:gax-bom to v2.18.0 (#829) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.17.0` -> `2.18.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/compatibility-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/confidence-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/gax-java ### [`v2.18.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2180-httpsgithubcomgoogleapisgax-javacomparev2170v2180-2022-05-18) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.17.0...v2.18.0) ##### Features - \[REGAPIC] Add support for additional bindings ([#​1680](https://togithub.com/googleapis/gax-java/issues/1680)) ([59b3699](https://togithub.com/googleapis/gax-java/commit/59b3699b6acbc98c55dc043bf8665b457a0615a9)) - upgrade graal-sdk to 22.1.0 ([#​1683](https://togithub.com/googleapis/gax-java/issues/1683)) ([46f899d](https://togithub.com/googleapis/gax-java/commit/46f899de06e60a792f5a6c1dc617673f0f180c00)) ##### Bug Fixes - **java:** remove conflicting reflection configuration to address UnsupportedFeatureException with GraalVM 22.1.0 ([#​1682](https://togithub.com/googleapis/gax-java/issues/1682)) ([97c6c8b](https://togithub.com/googleapis/gax-java/commit/97c6c8bfa0d5397e30d3699e92f823e09ee283e6)) - remove svm dependency ([#​1679](https://togithub.com/googleapis/gax-java/issues/1679)) ([c1b88e3](https://togithub.com/googleapis/gax-java/commit/c1b88e3788ab866bcc1ba3db94c2998198a0b35e)) ##### Dependencies - update dependency com.google.api:api-common to 2.2.0 ([#​1685](https://togithub.com/googleapis/gax-java/issues/1685)) ([a5a316b](https://togithub.com/googleapis/gax-java/commit/a5a316bde322733eb5a80093206eb12b36945580))
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 82d69af81c..de67c1bcfc 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.17.0 + 2.18.0 2.2.0 2.8.3 1.3.4 From 5b446f3459266901e021f0a693471dd53c7b5694 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 May 2022 19:44:15 +0000 Subject: [PATCH 23/23] chore(main): release 2.7.0 (#809) :robot: I have created a release *beep* *boop* --- ## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) ### Features * **java:** remove native-image-support module ([#820](https://github.com/googleapis/java-core/issues/820)) ([a53ef6d](https://github.com/googleapis/java-core/commit/a53ef6d7ba05eeba82998378455f0aea58f24381)) * next release from main branch is 2.7.0 ([#807](https://github.com/googleapis/java-core/issues/807)) ([5a2c608](https://github.com/googleapis/java-core/commit/5a2c608e375d15ec83ca71232627bce1f167e750)) ### Bug Fixes * remove native-image-support module from version.txt ([#822](https://github.com/googleapis/java-core/issues/822)) ([92e7efc](https://github.com/googleapis/java-core/commit/92e7efc4974911f7ce30021a280c9002a44dab47)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#823](https://github.com/googleapis/java-core/issues/823)) ([71105c6](https://github.com/googleapis/java-core/commit/71105c64918d6444e321fa3de5fc402e577ebc7d)) * update dependency com.google.api:api-common to v2.2.0 ([#827](https://github.com/googleapis/java-core/issues/827)) ([05a02d6](https://github.com/googleapis/java-core/commit/05a02d6b16cb06b9f1dea0814912e5a32913fca8)) * update dependency com.google.api:gax-bom to v2.17.0 ([#826](https://github.com/googleapis/java-core/issues/826)) ([c90188e](https://github.com/googleapis/java-core/commit/c90188e9a94ae71d71105d908173f1bd7e77c1cb)) * update dependency com.google.api:gax-bom to v2.18.0 ([#829](https://github.com/googleapis/java-core/issues/829)) ([5537e7f](https://github.com/googleapis/java-core/commit/5537e7f80d5db94038b24a393e310120fab62e8c)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#805](https://github.com/googleapis/java-core/issues/805)) ([493ac03](https://github.com/googleapis/java-core/commit/493ac038d3ca9f603cd47969fde0da68a1f9bfd0)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#814](https://github.com/googleapis/java-core/issues/814)) ([e809baa](https://github.com/googleapis/java-core/commit/e809baa69672d3eca2dc348f55615dc072a8fbe3)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#825](https://github.com/googleapis/java-core/issues/825)) ([5ce12ee](https://github.com/googleapis/java-core/commit/5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c)) * update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#828](https://github.com/googleapis/java-core/issues/828)) ([2abca2c](https://github.com/googleapis/java-core/commit/2abca2c135ba2337d546d5c97bcdd5901e91301a)) * update dependency com.google.cloud:native-image-support to v0.14.0 ([#824](https://github.com/googleapis/java-core/issues/824)) ([997a34a](https://github.com/googleapis/java-core/commit/997a34a15a59bb1818fff3d1fbce195a05d12da3)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#806](https://github.com/googleapis/java-core/issues/806)) ([9fc5811](https://github.com/googleapis/java-core/commit/9fc5811eae52288acd9fb0b967e5737848fe7c5e)) * update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#821](https://github.com/googleapis/java-core/issues/821)) ([c7e3d6e](https://github.com/googleapis/java-core/commit/c7e3d6ef437d9f85dab450b54d63f7218b89788b)) * update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#813](https://github.com/googleapis/java-core/issues/813)) ([a9c8c92](https://github.com/googleapis/java-core/commit/a9c8c92086c0266e14f86a957944c0cc4ab26ee6)) * update dependency io.grpc:grpc-bom to v1.46.0 ([#815](https://github.com/googleapis/java-core/issues/815)) ([03c9bfe](https://github.com/googleapis/java-core/commit/03c9bfe4210a6c3995adf89be28b7c8aab402fb3)) * update opencensus.version to v0.31.1 ([#819](https://github.com/googleapis/java-core/issues/819)) ([1800d3a](https://github.com/googleapis/java-core/commit/1800d3aa3ff7315947681b648f822f2cf9656a3b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ google-cloud-core-bom/pom.xml | 8 ++++---- google-cloud-core-grpc/pom.xml | 4 ++-- google-cloud-core-http/pom.xml | 4 ++-- google-cloud-core/pom.xml | 4 ++-- pom.xml | 2 +- versions.txt | 2 +- 7 files changed, 43 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d7871b9fb..df3f6c30cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) + + +### Features + +* **java:** remove native-image-support module ([#820](https://github.com/googleapis/java-core/issues/820)) ([a53ef6d](https://github.com/googleapis/java-core/commit/a53ef6d7ba05eeba82998378455f0aea58f24381)) +* next release from main branch is 2.7.0 ([#807](https://github.com/googleapis/java-core/issues/807)) ([5a2c608](https://github.com/googleapis/java-core/commit/5a2c608e375d15ec83ca71232627bce1f167e750)) + + +### Bug Fixes + +* remove native-image-support module from version.txt ([#822](https://github.com/googleapis/java-core/issues/822)) ([92e7efc](https://github.com/googleapis/java-core/commit/92e7efc4974911f7ce30021a280c9002a44dab47)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#823](https://github.com/googleapis/java-core/issues/823)) ([71105c6](https://github.com/googleapis/java-core/commit/71105c64918d6444e321fa3de5fc402e577ebc7d)) +* update dependency com.google.api:api-common to v2.2.0 ([#827](https://github.com/googleapis/java-core/issues/827)) ([05a02d6](https://github.com/googleapis/java-core/commit/05a02d6b16cb06b9f1dea0814912e5a32913fca8)) +* update dependency com.google.api:gax-bom to v2.17.0 ([#826](https://github.com/googleapis/java-core/issues/826)) ([c90188e](https://github.com/googleapis/java-core/commit/c90188e9a94ae71d71105d908173f1bd7e77c1cb)) +* update dependency com.google.api:gax-bom to v2.18.0 ([#829](https://github.com/googleapis/java-core/issues/829)) ([5537e7f](https://github.com/googleapis/java-core/commit/5537e7f80d5db94038b24a393e310120fab62e8c)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#805](https://github.com/googleapis/java-core/issues/805)) ([493ac03](https://github.com/googleapis/java-core/commit/493ac038d3ca9f603cd47969fde0da68a1f9bfd0)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#814](https://github.com/googleapis/java-core/issues/814)) ([e809baa](https://github.com/googleapis/java-core/commit/e809baa69672d3eca2dc348f55615dc072a8fbe3)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#825](https://github.com/googleapis/java-core/issues/825)) ([5ce12ee](https://github.com/googleapis/java-core/commit/5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#828](https://github.com/googleapis/java-core/issues/828)) ([2abca2c](https://github.com/googleapis/java-core/commit/2abca2c135ba2337d546d5c97bcdd5901e91301a)) +* update dependency com.google.cloud:native-image-support to v0.14.0 ([#824](https://github.com/googleapis/java-core/issues/824)) ([997a34a](https://github.com/googleapis/java-core/commit/997a34a15a59bb1818fff3d1fbce195a05d12da3)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#806](https://github.com/googleapis/java-core/issues/806)) ([9fc5811](https://github.com/googleapis/java-core/commit/9fc5811eae52288acd9fb0b967e5737848fe7c5e)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#821](https://github.com/googleapis/java-core/issues/821)) ([c7e3d6e](https://github.com/googleapis/java-core/commit/c7e3d6ef437d9f85dab450b54d63f7218b89788b)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#813](https://github.com/googleapis/java-core/issues/813)) ([a9c8c92](https://github.com/googleapis/java-core/commit/a9c8c92086c0266e14f86a957944c0cc4ab26ee6)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#815](https://github.com/googleapis/java-core/issues/815)) ([03c9bfe](https://github.com/googleapis/java-core/commit/03c9bfe4210a6c3995adf89be28b7c8aab402fb3)) +* update opencensus.version to v0.31.1 ([#819](https://github.com/googleapis/java-core/issues/819)) ([1800d3a](https://github.com/googleapis/java-core/commit/1800d3aa3ff7315947681b648f822f2cf9656a3b)) + ### [2.6.1](https://github.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index 9e38ed4fd7..9f907f9ead 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.2-SNAPSHOT + 2.7.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud google-cloud-core-grpc - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud google-cloud-core-http - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud diff --git a/google-cloud-core-grpc/pom.xml b/google-cloud-core-grpc/pom.xml index cb17f20534..31cb74ba13 100644 --- a/google-cloud-core-grpc/pom.xml +++ b/google-cloud-core-grpc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-grpc - 2.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.0 google-cloud-core-grpc diff --git a/google-cloud-core-http/pom.xml b/google-cloud-core-http/pom.xml index 9579a01a93..3df47c4c84 100644 --- a/google-cloud-core-http/pom.xml +++ b/google-cloud-core-http/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-http - 2.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.0 google-cloud-core-http diff --git a/google-cloud-core/pom.xml b/google-cloud-core/pom.xml index a595bad16b..e9c60d282f 100644 --- a/google-cloud-core/pom.xml +++ b/google-cloud-core/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core - 2.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.0 google-cloud-core diff --git a/pom.xml b/pom.xml index de67c1bcfc..b9192d22e9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.2-SNAPSHOT + 2.7.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/versions.txt b/versions.txt index 314c2cab62..6a17814c27 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.1:2.6.2-SNAPSHOT +google-cloud-core:2.7.0:2.7.0