Skip to content
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

build(deps): Bump grpc-java monorepo to v1.69.0 #999

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-inprocess 1.66.0 -> 1.69.0 age adoption passing confidence
io.grpc:grpc-stub 1.66.0 -> 1.69.0 age adoption passing confidence
io.grpc:grpc-netty 1.66.0 -> 1.69.0 age adoption passing confidence

Release Notes

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

v1.69.0

Compare Source

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.2

Compare Source

Bug Fixes

  • api: When forwarding from Listener onAddresses to Listener2 continue to use onResult (https://github.com/grpc/grpc-java/pull/11688). 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 (https://github.com/grpc/grpc-java/pull/11716). 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

v1.68.1

Compare Source

v1.68.0 was a mistake. This is the first release of version 1.68.x

Bug Fixes
  • xds: Fix NullPointerException introduced in "Fix load reporting when pick first is used for locality-routing" (#​11553). This was in 1.67.1 but not 1.68.0
Behavior Changes
  • core: JSON parsing rejects duplicate keys in objects (#​11575) (4be69e3). This is the existing behavior in C core. Duplicate keys in objects are dangerous as which value takes effect is undefined. Previously, the last value was used
  • okhttp: Detect transport executors with no remaining threads (#​11503) (3a6be9c). The transport uses two threads, but one is on-demand. If the executor provided to builder.transportExecutor() runs out of threads (e.g., it is a fixed-size thread pool), all transports can be wedged, unable to run on-demand tasks, until keepalive kills one of them. Two threads are now used when handshaking a new transport, and the transport will time out after 1 second with “Timed out waiting for second handshake thread” if two threads are unavailable
  • gcp-csm-o11y: Get mesh_id value from CSM_MESH_ID environment variable, instead of getting it from bootstrap file (84d30af)
Improvements
  • New grpc-context-override-opentelemetry artifact (#​11523) (782a44a) (#​11599) (e59ae5f). This is a io.grpc.Context storage override to store its state in io.opentelemetry.context.Context. Libraries should not add a dependency on this artifact, as applications can only have one storage override in their classpath
  • New grpc-s2a artifact. It is a transport that offloads the handshake similar to ALTS, but for TLS. It provides io.grpc.s2a.S2AChannelCredentials
  • api: Enhance name resolver `ResolutionResult` to hold addresses or error so the single listener API onResult2 is used to convey both success and error cases for name resolution (#​11330) (1ded8af)
  • core: Handle NameResolver/LoadBalancer exceptions when panicking (b692b9d). This expands the class of bugs that will fail RPCs with the panic error, versus some undefined behavior
  • core: Use the default service config in case of initial name resolver address resolution error (#​11577) (fa26a8b)
  • core: StreamTracer.inboundMessageRead() now reports uncompressed message size when the message does not need compression (#​11598) (2aae68e). Previously it always reported -1 (unknown)
  • netty: Avoid TCP_USER_TIMEOUT warning when explicitly specifying a non-epoll channel type to use (#​11564) (62f4098)
  • okhttp: Don't warn about missing Conscrypt (6f35422). This is especially helpful when using TLS but not running on Android
  • android: For UdsChannelBuilder, use fake IP instead of localhost (a908b5e). This avoids an unnecessary DNS lookup
  • xds: Add xDS node ID in select control plane errors to enable cross-referencing with control plane logs when debugging (f3cf7c3)
  • xds: Enhanced how ADS stream terminations are handled, specifically addressing cases where a response has or hasn't been received (#​2e9c3e19f)
  • binder: Update status code documentation for Android 11's package visibility rules. (#​11551) (99be6e9)
  • binder: Update binderDied() error description to spell out the possibilities for those unfamiliar with Android internals. (#​11628) (46c1b38)
  • example-gauth: Use application default creds instead of file argument (#​11595) (94a0a0d)
  • opentelemetry: Experimental OpenTelemetry tracing is available. Set the GRPC_EXPERIMENTAL_ENABLE_OTEL_TRACING environment variable to true to enable tracing support in GrpcOpenTelemetry (#​11409, #​11477)(043ba55, 421e237)
Dependencies

Thanks to:
@​Juneezee
@​lgalfaso
@​bestbeforetoday
@​hlx502
@​JoeCqupt

v1.68.0: MISTAKE

Compare Source

This was supposed to be v1.67.0, but there was a mistake during the release process. This has everything in v1.67.1, except for:

v1.67.1

Compare Source

gRPC Java 1.67.1 Release Notes

There was no 1.67.0 release. There was a problem making the release and it went to Maven Central as 1.68.0 instead. This is a version-corrected release.

Improvements
  • Petiole load balancing policies (e.g., round_robin, weighted_round_robin, ring_hash, least_request) had internal refactorings. This should not have changed their behavior
  • api: Introduce onResult2 in NameResolver Listener2 that returns Status (90d0fab)
  • core: touch() buffer when detach()ing (e821d5e). This makes it clearer whether a leak is a gRPC leak or an application leak when the Detachable API is being used
  • example: delete duplicate and unused code in KeepAliveClient.java (6a9bc3b)
  • example: Added Dualstack example (#​11451) (72a977b)
  • stub: Add newAttachMetadataServerInterceptor() MetadataUtil (#​11458) (6dbd1b9)
  • xds: Separate xds clients for each channel target, each with its own connection to an xds server. (#​11484) (d034a56)
  • xds: Envoy proto sync to 2024-07-06 (#​11401) (96a788a)
  • xds: cncf/xds proto sync to 2024-07-24 (#​11417) (0017c98)
  • xds: Import RLQS protos (#​11418) (c29763d)
  • xds: ClusterManagerLB must update child configuration (10d6002). Previously, RLS configuration would not have been updated
Bug Fixes
  • core: Revert "Enable new PickFirst LB (#​11348)" (#​11425) (cc1cbe9)
  • rls: Fix log statements incorrectly referring to "LRS" (#​11497) (c63e354)
  • util: Stop using SocketAddress.toString() for checking address equality (f866c80). This change applies to all petiole load balancing policies. For regular usages that use dns name resolution, this is unlikely to matter as the default dns name resolver returns consistent addresses. But this might improve LB behavior for some custom load balancers
  • xds: Fix load reporting when pick first is used for locality-routing. (#​11495) (1dae144)
  • xds: Fix NullPointerException introduced in "Fix load reporting when pick first is used for locality-routing" (#​11553). This change is not present in 1.68.0
  • xds: XdsClient should unsubscribe on last resource (#​11264) (448ec4f)
Dependencies
  • Upgrade Netty to 4.1.110 and tcnative to 2.0.65 (#​11444) (70ae832)
  • examples: Upgrade Maven plugin versions (75012a5)
  • Remove direct dependency on j2objc (ff8e413)
Thanks to

@​Juneezee
@​lujiajing1126
@​JarvisCraft
@​sunpe


Configuration

📅 Schedule: Branch creation - "every month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 30, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from d21f38a to 6769a1b Compare December 30, 2024 17:00
@vorburger vorburger merged commit 53ff25a into main Dec 30, 2024
3 of 4 checks passed
@vorburger vorburger deleted the renovate/grpc-java-monorepo branch December 30, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant