gRPC v1.31.0 Release Notes
Release Date: 2020-07-30 // over 3 years ago-
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 orNameResolverRegistry.register()
. There is a plan to add a method toManagedChannelBuilder
to specify the default target scheme for the channel. If your use-case is not covered, please inform us on #7133
π New Features
- π The following new xDS functionality is added in this release:
- π§ api: Added
LoadBalancer.Helper.createResolvingOobChannelBuilder()
. It is similar toLoadBalancer.Helper.createResolvingOobChannel()
except allows configuring the channel (#7136)
π Bug Fixes
- netty: return status code unavailable when netty channel has unresolved InetSocketAddress (#7023)
- core: fix a bug that a call may hang when using manual flow control and gRPC retry is enabled (#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)
Examples
- examples: Add client/server retrying example via service config #7111
Acknowledgements
@alexanderscott
@AnarSultanov
@cindyxue
@d-reidenbach
@elharo
@gsharma
@reggiemcdonald - π api: