Skip to content

fix(deps): Update grpc-java monorepo to v1.70.0 #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

cq-bot
Copy link
Contributor

@cq-bot cq-bot commented Feb 1, 2025

This PR contains the following updates:

Package Type Update Change
io.grpc:grpc-inprocess dependencies minor 1.68.2 -> 1.70.0
io.grpc:grpc-testing dependencies minor 1.68.2 -> 1.70.0
io.grpc:grpc-services dependencies minor 1.68.2 -> 1.70.0
io.grpc:grpc-stub dependencies minor 1.68.2 -> 1.70.0
io.grpc:grpc-protobuf dependencies minor 1.68.2 -> 1.70.0

Release Notes

grpc/grpc-java (io.grpc:grpc-inprocess)

v1.70.0

Bug Fixes
  • Re-enable animalsniffer, fixing most violations (8ea3629). 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 (#​11072) (ebe2b48). 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 (#​11749) (a0982ca). 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 and the AOSP fix
  • okhttp: Fix for ipv6 link local with scope (#​11725) (65b32e6)
  • xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly (1cf1927). This (along with 6c12c2b) 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)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Remove xds authority label from metric registration (#​11760) (6516c73). 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 (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests
Improvements
  • api: Introduce custom NameResolver.Args (#​11669) (0b2d440)
  • stub: Introduce new API: BlockingStubV2 which supports Bidi streaming, Client streaming, a cleaner Server streaming and Unary RPCs (#​10318) (ea8c31c)
  • bazel: Remove workaround for DoNotCall fixed in Bazel 3.4 (805cad3)
  • binder: A standard API for pointing resolvers at a different Android User. (#​11775) (1126a8e)
  • xds: Fix XDS control plane client retry timer backoff duration when connection closes after results are received (#​11766) (ef7c2d5)
  • xds: Parsing xDS Cluster Metadata (#​11741) (1edc4d8). 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 (#​11715) (ebb43a6). 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). This only matters when debug logging is enabled
Documentation
  • examples: Simplify graceful shutdown in Hostname example (f1109e4)
  • examples: Remove references to maven-central.storage-download.googleapis.com (c96e926)
  • examples: Updated the attachHeaders to newAttachHeadersInterceptor in HeaderClientInterceptor (#​11759) (5e8abc6)
Dependencies
  • Bazel 8 is released, so replace Bazel 6 testing with Bazel 7 (8a5f777)
Thanks to

v1.69.1

Bug Fixes
  • okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#​11749) (a0982ca). 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 and the AOSP fix
  • xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly (1cf1927). This (along with 6c12c2b) 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)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests
  • xds: Remove xds authority label from metric registration (#​11760) (6516c73). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0

v1.69.0

v1.69.0

New Features

  • api: Allow LoadBalancers to specify an authority per-RPC.(#​11631) (c167ead) CallOptions.withAuthority() has higher precedence.
  • netty: Add soft Metadata size limit enforcement. (#​11603) (735b3f3) 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 (#​11634) (ba8ab79)
  • xds: Add grpc.xds_client metrics, as documented by OpenTelemetry Metrics (#​11661) (20d09ce). grpc.xds.authority is not yet available

Bug Fixes

  • api: When forwarding from Listener onAddresses to Listener2 continue to use onResult (#​11666) (dae078c). This fixes a 1.68.1 "IllegalStateException: Not called from the SynchronizationContext" regression (#​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). 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 (#​11562) (766b923)
  • core: Make timestamp usage in Channelz use nanos from Java.time.Instant when available (#​11604) (9176b55). This increases the timestamp precision from milliseconds
  • okhttp: Fix for ipv6 link local with scope (#​11725) (e98e7445b)
  • binder: Let AndroidComponentAddress specify a target UserHandle (#​11670) (e58c998)
  • servlet: Deframe failures should be logged on the server as warnings (#​11645) (a5db67d)
  • s2a: Rename the Bazel target s2av2_credentials to s2a (29dd9ba). 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 (#​11685) (b170334). This compatibility is on the source level. There is not a pre-built binary on Maven Central that supports proto lite
  • services: Deprecate ProtoReflectionService (#​11681) (921f88a). 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)
  • Upgrade google-auth-library to 1.24.1 (1993e68)
  • Upgrade error_prone_annotations to 2.30.0 (1993e68)
  • Upgrade Guava to 33.3.1-android (1993e68)
  • Upgrade opentelemetry-api to 1.43.0 (1993e68)
  • xds: Remove Bazel dependency on xds v2 (664f1fc). 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. (#​11639) (fe350cf)
  • examples: Use xds-enabled server and xds credentials in example-gcp-csm-observability (#​11706) (a79982c)

Thanks to
@​niloc132
@​rockspore
@​SreeramdasLavanya
@​vinodhabib

v1.68.3

Bug Fixes
  • okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#​11749) (a0982ca). 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 and the AOSP fix
  • xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly (1cf1927). This (along with 6c12c2b) 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)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cq-bot cq-bot added the automerge Add to automerge PRs once requirements are met label Feb 1, 2025
@kodiakhq kodiakhq bot merged commit 97b3b6c into main Feb 1, 2025
7 checks passed
@kodiakhq kodiakhq bot deleted the renovate/grpc-java-monorepo branch February 1, 2025 02:54
kodiakhq bot pushed a commit that referenced this pull request Feb 3, 2025
🤖 I have created a release *beep* *boop*
---


## [0.0.38](v0.0.37...v0.0.38) (2025-02-03)


### Bug Fixes

* **deps:** Update dependency gradle to v8.12.1 ([#314](#314)) ([0b29ccd](0b29ccd))
* **deps:** Update dependency io.cloudquery:plugin-pb-java to v0.0.30 ([#321](#321)) ([b875a01](b875a01))
* **deps:** Update dependency nl.jqno.equalsverifier:equalsverifier to v3.18.1 ([#317](#317)) ([c1d543d](c1d543d))
* **deps:** Update dependency org.assertj:assertj-core to v3.27.3 ([#318](#318)) ([f321084](f321084))
* **deps:** Update eclipse-temurin Docker tag to v21.0.6_7-jre ([#315](#315)) ([c888a38](c888a38))
* **deps:** Update grpc-java monorepo to v1.70.0 ([#319](#319)) ([97b3b6c](97b3b6c))
* **deps:** Update mockito monorepo to v5.15.2 ([#320](#320)) ([5110a9a](5110a9a))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant