Sourced from google.golang.org/grpc's releases.
Release 1.72.0
Dependencies
- Minimum supported Go version is now 1.23 (#8108)
API Changes
- resolver: add experimental
AddressMapV2with generics to ultimately replaceAddressMap. DeprecateAddressMapfor deletion (#8187)- resolver: convert EndpointMap in place to use generics (#8189)
New Features
- xds: add
grpc.xds_client.server_failurecounter metric on xDS client to record connectivity errors (#8203)- balancer/rls: allow
maxAgeto exceed 5 minutes ifstaleAgeis set in the LB policy configuration (#8137)- ringhash: implement gRFC A76 improvements. (#8159)
Bug Fixes
- xds: fix support for circuit breakers and load reporting in LOGICAL_DNS clusters (#8169, #8170)
- cds: improve RPC error messages when resources are not found (#8122)
- priority: fix race that could leak balancers and goroutines during shutdown (#8095)
- stats/opentelemetry: fix trace attributes message sequence numbers to start from 0 (#8237)
- balancer/pickfirstleaf: fix panic if deprecated Address.Metadata field is set to a non-comparable value by ignoring the field (#8227)
Behavior Changes
- transport: make servers send an HTTP/2 RST_STREAM frame to cancel a stream when the deadline expires (#8071)
Documentation
- stats: clarify the expected sequence of events on a stats handler (#7885)
- Special Thanks:
@​RyanBlaneyRelease 1.71.1
Bug Fixes
- grpc: fix a bug causing an extra Read from the compressor if a compressed message is the same size as the limit. This could result in a panic with the built-in gzip compressor (#8178)
- xds: restore the behavior of reading the bootstrap config before creating the first xDS client instead of at package init time (#8164)
- stats/opentelemetry: use
TextMapPropagatorandTracerProviderfromTraceOptionsinstead of OpenTelemetry globals (#8166)- client: fix races when an http proxy is configured that could lead to deadlocks or panics (#8195)
- client: fix bug causing RPC failures with message "no children to pick from" when using a custom resolver that calls the deprecated
NewAddressAPI (#8149)- wrr: fix slow processing of address updates that could result in problems including RPC failures for servers with a large number of backends (#8179)
a43eba6
Change version to 1.72.0 (#8218)48f48c1
balancer/pickfirstleaf: Avoid reading Address.Metadata (#8227)
(#8259)fd6f585
Cherry-pick #8159
and #8243 to
v1.72.x (#8255)79ca174
stats/opentelemetry: fix trace attributes message sequence numbers to
start f...57a2605
xdsclient: fix TestServerFailureMetrics_BeforeResponseRecv test to wait
for w...5edab9e
xdsclient: add grpc.xds_client.server_failure counter mertric (#8203)78ba661
regenerate protos (#8208)6819ed7
delegatingresolver: Stop calls into delegates once the parent resolver
is clo...a51009d
resolver: convert EndpointMap to use generics (#8189)b0d1203
resolver: create AddressMapV2 with generics to replace AddressMap (#8187)