Skip to content

Update grpc-java monorepo to v1.72.0 #112

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-stub 1.47.0 -> 1.72.0 age adoption passing confidence
io.grpc:grpc-netty 1.47.0 -> 1.72.0 age adoption passing confidence
io.grpc:grpc-core 1.47.0 -> 1.72.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.72.0

Compare Source

API Changes
  • util: Remove deprecated method GracefulSwitchLb.switchTo() (f207be3). It is rarely used outside of gRPC itself. The configuration is passed as lb policy configuration instead
  • xds: Add support for custom per-target credentials on the transport (#​11951) (1958e42)
  • xds: Explicitly set request hash key for the ring hash LB policy (892144d)
Bug Fixes
  • core: Apply ManagedChannelImpl's updateBalancingState() immediately (ca4819a)
  • xds: Fix cluster selection races when updating config selector (d82613a)
  • otel: Fix span names as per the A72 gRFC changes (#​11974) (94f8e93)
  • xds: ClusterResolverLoadBalancer handle update for both resolved addresses and errors via ResolutionResult (#​11997) (8681786)
Improvements
  • netty: Avoid allocating an exception on transport shutdown. This reduces allocation rate for connection-heavy workloads/load testing (a57c14a)
  • servlet: Set an explicit description for CANCELLED status (#​11927) (fca1d3c)
  • xds: gRFC A74 xDS Config Tears implementation in the XdsNameResolver (e80c197). While there is more remaining, users may already see reduced latency when resources are replaced. For example, if changing a route from one backend service to another, RPCs may see less latency during the transition
  • core: Log any exception during channel panic because of exception (3961a92). This prevents the exception from propagating up the stack on an arbitrary thread. Such exceptions are rarely interesting. Instead, the exception that caused the channel panic is the important one, and RPCs will still fail with its details
  • util: Graceful switch to new LB when leaving CONNECTING (2e260a4). Previously when using xDS and the configuration changes the LB policy, the old LB policy is used until the new one is READY. Now the old LB policy is used until the new policy becomes READY, TRANSIENT_FAILURE, or IDLE
  • core: Use java.time.Time.getNano directly in InstantTimeProvider. Previously reflection was used which would confuse R8 full mode (#​11977) (7507a9e)
  • core: Avoid cancellation exceptions when notifying watchers that already have their connections cancelled (#​11934) (350f90e)
  • rls: allow maxAge in RLS config to exceed 5 minutes if staleAge is set. Previously, the limit was 5 minutes, which isn't enough for some gRPC clients (#​11931) (c340f4a)
  • xds: avoid unnecessary dns lookup for CIDR addresses (#​11932) (602aece)
  • netty: Swap to UniformStreamByteDistributor (#​11954) (2f52a00). gRPC will no longer observe the HTTP/2 priorities, which were not used directly by gRPC and deprecated in RFC 9113
  • core: Avoid Set.removeAll() when passing a possibly-large List (#​11994) (666136b)
  • stub: trailersFromThrowable() metadata should be copied (#​11979) (a6e1c1f)
New Features
  • xds: xDS-based HTTP CONNECT configuration (#​11861) (1219706)
  • netty: Per-rpc authority verification against peer cert subject names. Overriding transport authority at rpc time is only allowed when using TlsChannelCredentials. The per-rpc authority verification feature is guarded by the environment variable GRPC_ENABLE_PER_RPC_AUTHORITY_CHECK in this release. When this is false or not set, the rpc will not fail when the authority verification fails but a warning will be logged. In a subsequent release the usage of this environment variable will be removed and RPCs will start failing if the authority doesn't match the peer certificate names. The environment variable is temporary; if you are depending on the existing insecure behavior, please file an issue (#​11724) (cdab410)
Thanks to

@​panchenko
@​emmanuel-ferdman
@​JoeCqupt

v1.71.0

Compare Source

API Changes

  • xds: Enable Xds Client Fallback by default. This allows having a backup xDS server as described in gRFC A71-xds-fallback.md (#​11817) (176f3ee)
  • protobuf: Experimental API marshallerWithRecursionLimit in ProtoUtils is now stabilized (#​11884) (90b1c4f)

Bug Fixes

  • xds: Cluster weights should be uint32 (199a7ea). They were previously processed as int32, although the sum of weights was checked to be positive. So this would have caused a very large weight to never be selected and to reduce the chances of immediately-following clusters to be selected. There have been no reports of control planes using such large weights
  • xds: Fix an unlikely infinite loop triggered by route update (199a7ea). Triggering required the old cluster to no longer be used, an RPC processing when the update arrived, and for a RPC to not match any route in the new config. There have been no reports of this actually happening
  • core: Release data frame if it is received before the headers (dc316f7)

Improvements

  • Replace jsr305's CheckReturnValue with Error Prone's (#​11811) (7b5d069)
  • core: optimize number of buffer allocations for message sizes larger than 1 MB (#​11879) (5a7f350)
  • core: Update the retry backoff range from [0, 1] to [0.8, 1.2] as per the A6 redefinition (#​11858) (44e92e2)
  • core: include last pick status in status message when wait-for-ready RPC’s deadline expires (#​11851) (7585b16). This makes it much easier to debug connectivity issues when using wait-for-ready RPCs
  • xds: Include max concurrent request limit in the error status for concurrent connections limit exceeded (#​11845) (0f5503e)
  • netty, servlet: Remove 4096 min write buffer size because MessageFramer.flush() is being called between every message, so messages are never combined and the larger allocation just wastes memory. (4a10a38, 7153ff8)
  • core: When ClientStreamObserver closes the response observer log the error message if this operation fails (#​11880) (302342c)
  • bom: use gradle java-platform to build pom instead of custom xml generation (#​11875) (3142928)
  • xds: Reuse filter interceptors on client-side across RPCs (c506190, b3db8c2). This was an internal refactor that should have no user-visible change
  • alts: Enhance AltsContextUtil to allow getting the AltsContext on client-side (b1bc0a9)
  • xds: Envoy proto sync to 2024-11-11 (#​11816) (b44ebce)

Documentation

Dependencies

Thanks to

@​benjamin
@​panchenko
@​harshagoo94
@​NaveenPrasannaV

v1.70.0

Compare Source

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

Compare Source

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

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

v1.68.2

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

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

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

v1.66.0

gRPC Java 1.66.0 Release Notes
API Changes
  • stub: Support setting onReadyThreshold through AbstractStub. (#​11320) (25a8b7c)
  • util: Stabilize AdvancedTlsX509TrustManager, an X509ExtendedTrustManager that allows users to configure advanced TLS features, such as root certificate reloading and peer cert custom verification. (658cbf6)
  • util: Align AdvancedTlsX509{Key and Trust}Manager. (#​11385)
  • util: Add GracefulSwitchLoadBalancer config (ebed047) and mark switchTo() deprecated. (85e0a01). GracefulSwitchLoadBalancer now receives its configuration like a regular load balancer.
  • binder: Introduce AllowSecurityPolicy to allow calling code to not have to wait on async/slow implementations. BinderTransport now submits async implementations to an executor. (#​11272) (7fee6a3)
  • api: Add convenience method in ServerBuilder for adding a list of service implementations to the handler registry together. (#​11285) (85ed053)
Improvements
  • examples: Improve example Bazel WORKSPACE to demonstrate referencing grpc-xds. (5ec0187)
  • examples: Include Bazel bzlmod configuration (36e687f). There are now examples for both non-bzlmod and bzlmod.
  • core: Fixes to PickFirstLeafLoadBalancer
  • core: Change default to use the new pick first load balancer (PickFirstLeafLoadBalancer). (#​11348)
  • core: Use retryThrottling from defaultServiceConfig when the name resolver config doesn't provide this config. (#​11274) (062ebb4)
  • netty: Enable use of Netty 4.1.111 by avoiding the optimization provided by NettyAdaptiveCumulator if Netty is on version 4.1.111 or later. (#​11367)
  • binder: Set a default connect timeout of 60 seconds. (#​11359) (21dec30)
  • binder: Make BinderServer own ServerAuthInterceptor's executor that helps avoid leaks. (#​11293) (15ad9f5)
  • services:: Added ProtoReflectionServiceV1 for the v1 reflection protocol. The preexisting ProtoReflectionService implements the v1alpha reflection protocol. (#​11237) (0aa976c)
Bug Fixes
  • binder: Add missing synchronization to prevent races when calling awaitTermination(). (#​11277) (14fd81f)
  • util: Fix AdvancedTlsX509TrustManager validation on servers when using SSLSocket. Previously it would try to use a null SSLEngine . (dcb1c01)
Dependencies
  • compiler: Upgrade from CentOS 7 to AlmaLinux 8 for the pre-compiled Linux protoc-gen-grpc-java (71eb5fb). This adds a runtime dependency on libstdc++
  • Upgrade animal-sniffer-annotations to 1.24 (a977385)
  • Upgrade error_prone_annotations to 2.28.0 (a977385)
  • Upgrade proto-google-common-protos to 2.41.0 (a977385)
  • Upgrade google-auth-library to 1.23.0 (a977385)
  • Upgrade gson to 2.11.0 (a977385)
  • Upgrade guava to 33.2.1 (a977385)
  • Upgrade opentelemetry to 1.40.0 (a977385)
  • Upgrade perfmark-api to 0.27.0 (a977385)
  • Upgrade protobuf-java to 3.25.3 (a977385)
  • xds: Remove unused opencensus-proto dependency (e7c3803)
  • bazel: Replace @com_github_cncf_udpa usage with preexisting @com_github_cncf_xds; delete @com_github_cncf_udpa repo alias for xds (6dd6ca9)
  • bazel: Upgrade envoyproxy/data-plane-api to 1611a73 (c540993). The version used by Gradle had been updated in 1.62.0 (68334a0), but the bazel version had not
  • bazel: Use com_google_protobuf instead of com_google_protobuf_javalite (7a25e68). Bazel’s protobuf rules no longer use the old com_google_protobuf_javalite repository name
  • bazel: Don't require protobuf to be in maven_install (d3c2f5a). Protobuf’s targets are generally just used directly; this fixed the only place that used maven’s artifact() syntax
Thanks to

@​hlx502
@​erm-g
@​jdcormie
@​JoaoVitorStein
@​cfredri4

v1.65.1

Compare Source

What's Changed
  • netty: Restore old behavior of NettyAdaptiveCumulator, but avoid using that class if Netty is on version 4.1.111 or later

v1.65.0

Compare Source

grpc-netty in this release is compatible with Netty 4.1.111; it fixes the incompatibility that caused data corruption. grpc-netty-shaded is still using Netty 4.1.100.

New Features
  • New module grpc-gcp-csm-observability (df8cfe9)
Improvements
  • api: Add ClientStreamTracer.inboundHeaders(Metadata) (960012d). This is the same as the existing inboundHeaders(), but is provided the Metadata
  • api: Fix various typos in the documentation (#​11144) (6ec744f)
  • core: When queuing RPCs, don’t request picks from the LB twice (8844cf7). This could be viewed as a small performance optimization, but mainly reduces the amount of race-handling code
  • util: Improve AdvancedTlsX509KeyManager’s documentation, verification, and testing. (#​11139) (781b4c4) This change shows @ExperimentalApi being removed, but it was re-added in 3c97245 before the release
  • examples: Fix broken command in reflection readme (#​11131) (c31dbf4)
  • binder: Add a connection timeout (#​11255) (791f894)
Bug fixes
  • core: Exit idle mode when delayed transport is in use (fea577c). This was a long-standing race that could cause RPCs to hang, but was very unlikely to be hit. Avoiding the double-picking (8844cf7) made the race more visible
  • netty: Fix Netty composite buffer merging to be compatible with Netty 4.1.111 (#​11294) (0fea7dd). The previous behavior easily caused data corruption
  • okhttp: Workaround SSLSocket not noticing socket is closed (a28357e). Previously, shutting down when a new connection was being established could result in the server never becoming terminated
  • inprocess: Fix listener race if transport is shutdown while starting (e4e7f3a). This issue was unlikely to be hit outside of specialized tests
  • services: restore //services:binarylog bazel target (#​11292) (d57f271). This fixes a regression introduced in 1.62.2
  • binder: Wait for all server transports to terminate before returning the security policy executor to the object pool (#​11240) (34ee600)
  • binder: Reject further SETUP_TRANSPORT requests post-BinderServer shutdown (#​11260) (1670e97)
  • bazel: Include missing com_google_protobuf_javalite in MODULE.bazel (#​11147) (f995c12)
Thanks to

@​hakusai22
@​firov
@​mateusazis
@​Mir3605
@​niloc132

v1.64.2

What's Changed
  • netty: Restore old behavior of NettyAdaptiveCumulator, but avoid using that class if Netty is on version 4.1.111 or later

v1.64.1

What's Changed

v1.64.0

Avoid upgrading your application to Netty 4.1.111, with this version as there is a possible corruption. For Netty 4.1.111 compatibility, it is best to use 1.63.2, 1.64.2, 1.65.1, and later. See https://github.com/grpc/grpc-java/issues/11284 .

API Changes
  • compiler: the option jakarta_omit was renamed @generated=omit (#​11086) (8a21afc)
New Features
  • New API LoadBalancer.getChannelTarget() (4561bb5)
  • opentelemetry: Publish new module grpc-opentelemetry (5ba1a55). The feature is still missing documentation and an example. It only supports metrics; tracing and logs will be future enhancements. See gRFC A66
  • bazel: Add support for bzlmod (#​11046) (d1890c0)
  • bazel: Replace usages of the old compatibility maven targets with @maven targets (0064991)
  • okhttp: Support serverBuilder.maxConcurrentCallsPerConnection (Fixes #​11062). (#​11063) (8050723)
  • xds: Experimental metrics recording in WRR LB (06df25b, 35a171b, 2897b39), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry. See gRFC A78
  • rls: Experimental metrics recording in RLS LB (a9fb272, a1d1932, 8133318), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry
Improvements
  • examples: support bazel build for retry policy example (58de563)
  • netty: Allow deframer errors to close stream with a status code, as long as headers have not yet been sent (e036b1b). This will greatly improve the debuggability of certain server errors in particular cases. Instead of the client seeing “CANCELLED: RST_STREAM closed stream. HTTP/2 err

Configuration

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

🚦 Automerge: Enabled.

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 force-pushed the renovate/grpc-java-monorepo branch from 8d47c52 to cb9dac3 Compare February 3, 2024 00:37
@renovate renovate bot changed the title Update grpc-java monorepo to v1.61.0 Update grpc-java monorepo to v1.61.1 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from cb9dac3 to d60132f Compare February 27, 2024 02:34
@renovate renovate bot changed the title Update grpc-java monorepo to v1.61.1 Update grpc-java monorepo to v1.62.2 Feb 27, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from d60132f to 524ac09 Compare April 6, 2024 12:00
@renovate renovate bot changed the title Update grpc-java monorepo to v1.62.2 Update grpc-java monorepo to v1.63.0 Apr 6, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 524ac09 to c04564f Compare May 23, 2024 02:21
@renovate renovate bot changed the title Update grpc-java monorepo to v1.63.0 Update grpc-java monorepo to v1.64.0 May 23, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from c04564f to 4528447 Compare June 28, 2024 08:41
@renovate renovate bot changed the title Update grpc-java monorepo to v1.64.0 Update grpc-java monorepo to v1.65.0 Jun 28, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 4528447 to fd08624 Compare July 12, 2024 02:54
@renovate renovate bot changed the title Update grpc-java monorepo to v1.65.0 Update grpc-java monorepo to v1.65.1 Jul 12, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from fd08624 to 8614c85 Compare August 11, 2024 00:01
@renovate renovate bot changed the title Update grpc-java monorepo to v1.65.1 Update grpc-java monorepo to v1.66.0 Aug 11, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 8614c85 to 6aa92cb Compare September 21, 2024 11:34
@renovate renovate bot changed the title Update grpc-java monorepo to v1.66.0 Update grpc-java monorepo to v1.68.0 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 6aa92cb to 9f42dae Compare September 28, 2024 06:43
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 9f42dae to 74d34b2 Compare October 29, 2024 06:11
@renovate renovate bot changed the title Update grpc-java monorepo to v1.68.0 Update grpc-java monorepo to v1.68.1 Oct 29, 2024
@renovate renovate bot changed the title Update grpc-java monorepo to v1.68.1 Update grpc-java monorepo Nov 28, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 74d34b2 to 9c8de32 Compare November 28, 2024 10:13
@renovate renovate bot changed the title Update grpc-java monorepo Update grpc-java monorepo to v1.68.2 Nov 29, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 9c8de32 to ae08714 Compare December 10, 2024 20:11
@renovate renovate bot changed the title Update grpc-java monorepo to v1.68.2 Update grpc-java monorepo to v1.69.0 Dec 10, 2024
@renovate renovate bot changed the title Update grpc-java monorepo to v1.69.0 Update grpc-java monorepo Jan 17, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from ae08714 to 6ac43f2 Compare January 17, 2025 04:15
@renovate renovate bot changed the title Update grpc-java monorepo Update grpc-java monorepo to v1.69.1 Jan 17, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 6ac43f2 to 9707da2 Compare January 22, 2025 13:14
@renovate renovate bot changed the title Update grpc-java monorepo to v1.69.1 Update grpc-java monorepo to v1.70.0 Jan 22, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 9707da2 to 6fa79f0 Compare March 4, 2025 22:54
@renovate renovate bot changed the title Update grpc-java monorepo to v1.70.0 Update grpc-java monorepo to v1.71.0 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 6fa79f0 to 7906c6b Compare April 15, 2025 19:38
@renovate renovate bot changed the title Update grpc-java monorepo to v1.71.0 Update grpc-java monorepo to v1.72.0 Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants