Sourced from google.golang.org/grpc's releases.
Release 1.70.0
Behavior Changes
- client: reject service configs containing an invalid retryPolicy in accordance with gRFCs A21 and A6. (#7905)
- Note that this is a potential breaking change for some users using an invalid configuration, but continuing to allow this behavior would violate our cross-language compatibility requirements.
New Features
- xdsclient: fallback to a secondary management server (if specified in the bootstrap configuration) when the primary is down is enabled by default. Can be disabled by setting the environment variable
GRPC_EXPERIMENTAL_XDS_FALLBACK
tofalse
. (#7949)- experimental/credentials: experimental transport credentials are added which don't enforce ALPN. (#7980)
- These credentials will be removed in an upcoming grpc-go release. Users must not rely on these credentials directly. Instead, they should either vendor a specific version of gRPC or copy the relevant credentials into their own codebase if absolutely necessary.
Bug Fixes
- xds: fix a possible deadlock that happens when both the client application and the xDS management server (responsible for configuring the client) are using the xds:/// scheme in their target URIs. (#8011)
Performance
- server: for unary requests, free raw request message data as soon as parsing is finished instead of waiting until the method handler returns. (#7998)
- Special Thanks:
@lqs
Documentation
- examples/features/gracefulstop: add example to demonstrate server graceful stop. (#7865)
98a0092
Change version to 1.70.0 (#7984)bf380de
Cherrypick #7998,
#8011,
#8010
into 1.70.x (#8028)54b3eb9
experimental/credentials: Add credentials that don't enforce ALPN (#7980)
(#8...62b9185
clustetresolver: Copy endpoints.Addresses slice from DNS updates to
avoid dat...724f450
examples/features/csm_observability: use helloworld client and server
instead...e8d5feb
rbac: add method name to :path in headers (#7965)e912015
cleanup: Fix usages of non-constant format strings (#7959)681334a
cleanup: replace dial with newclient (#7943)063d352
internal/resolver: introduce a new resolver to handle target URI and
proxy ad...10c7e13
outlierdetection: Support health listener for ejection updates (#7908)