Skip to content

Release 1.4.0

Compare
Choose a tag to compare
@menghanl menghanl released this 07 Jun 18:20
· 7 commits to v1.4.x since this release

New features

  • Implement EmptyCallOption (#1244)
  • Adding dial options for PerRPCCredentials (#1225)
  • Expand service config support (#1165)

Performance

  • Piggyback window updates for connection with those of a stream. (#1273)
  • Decouple transport flow control from application read. (#1265)
  • Expand stream's flow control in case of an active read. (#1248)
  • Eagerly set a pointer to nil to help GC (#1232)
  • Use pooled gzip.{Writer,Reader} in gzip{Compressor,Decompressor} (#1217)
  • Make window size configurable. (#1210)

Bug fixes

  • Server shouldn't Fatalf in case it fails to encode. (#1276)
  • Avoid uint32 overflow when applying initial window size setting (#1268)
  • Initialize stream properly in handler_server. (#1260)
  • Avoid panic caused by stdlib context package errors (#1258)
  • grpclb balancer.Close() should not panic if called more than once (#1250)
  • Reuse Token for serviceAccount credentials (#1238)
  • add logs to grpclb on send and recv (#1235)
  • Calling handleRPC with context derived from the original (#1227)
  • Reset proto before unmarshalling (#1222)
  • don't add defer func if stats handler is nil (#1214)
  • Fix go buildable source file problem (#1213)
  • Pass custom dialer to balancer (#1205)
  • Fix http status code to grpc status conversion (#1195)
  • make ServerOption panic messages more clear. (#1194)
  • Log the actual error when inTapHandle fails in http2Server (#1185)
  • tentative fix to a flow control over-give-back bug (#1170)
  • Add stats test for client streaming and server streaming RPCs (#1140)
  • Ensure that RoundRobin.Close() does not panic. (#1139)
  • fix server panic trying to send on stream as client disconnects #1111 (#1115)
  • Suppress server log message when EOF without receiving data for preface (#1052)
  • clientconn, server: replace time.After with time.NewTimer (#998)
  • reflection: check ServerReflectionInfo error (#958)

Documentation

  • transport: fix minor typo in 'GoAway' godoc (#1284)
  • Update references to route_guide.proto to use new directory name (#1270)
  • Improve contributing.md and add issue template (#1267)
  • Fixed comment spelling (#1254)
  • Defined GA and add pointer to benchmarks (#1239)
  • Add doc and example for mocking streaming RPCs (#1230)
  • Fix doc (#1221)
  • stress/client: fix minor typo (#957)

Testing

  • add MaxConcurrentStreams to benchmark_test when start the server (#1271)
  • re-enable handler_server in end2end test, and fix some failed tests (#1259)
  • call listen with "localhost:port" instead of ":port" in tests (#1237)
  • Travis: add staticcheck (#1019)