v1.62.2
gRPC Java 1.62.2 Release Notes
Note that this is the initial 1.62.x release
API Changes
- services: Remove
io.grpc.services.BinaryLogs
, which was deprecated since 2021.io.grpc.protobuf.services.BinaryLogs
should be used instead (#10832). - Allow users outside of io.grpc.xds package to create custom xDS resources (#10834) (6d96e65)
New Features
- api:Add ClientTransportFilter. Similarly to ServerTransportFilter, this will provide an observability hook and it allows direct modification of the transport's attributes. (#10646)
Improvements
- java_grpc_library.bzl: Add support for Auto Exec Groups (cb03bd2). This is mostly a behind-the-scenes change to adjust to the newer way Bazel operates
- java_grpc_library.bzl: Support runfiles for protoc and the plugin (65a6b3b). Neither binary uses runfiles, but the task will be ready if they need to in the future
- xds: Add EC key support for XdsChannelCredentials/XdsServerCredentials (100d5a5)
- binder:Change log level from WARNING to FINER for expected exception during close with error, to reduce log spamming (#10899) (7ba0718)
Bug Fixes
- xds: Fix a bug in WeightedRoundRobinLoadBalancer policy that could raise NullPointerException and further cause channel panic when picking a subchannel. This bug can only be triggered when connection can not be established and the channel reports TRANSIENT_FAILURE state. (#10868)
Dependencies
- The protoc plugin no longer supports macOS Big Sur (macOS 11). Binaries are now built using Monterey (macOS 12)