Skip to content

Commit 97b3b6c

Browse files
authored
fix(deps): Update grpc-java monorepo to v1.70.0 (#319)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.grpc:grpc-inprocess](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.68.2` -> `1.70.0` | | [io.grpc:grpc-testing](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.68.2` -> `1.70.0` | | [io.grpc:grpc-services](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.68.2` -> `1.70.0` | | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.68.2` -> `1.70.0` | | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.68.2` -> `1.70.0` | --- ### Release Notes <details> <summary>grpc/grpc-java (io.grpc:grpc-inprocess)</summary> ### [`v1.70.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.70.0) ##### **Bug Fixes** - Re-enable animalsniffer, fixing most violations ([`8ea3629`](https://togithub.com/grpc/grpc-java/commit/8ea362937)). Violations would only have triggered on API level 23 and earlier, and the violations fixed here were highly unlikely to be triggered - api: Fix Android API level 23 and earlier compatibility for StatusRuntimeException without stacktrace ([#&#8203;11072](https://togithub.com/grpc/grpc-java/issues/11072)) ([`ebe2b48`](https://togithub.com/grpc/grpc-java/commit/ebe2b4867)). This fixes a regression introduced in 1.64.0. The regression should have caused failures on API level 23 and earlier when a StatusRuntimeException or StatusException was created. However, for unknown reasons tests on old devices didn’t notice issues - okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 ([#&#8203;11749](https://togithub.com/grpc/grpc-java/issues/11749)) ([`a0982ca`](https://togithub.com/grpc/grpc-java/commit/a0982ca0a)). Hostnames are considered trusted and CAs are required to use punycode for non-ASCII hostnames, so this is expected to provide defense-in-depth. See also the [related GoSecure blog post](https://gosecure.ai/blog/2020/10/27/weakness-in-java-tls-host-verification/) and the [AOSP fix](https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc) - okhttp: Fix for ipv6 link local with scope ([#&#8203;11725](https://togithub.com/grpc/grpc-java/issues/11725)) ([`65b32e6`](https://togithub.com/grpc/grpc-java/commit/65b32e60e)) - xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly ([`1cf1927`](https://togithub.com/grpc/grpc-java/commit/1cf1927d1)). This (along with [`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) fixes a nonce-handling regression introduced in 1.66.0 that could cause resources to appear to not exist until re-creating the ADS stream. Triggering the behavior required specific config changes. It is easiest to trigger when clusters use EDS and routes are changed from one cluster to another. The error “found 0 leaf (logical DNS or EDS) clusters for root cluster” might then be seen - xds: Remember nonces for unknown types ([`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) - xds: Unexpected types in the bootstrap’s server_features should be ignored ([`e8ff6da`](https://togithub.com/grpc/grpc-java/commit/e8ff6da2c)). They were previously required to be strings - xds: Remove xds authority label from metric registration ([#&#8203;11760](https://togithub.com/grpc/grpc-java/issues/11760)) ([`6516c73`](https://togithub.com/grpc/grpc-java/commit/6516c7387)). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0 - xds: Fixed unsupported unsigned 32 bits issue for circuit breaker ([#&#8203;11735](https://togithub.com/grpc/grpc-java/issues/11735)) ([`f8f6139`](https://togithub.com/grpc/grpc-java/commit/f8f613984)). This fixes clients treating large max_requests as “no requests” and failing all requests ##### **Improvements** - api: Introduce custom NameResolver.Args ([#&#8203;11669](https://togithub.com/grpc/grpc-java/issues/11669)) ([`0b2d440`](https://togithub.com/grpc/grpc-java/commit/0b2d44098)) - stub: Introduce new API: BlockingStubV2 which supports Bidi streaming, Client streaming, a cleaner Server streaming and Unary RPCs ([#&#8203;10318](https://togithub.com/grpc/grpc-java/issues/10318)) ([`ea8c31c`](https://togithub.com/grpc/grpc-java/commit/ea8c31c30)) - bazel: Remove workaround for DoNotCall fixed in Bazel 3.4 ([`805cad3`](https://togithub.com/grpc/grpc-java/commit/805cad378)) - binder: A standard API for pointing resolvers at a different Android User. ([#&#8203;11775](https://togithub.com/grpc/grpc-java/issues/11775)) ([`1126a8e`](https://togithub.com/grpc/grpc-java/commit/1126a8e30)) - xds: Fix XDS control plane client retry timer backoff duration when connection closes after results are received ([#&#8203;11766](https://togithub.com/grpc/grpc-java/issues/11766)) ([`ef7c2d5`](https://togithub.com/grpc/grpc-java/commit/ef7c2d59c)) - xds: Parsing xDS Cluster Metadata ([#&#8203;11741](https://togithub.com/grpc/grpc-java/issues/11741)) ([`1edc4d8`](https://togithub.com/grpc/grpc-java/commit/1edc4d84d)). Not used actively, but this adds validation. The validation is unlikely to fail but may reject invalid resources. - xds: Use "#server" as dataplane target value for xDS enabled gRPC servers ([#&#8203;11715](https://togithub.com/grpc/grpc-java/issues/11715)) ([`ebb43a6`](https://togithub.com/grpc/grpc-java/commit/ebb43a69e)). This only impacts the `grpc.target` label in `grpc.xds_client.*` metrics. Previously the empty string was used - rls: Reduce RLS debug channel logging ([`7f9c1f3`](https://togithub.com/grpc/grpc-java/commit/7f9c1f39f)). This only matters when debug logging is enabled ##### **Documentation** - examples: Simplify graceful shutdown in Hostname example ([`f1109e4`](https://togithub.com/grpc/grpc-java/commit/f1109e421)) - examples: Remove references to maven-central.storage-download.googleapis.com ([`c96e926`](https://togithub.com/grpc/grpc-java/commit/c96e926e6)) - examples: Updated the attachHeaders to newAttachHeadersInterceptor in HeaderClientInterceptor ([#&#8203;11759](https://togithub.com/grpc/grpc-java/issues/11759)) ([`5e8abc6`](https://togithub.com/grpc/grpc-java/commit/5e8abc677)) ##### **Dependencies** - Bazel 8 is released, so replace Bazel 6 testing with Bazel 7 ([`8a5f777`](https://togithub.com/grpc/grpc-java/commit/8a5f7776d)) ##### **Thanks to** - [@&#8203;panchenko](https://togithub.com/panchenko) - [@&#8203;benjaminp](https://togithub.com/benjaminp) - [@&#8203;ZachChuba](https://togithub.com/ZachChuba) - [@&#8203;vinodhabib](https://togithub.com/vinodhabib) ### [`v1.69.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.69.1) ##### Bug Fixes - okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 ([#&#8203;11749](https://togithub.com/grpc/grpc-java/issues/11749)) ([`a0982ca`](https://togithub.com/grpc/grpc-java/commit/a0982ca0a)). Hostnames are considered trusted and CAs are required to use punycode for non-ASCII hostnames, so this is expected to provide defense-in-depth. See also the [related GoSecure blog post](https://gosecure.ai/blog/2020/10/27/weakness-in-java-tls-host-verification/) and the [AOSP fix](https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc) - xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly ([`1cf1927`](https://togithub.com/grpc/grpc-java/commit/1cf1927d1)). This (along with [`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) fixes a nonce-handling regression introduced in 1.66.0 that could cause resources to appear to not exist until re-creating the ADS stream. Triggering the behavior required specific config changes. It is easiest to trigger when clusters use EDS and routes are changed from one cluster to another. The error “found 0 leaf (logical DNS or EDS) clusters for root cluster” might then be seen - xds: Remember nonces for unknown types ([`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) - xds: Unexpected types in the bootstrap’s server_features should be ignored ([`e8ff6da`](https://togithub.com/grpc/grpc-java/commit/e8ff6da2c)). They were previously required to be strings - xds: Fixed unsupported unsigned 32 bits issue for circuit breaker ([#&#8203;11735](https://togithub.com/grpc/grpc-java/issues/11735)) ([`f8f6139`](https://togithub.com/grpc/grpc-java/commit/f8f613984)). This fixes clients treating large max_requests as “no requests” and failing all requests - xds: Remove xds authority label from metric registration ([#&#8203;11760](https://togithub.com/grpc/grpc-java/issues/11760)) ([`6516c73`](https://togithub.com/grpc/grpc-java/commit/6516c7387)). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0 ### [`v1.69.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.69.0) **v1.69.0** New Features - api: Allow `LoadBalancer`s to specify an authority per-RPC.([#&#8203;11631](https://togithub.com/grpc/grpc-java/issues/11631)) ([`c167ead`](https://togithub.com/grpc/grpc-java/commit/c167ead85)) CallOptions.withAuthority() has higher precedence. - netty: Add soft Metadata size limit enforcement. ([#&#8203;11603](https://togithub.com/grpc/grpc-java/issues/11603)) ([`735b3f3`](https://togithub.com/grpc/grpc-java/commit/735b3f3fe)) The soft limit is a lower size limit that fails an increasing percentage of RPCs as the Metadata size approaches the upper limit. This can be used as an “early warning” that the Metadata size is growing too large - alts: support altsCallCredentials in `GoogleDefaultChannelCredentials` ([#&#8203;11634](https://togithub.com/grpc/grpc-java/issues/11634)) ([`ba8ab79`](https://togithub.com/grpc/grpc-java/commit/ba8ab796e)) - xds: Add grpc.xds_client metrics, as documented by [OpenTelemetry Metrics](https://grpc.io/docs/guides/opentelemetry-metrics/#xdsclient-instruments) ([#&#8203;11661](https://togithub.com/grpc/grpc-java/issues/11661)) ([`20d09ce`](https://togithub.com/grpc/grpc-java/commit/20d09cee5)). `grpc.xds.authority` is not yet available Bug Fixes - api: When forwarding from `Listener` onAddresses to `Listener2` continue to use onResult ([#&#8203;11666](https://togithub.com/grpc/grpc-java/issues/11666)) ([`dae078c`](https://togithub.com/grpc/grpc-java/commit/dae078c0a)). This fixes a 1.68.1 "IllegalStateException: Not called from the SynchronizationContext" regression ([#&#8203;11662](https://togithub.com/grpc/grpc-java/issues/11662)) that could be seen in certain custom NameResolvers - okhttp: If the frame handler thread is null do not schedule it on the executor ([`ef1fe87`](https://togithub.com/grpc/grpc-java/commit/ef1fe8737)). This fixes a 1.68.1 NullPointerException regression when a custom transportExecutor was provided to the channel and it did not have enough threads to run new tasks Improvements - api: Add `java.time.Duration` overloads to `CallOptions`, `AbstractStub` methods that take TimeUnit and a time value ([#&#8203;11562](https://togithub.com/grpc/grpc-java/issues/11562)) ([`766b923`](https://togithub.com/grpc/grpc-java/commit/766b92379)) - core: Make timestamp usage in Channelz use nanos from Java.time.Instant when available ([#&#8203;11604](https://togithub.com/grpc/grpc-java/issues/11604)) ([`9176b55`](https://togithub.com/grpc/grpc-java/commit/9176b5528)). This increases the timestamp precision from milliseconds - okhttp: Fix for ipv6 link local with scope ([#&#8203;11725](https://togithub.com/grpc/grpc-java/issues/11725)[) (e98e7445b)](https://togithub.com/grpc/grpc-java/commit/e98e7445be6209ed4300724d6c2769635ceef5e4) - binder: Let `AndroidComponentAddress` specify a target UserHandle ([#&#8203;11670](https://togithub.com/grpc/grpc-java/issues/11670)) ([`e58c998`](https://togithub.com/grpc/grpc-java/commit/e58c998a4)) - servlet: Deframe failures should be logged on the server as warnings ([#&#8203;11645](https://togithub.com/grpc/grpc-java/issues/11645)) ([`a5db67d`](https://togithub.com/grpc/grpc-java/commit/a5db67d0c)) - s2a: Rename the Bazel target s2av2\_credentials to s2a ([`29dd9ba`](https://togithub.com/grpc/grpc-java/commit/29dd9bad3)). The target s2a had been referenced by IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS but didn’t previously exist - services: Make channelz work with proto lite ([#&#8203;11685](https://togithub.com/grpc/grpc-java/issues/11685)) ([`b170334`](https://togithub.com/grpc/grpc-java/commit/b1703345f)). This compatibility is on the source level. There is not a pre-built binary on Maven Central that supports proto lite - services: Deprecate ProtoReflectionService ([#&#8203;11681](https://togithub.com/grpc/grpc-java/issues/11681)) ([`921f88a`](https://togithub.com/grpc/grpc-java/commit/921f88ae3)). The class implements the deprecated v1alpha of the reflection protocol. Prefer ProtoReflectionServiceV1, which implements the v1 version of the reflection protocol Dependencies - Upgrade proto-google-common-protos to 2.48.0 ([`1993e68`](https://togithub.com/grpc/grpc-java/commit/1993e68b0)) - Upgrade google-auth-library to 1.24.1 ([`1993e68`](https://togithub.com/grpc/grpc-java/commit/1993e68b0)) - Upgrade error_prone_annotations to 2.30.0 ([`1993e68`](https://togithub.com/grpc/grpc-java/commit/1993e68b0)) - Upgrade Guava to 33.3.1-android ([`1993e68`](https://togithub.com/grpc/grpc-java/commit/1993e68b0)) - Upgrade opentelemetry-api to 1.43.0 ([`1993e68`](https://togithub.com/grpc/grpc-java/commit/1993e68b0)) - xds: Remove Bazel dependency on xds v2 ([`664f1fc`](https://togithub.com/grpc/grpc-java/commit/664f1fcf8)). This had been done for the Maven Central binaries in 1.63.0, but had been missed for Bazel builds Documentation - binder: Update error codes doc for new "Safer Intent" rules. ([#&#8203;11639](https://togithub.com/grpc/grpc-java/issues/11639)) ([`fe350cf`](https://togithub.com/grpc/grpc-java/commit/fe350cfd5)) - examples: Use xds-enabled server and xds credentials in example-gcp-csm-observability ([#&#8203;11706](https://togithub.com/grpc/grpc-java/issues/11706)) ([`a79982c`](https://togithub.com/grpc/grpc-java/commit/a79982c7f)) Thanks to\ [@&#8203;niloc132](https://togithub.com/niloc132)\ [@&#8203;rockspore](https://togithub.com/rockspore)\ [@&#8203;SreeramdasLavanya](https://togithub.com/SreeramdasLavanya)\ [@&#8203;vinodhabib](https://togithub.com/vinodhabib) ### [`v1.68.3`](https://togithub.com/grpc/grpc-java/releases/tag/v1.68.3) ##### Bug Fixes - okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 ([#&#8203;11749](https://togithub.com/grpc/grpc-java/issues/11749)) ([`a0982ca`](https://togithub.com/grpc/grpc-java/commit/a0982ca0a)). Hostnames are considered trusted and CAs are required to use punycode for non-ASCII hostnames, so this is expected to provide defense-in-depth. See also the [related GoSecure blog post](https://gosecure.ai/blog/2020/10/27/weakness-in-java-tls-host-verification/) and the [AOSP fix](https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc) - xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly ([`1cf1927`](https://togithub.com/grpc/grpc-java/commit/1cf1927d1)). This (along with [`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) fixes a nonce-handling regression introduced in 1.66.0 that could cause resources to appear to not exist until re-creating the ADS stream. Triggering the behavior required specific config changes. It is easiest to trigger when clusters use EDS and routes are changed from one cluster to another. The error “found 0 leaf (logical DNS or EDS) clusters for root cluster” might then be seen - xds: Remember nonces for unknown types ([`6c12c2b`](https://togithub.com/grpc/grpc-java/commit/6c12c2bd2)) - xds: Unexpected types in the bootstrap’s server_features should be ignored ([`e8ff6da`](https://togithub.com/grpc/grpc-java/commit/e8ff6da2c)). They were previously required to be strings - xds: Fixed unsupported unsigned 32 bits issue for circuit breaker ([#&#8203;11735](https://togithub.com/grpc/grpc-java/issues/11735)) ([`f8f6139`](https://togithub.com/grpc/grpc-java/commit/f8f613984)). This fixes clients treating large max_requests as “no requests” and failing all requests </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
1 parent f321084 commit 97b3b6c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: lib/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ dependencies {
3434
implementation 'com.google.guava:guava:33.4.0-jre'
3535
implementation 'info.picocli:picocli:4.7.6'
3636
implementation 'com.google.guava:guava:33.4.0-jre'
37-
implementation 'io.grpc:grpc-protobuf:1.68.2'
38-
implementation 'io.grpc:grpc-stub:1.68.2'
39-
implementation 'io.grpc:grpc-services:1.68.2'
37+
implementation 'io.grpc:grpc-protobuf:1.70.0'
38+
implementation 'io.grpc:grpc-stub:1.70.0'
39+
implementation 'io.grpc:grpc-services:1.70.0'
4040
implementation 'io.cloudquery:plugin-pb-java:0.0.29'
4141
implementation 'org.apache.arrow:arrow-memory-core:18.1.0'
4242
implementation 'org.apache.arrow:arrow-vector:18.1.0'
@@ -48,8 +48,8 @@ dependencies {
4848
implementation 'org.apache.logging.log4j:log4j-api:2.24.3'
4949
implementation 'org.apache.logging.log4j:log4j-core:2.24.3'
5050

51-
testImplementation 'io.grpc:grpc-testing:1.68.2'
52-
testImplementation 'io.grpc:grpc-inprocess:1.68.2'
51+
testImplementation 'io.grpc:grpc-testing:1.70.0'
52+
testImplementation 'io.grpc:grpc-inprocess:1.70.0'
5353
testImplementation platform('org.junit:junit-bom:5.11.4')
5454
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
5555
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'

0 commit comments

Comments
 (0)