Sourced from google.golang.org/grpc's releases.
Release 1.46.0
New Features
- server: Support setting
TCP_USER_TIMEOUT
ongrpc.Server
connections usingkeepalive.ServerParameters.Time
(#5219)
- Special Thanks:
@bonnefoa
- client: perform graceful switching of LB policies in the
ClientConn
by default (#5285)- all: improve logging by including channelz identifier in log messages (#5192)
API Changes
- grpc: delete
WithBalancerName()
API, deprecated over 4 years ago in #1697 (#5232)- balancer: change BuildOptions.ChannelzParentID to an opaque identifier instead of int (#5192)
- Note: the balancer package is labeled as EXPERIMENTAL, and we don't believe users were using this field.
Behavior Changes
- client: change connectivity state to
TransientFailure
inpick_first
LB policy when all addresses are removed (#5274)
- This is a minor change that brings grpc-go's behavior in line with the intended behavior and how C and Java behave.
- metadata: add client-side validation of HTTP-invalid metadata before attempting to send (#4886)
- Special Thanks:
@Patrick0308
Bug Fixes
- metadata: make a copy of the value slices in FromContext() functions so that modifications won't be made to the original copy (#5267)
- client: handle invalid service configs by applying the default, if applicable (#5238)
- xds: the xds client will now apply a 1 second backoff before recreating ADS or LRS streams (#5280)
Dependencies
- Upgrade security/authorization module dependencies to https://github.com/google/cel-go v0.10.1 and others (#5243)
- Special Thanks:
@TristonianJones
e8d06c5
Change version to 1.46.0 (#5296)efbd542
gcp/observability: correctly test this module in presubmit tests (#5300) (#5307)4467a29
gcp/observability: implement logging via binarylog (#5196)18fdf54
cmd/protoc-gen-go-grpc: allow hooks to modify client structs and service hand...337b815
interop: build client without timeout; add logs to help debug failures (#5294)e583b19
xds: Add RLS in xDS e2e test (#5281)0066bf6
grpc: perform graceful switching of LB policies in the ClientConn
by defaul...3cccf6a
xdsclient: always backoff between new streams even after successful stream (#...4e78093
xds: ignore routes with unsupported cluster specifiers (#5269)99aae34
cluster manager: Add Graceful Switch functionality to Cluster Manager (#5265)