github grpc/grpc-java v1.55.1

latest releases: v1.67.0, v1.66.0, v1.63.2...
16 months ago

The 1.55.0 release failed. There were no artifacts published for it.

API Changes

  • services: Rename MetricRecorder.setQps/clearQps to setQpsMetric/clearQpsMetric (#10031)

Behavior Changes

  • gcp-observability: Remove monitored resource detection for logging (#10020). The cloud libraries will fill in these details instead
  • protoc-gen-grpc-java: binaries for Linux ARM and PPC are now built using Ubuntu 18.04. They will no longer work on Ubuntu 16.04 and Debian 9

New Features

  • api: Stabilize the frequently used compression APIs (#9942): CallOptions.withCompression, CallOptions.getCompressor, AbstractStub.withCompression, ServerCall.setCompression, ServerCall.setMessageCompression
  • api: Stabilize Detachable and HasByteBuffer
  • gcp-observability: Stabilize GcpObservability (#10024). The GcpObservability API provides a simple way to export logging, tracing, and metrics to Google Cloud Operations. See the Google Cloud blog post.
  • census: Add new tracer annotation to indicate the time when name resolution completed for those RPCs that experienced name resolution delay, or the time when picking subchannel completed for those RPCs that experienced picking subchannel delay. (#10014, #10044)
  • protoc-gen-grpc-java: binary for s390x is now published (#9455). The glibc version used is available in Ubuntu 20.04, Debian 11, and CentOS 9 and later
  • authz: Added FileWatcherAuthorizationServerInterceptor (#9775)
  • services: Added OrcaMetricReportingServerInterceptor.create(MetricRecorder) which adds common metrics per-RPC (#9902)
  • android: Add UdsChannelBuilder for using LocalSocket an Android (#8418)
  • alts: Observe the GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES environment variable user to adjust the max number of concurrent ALTS handshakes (#10016)
  • binder: Expose client identity via PeerUid and PeerUids (#9952)
  • binder: Add BindServiceFlags.setAllowActivityStarts() for BIND_ALLOW_ACTIVITY_STARTS added in Android U (#10008)

Bug Fixes

  • core: Fix NPE race during hedging (#10007), fixing a Netty buffer memory leak for cancelled RPCs
  • core: Allow transparent retries after a retry attempt and the configured max retries was 1 (#10066)
  • okhttp: properly implement OkHttpServerBuilder.maxConnectionAgeGrace() (#9968)
  • xds: Enable federation support. See gRFC A47
  • xds: Enable Weighted Round Robin LB policy support. See gRFC A58
  • xds: Avoid ClassCastException if the control plane changes the top-level policy (#10091). This is expected to be unlikely, but is possible
  • xds: Fix java.util.NoSuchElementException: SecurityProtocolNegotiators$ClientSdsHandler#0 (#10118). This error did not cause any problems, other than unnecessary logging
  • xds: Avoid using the default locale for case insensitive path matching (#10148)
  • googleapis: Enable ignore_resource_deletion for google-c2p: resolver’s default xds bootstrap (#10121)
  • rls: Refresh name resolution on rejected addresses (#10032)

New Examples

Dependencies

  • protobuf-java and protobuf-java-util upgraded to 3.22.3 (#10045)

Acknowledgements

Don't miss a new grpc-java release

NewReleases is sending notifications on new releases.