Skip to content

v1.35.0

Compare
Choose a tag to compare
@ericgribkoff ericgribkoff released this 14 Jan 02:37
· 1646 commits to master since this release

Bug Fixes

  • core: Fix CompositeChannelCredentials to no longer use CallCredentials for OOB channels. OOB channels are available for load balancing policies to use to communicate with an LB server. It is mainly used by gRPC-LB. This resolves the incompatibility of the 1.34.0 release with googleapis.com.
  • alts: Limit number of concurrent handshakes to 32. ALTS uses blocking RPCs for handshakes. If the handshake server has a limit to number of concurrent handshakes this can produce a deadlock. Limiting to 32 should workaround the problem for the majority of the cases. A later fix will allow handshake RPCs to be asynchronous
  • xds: Fix missed class relocations for generated code. grpc-xds previously exposed generated code for multiple 3rd-party protobuf generated code classes outside of the io.grpc package. They are now shaded to avoid colliding with other users of the classes
  • xds: Fix a user visible stack trace showing java.util.NoSuchElementException when the environment variable GRPC_XDS_EXPERIMENTAL_SECURITY_SUPPORT was set and the application contains an xDS configured gRPC server. The exception was benign and was seen when the connection was dropped before an SslContextProvider was available.
  • xds: Decouple xds channel creation and bootstrapping. This fixes the bug caused by the lifecycle mismatch between XdsClient and its channel to the xDS server. Creating a new XdsClient (previous one shutdown due to no Channel using it) would create and use a new xDS channel.
  • xds: Fix races between creating subchannls and Channel shutdown caused by delaying address/config propagation between LB policies. An exception will be thrown if Channel's shutdown() has been called and receiving an EDS update while the Channel has not completely shutdown.

Dependencies

  • Guava updated to 30.0-android
  • Animal Sniffer annotations updated to 1.19
  • Error Prone annotations updated to 2.4.0
  • Perfmark updated to 0.23.0
  • compiler: Linux artifacts now built using CentOS 7. Previously CentOS 6 was used, but that distribution is discontinued and no longer available in our build infrastructure
  • netty: Upgrade to Netty 4.1.52 and tcnative 2.0.34. Note that this Netty release enables TLSv1.3 support. mTLS failures with TLSv1.3 will have different error messages than in TLSv1.2
  • auth,alts: google-auth-library-java updated to 0.22.2
  • census: OpenCensus updated to 0.28.0
  • protobuf: googleapi’s common protos updated to 2.0.1
  • okhttp: Okio updated to 1.17.5
  • xds: re2j updated to 1.5
  • xds: bouncycastle updated to 1.67
  • gradle: bumped protobuf-gradle-plugin version to 0.8.14
  • android, cronet: upgraded the latest support Android version to 29

Acknowledgments

@amnox
@horizonzy
@wanyingd1996