Skip to content

Releases: grpc/grpc-go

Release 1.24.0

25 Sep 20:52
f6d0f9e
Compare
Choose a tag to compare

Dependencies

  • internal: update proto library version used to generate pb.go files (#3025)

New Features

  • xds: add functionality to read bootstrap file. (#3000)

Performance Improvements

  • transport: remove defer in http2Client.getStream (#2980)
  • transport: derive transport context from context.Background (#2930)

Bug Fixes

  • client: consider service config invalid if loadBalancingConfig contains no supported policy (#3034)
  • credentials/alts: fix panic detecting GCP environment (#2996)
  • internal: fix context leak when stream is not created successfully (#2985)
  • grpclb: fix deadlock in grpclb connection cache (#3017)
  • server: set and advertise max frame size of 16KB (#3018)

Release 1.21.4

17 Sep 20:46
Compare
Choose a tag to compare
  • server: set and advertise max frame size of 16KB (#3018)

Release 1.23.1

11 Sep 18:55
Compare
Choose a tag to compare
  • server: set and advertise max frame size of 16KB (#3018)

  • grpclb: fix deadlock in grpclb connection cache (#3017)

    Before the fix, if the timer to remove a SubConn fires at the same time
    NewSubConn cancels the timer, it caused a mutex leak and deadlock.

Release 1.22.3

11 Sep 18:15
Compare
Choose a tag to compare
  • server: set and advertise max frame size of 16KB (#3018)

  • grpclb: fix deadlock in grpclb connection cache (#3017)

    Before the fix, if the timer to remove a SubConn fires at the same time
    NewSubConn cancels the timer, it caused a mutex leak and deadlock.

Release 1.23.0

13 Aug 19:34
6eaf6f4
Compare
Choose a tag to compare

Security

API Changes

  • xds: move code to a root level xds directory (#2950)

Behavior Changes

  • client: remove option to send RPCs before HTTP/2 handshake is completed (#2904)

New Features

  • grpclb: enable keepalive (#2918)
  • balancer: start populating weight by edsbalancer for weighted_round_robin (#2945)
  • wrr: add EDF implementation of weighted round robin. (#2957)
  • status: Implement *statusError.Is (#2868)
    • Special Thanks: @jsm

Performance Improvements

  • server: avoid an unnecessary allocation per-RPC for OK status (#2920)
  • server: avoid call to trace.FromContext and resulting allocations when tracing is disabled (#2926)
  • http2client: remove unnecessary allocations for header fields (#2925)
  • status: avoid allocations when returning an OK status (#2929)
  • server: avoid allocations related to tracking excessive pings (#2923)

Bug Fixes

  • transport: call Unlock in defer to avoid data race (#2953)
  • client: fix canceled vs deadline exceeded double-check logic (#2906)
  • grpclb: recreate SubConns when switching fallback in case credentials change (#2899)
  • server: populate WireLength on stats.InPayload for unary RPCs (#2932)
  • client: fix race between transport draining and new RPCs (#2919)
  • balancer: filter out grpclb addresses if balancer is not grpclb (#2907)

Documentation

  • docs: clarify "deprecated" to indicate whether some features may be removed in 1.x (#2900)

Release 1.22.2

13 Aug 18:15
Compare
Choose a tag to compare

Security

Release 1.21.3

13 Aug 18:15
Compare
Choose a tag to compare

Security

Release 1.22.1

25 Jul 17:23
Compare
Choose a tag to compare
  • server: populate WireLength on stats.InPayload for unary RPCs

Release 1.21.2

25 Jul 16:57
Compare
Choose a tag to compare
  • server: populate WireLength on stats.InPayload for unary RPCs

Release 1.22.0

02 Jul 21:04
1d89a3c
Compare
Choose a tag to compare

New Features

  • balancer/resolver: add loadBalancingConfig and pre-parsing support (#2732)

Performance Improvements

  • transport: share recv buffers (#2813)
  • Remove call to proto.Clone() in http2Server.WriteStatus. (#2842)

Bug Fixes

  • balancer: stop using picker from old balancer when switching balancers (#2833)
  • server: fix race causing streams to be terminated by GracefulStop (#2857)
  • grpclb: only force update picker when cache is used (#2843)
  • metadata: write original md before appended md (#2879)
  • transport: fix bug leading to hang when invalid headers are received (#2818)
  • client: don't reset backoff if updating addresses while in TransientFailure (#2740)

Documentation

  • examples: note about ALTS special access permission on GCP (#2846)