Sourced from google.golang.org/grpc's releases.
Release 1.52.0
New Features
- xdsclient: log node ID with verbosity INFO (#5860)
- ringhash: impose cap on
max_ring_size
to reduce possibility of OOMs (#5801)Behavior Changes
- client: return an error from
Dial
if an empty target is passed and no custom dialer is present; the ClientConn would otherwise be unable to connect and perform RPCs (#5732)
- Special Thanks:
@huangchong94
Bug Fixes
- transport (net/http server handler): respond to bad HTTP requests with status 400 (Bad Request) instead of 500 (Internal Server Error). (#5804)
- Special Thanks:
@sjbarag
- transport: Fixed closing a closed channel panic in handlePing (#5854)
- server: fix ChainUnaryInterceptor and ChainStreamInterceptor to allow retrying handlers (#5666)
- Special Thanks:
@yiminc
- transport: ensure value of
:authority
header matches server name used in TLS handshake when the latter is overridden by the name resolver (#5748)
- Special Thanks:
@holdno
Documentation
- examples: add an example to illustrate the usage of stats handler (#5657)
- Special Thanks:
@Yash-Handa
- examples: add new example to show updating metadata in interceptors (#5788)
- Special Thanks:
@richzw
ce56cef
Change version to 1.52.0 (#5870)a0e8eb9
test: rename race.go to race_test.go (#5869)ae86ff4
benchmark: fix typo in ClientReadBufferSize feature name (#5867)e53d28f
xdsclient: log node ID with verbosity INFO (#5860)9373e5c
transport: Fix closing a closed channel panic in handlePing (#5854)2f413c4
transport/http2: use HTTP 400 for bad requests instead of 500 (#5804)5003029
testutils: do a better job of verifying pick_first in tests (#5850)3e27f89
binarylog: Account for key in metadata truncation (#5851)f54bba9
test/xds: minor cleanup in xDS e2e test (#5843)a9709c3
Added logs for reasons causing connection and transport close (#5840)