Skip to content

Release 1.9.0

Compare
Choose a tag to compare
@dfawley dfawley released this 02 Jan 23:22
· 8 commits to v1.9.x since this release
f3955b8

API Changes

  • grpc: fix deprecation comments to conform to standard (#1691)
  • Add comments to ClientConn/SubConn interfaces to indicate new methods may be added (#1680)

Behavior Changes

  • client: backoff before reconnecting if an HTTP2 server preface was not received (#1648)

New Features

  • status: add Code convenience function (#1754)
  • Add WithResolverUserOptions for custom resolver build options (#1711)
  • Add dial option to set balancer (#1697)
  • Switch balancer to grpclb when at least one address is grpclb address (#1692)
  • Re-resolve target when one connection becomes TransientFailure (#1679)

Performance Improvements

  • protoCodec: avoid buffer allocations if proto.Marshaler/Unmarshaler (#1689)

Bug Fixes

  • server: fix race between GracefulStop and new incoming connections (#1745)
  • After sending second goaway close conn if idle. (#1736)
  • In graceful stop close server transport only after flushing status of the last stream. (#1734)
  • client: fix race between server response and stream context cancellation (#1729)
  • use the request context with net/http handler (#1696)
  • Eliminate data race in ccBalancerWrapper (#1688)
  • transport: fix race sending RPC status that could lead to a panic (#1687)
  • Fix panics on balancer and resolver updates (#1684)

Documentation

  • Fix grpc basics link in route_guide example (#1713)
  • Fix misleading default resolver scheme comments (#1703)