Skip to content

Releases: grpc/grpc-go

Release 1.3.0

28 Apr 21:38
Compare
Choose a tag to compare

API change

  • Never encode binary metadata within the metadata map (#1188)
  • Update grpclb proto and move grpclb into package grpc (#1186)
  • Change status package to deal with concrete types instead of interfaces (#1171)
  • Behavior change: do not strip out gRPC user-agent (#1158)
  • Separate incoming and outgoing metadata in context (#1157)
  • Add status package for reporting gRPC status and errors (#1156)
  • remove support for go1.5 (#1132)

New Feature

  • Client load report for grpclb. (#1200)
  • Client should update keepalive parameters upon receiving GoAway (#1169)
  • Implementation for server enforcement of keepalive policy. (#1147)
  • Add grpc.Version string and use it in the UA (#1144)
  • Support max age(#1119)
  • Support proxy with dialer (#1098)

Behavior change

  • populate initReq target name and fix IP []byte type in grpclb (#1145)
  • pick a random address if the current in use is deleted by resolver (#1135)
  • :authority should include port number (#1123)
  • Don't return an error from dial if the balancer returns no initial servers (#1112)

Bug fix

  • Fix nil pointer dereferences from status.FromProto(nil) (#1211)
  • Use unpadded base64 encoding for binary metadata headers; handle padded or unpadded input (#1209)
  • Use proto.Equal for equalities on Go proto messages (#1204)
  • Move handling stats.End to clientStream.finish() (#1182)
  • grpclb should connect to the second balancer (#1181)
  • add error handling for InvalidArgument error from sendResponse() (#1173)
  • transport: implement GoString on Stream (#1167)
  • Bug fix(Issue#1141): Check if peer is nil before trying to derefer it. (#1143)
  • Make sure all in-flight streams close when ClientConn.Close() is called. (#1136)

Performance

  • opt in to frame reuse on the framer to reduce garbage (#1096)
  • use proto.Buffer API for protobuf codec and cache proto.Buffer structs (#1010)

Documentation

  • add document to ClientHandshake about returning temporary error (#1125)

Release 1.2.1

07 Apr 19:10
Compare
Choose a tag to compare
  • Add grpc.Version string and use it in the UA (#1144)
  • transport: implement GoString on Stream (#1167)

Release 1.2.0

20 Mar 22:24
Compare
Choose a tag to compare

New features

  • Health check keep alive client side implementation #993
  • Client should have a check on maximum size of received message size #1117
  • ClientHandshake returns AuthInfo #956
  • Add calloption to retrieve peer information #1066

Bug fixes

  • Cap the client side default number of max concurrent streams per connection to 100 #1071
  • Use codes.Code.String() rather than logging integers #1027
  • Account for padding in flow control, when received frame uses it #1076
  • Client should send a RST_STREAM before freeing the quota on rpc context timeout #1124

Documentation

  • Add document and example for go mock #1021