gRPC Java 1.67.1 Release Notes
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
- stub: Add newAttachMetadataServerInterceptor() MetadataUtil (#11458) (6dbd1b9)
- opentelemetry: GrpcOpenTelemetry now has experimental tracing support. The support can be enabled by setting env var `GRPC_EXPERIMENTAL_ENABLE_OTEL_TRACING=true`. (#11477) (421e237) (#11409) (043ba55)
- example: delete duplicate and unused code in KeepAliveClient.java (6a9bc3b)
- example: Added Dualstack example (#11451) (72a977b)
- 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)
- 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: XdsClient should unsubscribe on last resource (#11264) (448ec4f)
- rls: Fix log statements incorrectly referring to "LRS" (#11497) (c63e354)
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)