Skip to content

Releases: grpc/grpc-go

Release 1.39.0

29 Jun 18:36
ebf6a4b
Compare
Choose a tag to compare

Behavior Changes

  • csds: return empty response if xds client is not set (#4505)
  • metadata: convert keys to lowercase in FromContext() (#4416)

New Features

  • xds: add GetServiceInfo to GRPCServer (#4507)
  • xds: add test-only injection of xds config to client and server (#4476)
  • server: allow PreparedMsgs to work for server streams (#3480)

Performance Improvements

  • transport: remove decodeState from client & server to reduce allocations (#4423)

Bug Fixes

  • server: return UNIMPLEMENTED on receipt of malformed method name (#4464)
  • xds/rds: use 100 as default weighted cluster totalWeight instead of 0 (#4439)
  • transport: unblock read throttling when controlbuf exits (#4447)
  • client: fix status code to return Unavailable for servers shutting down instead of Unknown (#4561)

Documentation

  • doc: fix broken benchmark dashboard link in README.md (#4503)
  • example: improve hello world server with starting msg (#4468)
  • client: Clarify that WaitForReady will block for CONNECTING channels (#4477)

Release 1.38.1

29 Jun 21:54
af7e45c
Compare
Choose a tag to compare

internal/transport: do not mask ConnectionError (#4561)

Release 1.38.0

19 May 22:23
0257c86
Compare
Choose a tag to compare

API Changes

  • reflection: accept interface instead of grpc.Server struct in Register() (#4340)
  • resolver: add error return value from ClientConn.UpdateState (#4270)

Behavior Changes

  • client: do not poll name resolver when errors or bad updates are reported (#4270)
  • transport: InTapHandle may return RPC status errors; no longer RST_STREAMs (#4365)

New Features

  • client: propagate connection error causes to RPC status (#4311, #4316)
  • xds: support inline RDS resource from LDS response (#4299)
  • xds: server side support is now experimentally available
  • server: add ForceServerCodec() to set a custom encoding.Codec on the server (#4205)

Performance Improvements

  • metadata: reduce memory footprint in FromOutgoingContext (#4360)

Bug Fixes

  • xds/balancergroup: fix rare memory leak after closing ClientConn (#4308)

Documentation

  • examples: update xds examples for PSM security (#4256)
  • grpc: improve docs on StreamDesc (#4397)

Release 1.37.1

11 May 21:58
64031cb
Compare
Choose a tag to compare
  • client: fix rare panic when shutting down client while receiving the first name resolver update (#4398)
  • client: fix leaked addrConn struct when addresses are updated (#4347)
  • xds/resolver: prevent panic when two LDS updates are receives without RDS in between (#4327)

Release 1.37.0

07 Apr 18:22
daba805
Compare
Choose a tag to compare

API Changes

  • balancer: Add UpdateAddresses() to balancer.ClientConn interface (#4215)
    • NOTICE: balancer.SubConn.UpdateAddresses() is now deprecated and will be REMOVED in gRPC-Go 1.39

Behavior Changes

  • balancer/base: keep address attributes for pickers (#4253)

New Features

  • xds: add support for csds (#4226, #4217, #4243)
  • admin: create admin package for conveniently registering standard admin services (#4274)
  • xds: add support for HTTP filters (gRFC A39) (#4206, #4221)
  • xds: implement fault injection HTTP filter (A33) (#4236)
  • xds: enable timeout, circuit breaking, and fault injection by default (#4286)
  • xds: implement a priority based load balancer (#4070)
  • xds/creds: support all SAN matchers on client-side (#4246)

Bug Fixes

  • xds: add env var protection for client-side security (#4247)
  • circuit breaking: update picker inline when there's a counter update (#4212)
  • server: fail RPCs without POST HTTP method (#4241)

Release 1.36.1

25 Mar 23:03
05138c1
Compare
Choose a tag to compare
  • xds: add env var protection for client-side security (#4247)

Release 1.35.1

12 Mar 21:57
8fe90ad
Compare
Choose a tag to compare
  • encoding/proto: do not panic when types do not match (#4218)
  • xds: add env var protection for client-side security (#4247)

Release 1.34.2

12 Mar 21:54
2b69070
Compare
Choose a tag to compare
  • encoding/proto: do not panic when types do not match (#4218)
  • xds: add env var protection for client-side security (#4247)

Release 1.36.0

24 Feb 22:55
f74f033
Compare
Choose a tag to compare

New Features

  • xds bootstrap: support config content in env variable (#4153)

Bug Fixes

  • encoding/proto: do not panic when types do not match (#4218)

Documentation

protoc-gen-go-grpc v1.1.0

15 Jan 18:55
938f6e2
Compare
Choose a tag to compare
  • Export grpc.ServiceDesc (#4035)
  • Add gRPC-Go version comment (#4152)