gRPC Java 1.31.0 is released and available on Maven Central. The release should be available on JCenter shortly.
*gRPC Java 1.31.0 Release Notes* API Changes - api: ManagedChannelBuilder.nameResolverFactory is now marked deprecated. It has long been our plan to remove the function, but was not communicated. Most usages should be able to globally register via the SPI mechanism or NameResolverRegistry.register(). There is a plan to add a method to ManagedChannelBuilder to specify the default target scheme for the channel. If your use-case is not covered, please inform us on #7133 <https://github.com/grpc/grpc-java/issues/7133> New Features - The following new xDS functionality is added in this release: - Requests matching based on path <https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-routematch> (prefix, full path and safe regex) and headers <https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-headermatcher> . - Requests routing to multiple clusters based on weights <https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-weightedcluster> . - The xDS features supported in a given release are documented here <https://github.com/grpc/grpc/blob/master/doc/grpc_xds_features.md>. - api: Added LoadBalancer.Helper.createResolvingOobChannelBuilder(). It is similar to LoadBalancer.Helper.createResolvingOobChannel() except allows configuring the channel (#7136 <https://github.com/grpc/grpc-java/pull/7136>) Bug Fixes - netty: return status code unavailable when netty channel has unresolved InetSocketAddress (#7023 <https://github.com/grpc/grpc-java/pull/7023>) - core: fix a bug that a call may hang when using manual flow control and gRPC retry is enabled (#6817 <https://github.com/grpc/grpc-java/issues/6817>) Documentation - stub: Documented more behavior of ClientCalls and ServerCalls, with regard to ClientResponseObserver, ClientCallStreamObserver, ServerCallStreamObserver, and exceptions - api: Documented how Providers may be used in their respective class documentation. Previously you “just had to know” the SPI mechanism was available Dependencies - Update guava to 29.0 (#7079 <https://github.com/grpc/grpc-java/pull/7079>) Examples - examples: Add client/server retrying example via service config #7111 <https://github.com/grpc/grpc-java/pull/7111> Acknowledgements @alexanderscott <https://github.com/alexanderscott> @AnarSultanov <https://github.com/AnarSultanov> @cindyxue <https://github.com/cindyxue> @d-reidenbach <https://github.com/d-reidenbach> @elharo <https://github.com/elharo> @gsharma <https://github.com/gsharma> @reggiemcdonald <https://github.com/reggiemcdonald> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CALUXJ7hgGNw2ohQU5Dfbhc4MYmWSpaL80Jp_JUjbNSp7vR4%3Dkg%40mail.gmail.com.
