Releases: grpc/grpc-go
Releases · grpc/grpc-go
Release 1.4.0
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
Release 1.3.0
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
Release 1.2.0
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