Skip to content

Releases: grpc/grpc-go

Release 1.7.3

14 Nov 21:51
Compare
Choose a tag to compare
  • addrConn: set ac.state to TransientFailure upon non-temporary errors (#1657)
  • addrConn: eliminate race on ac.acbw (#1665)
  • server: apply deadline to new connections until all handshaking is completed (#1646)
  • latency: Listen on localhost:0 instead of :0 in test (#1640)

Release 1.7.2

03 Nov 18:26
Compare
Choose a tag to compare
  • Check ac state shutdown before setting it to TransientFailure (#1643)

Release 1.7.1

25 Oct 22:06
Compare
Choose a tag to compare
  • Fix connectivity state transitions when dialing #1596

Release 1.7.0

11 Oct 17:42
Compare
Choose a tag to compare

Dependencies

  • Remove Go1.6 support (#1492)

API Changes

  • Add new Resolver and Balancer APIs (gRFC L9) (#1408)
  • New implementation of roundrobin and pickfirst (#1506)

Behavior Changes

  • Truncate payload trace string, and turn trace off by default (#1509)

New Features

  • Make IO Buffer size configurable. (#1544)
  • DNS with new API (#1513)

Performance Improvements

  • Use the same hpack encoder on a transport and share it between RPCs. (#1536)

Bug Fixes

  • transport: fix racey send to writes channel in WriteStatus (#1546)
  • Use Type() method for OAuth tokens instead of accessing TokenType field. (#1537)
  • Dedicated goroutine for writing. (#1498)

Documentation

  • Update UnknownServiceHandler comment to be clearer about interceptor behavior (#1566)

Release 1.6.0

30 Aug 18:25
Compare
Choose a tag to compare

API Changes

  • Add and use connectivity package for states (#1430)
  • metadata: Remove NewContext and FromContext for gRFC L7 (#1392)
  • Remove expiration_interval from grpclb message (#1477)

Features

  • Add status details support to server HTTP handler (#1438)
  • stats: add methods to allow setting grpc-trace-bin and grpc-tags-bin headers (#1404)
  • Expose ConnectivityState of a ClientConn. (#1385)
  • DNS resolver (#1300)

Performance

  • Put *gzip.Writer back to pool (#1441)
  • Remove defer funtion in recvBufferReader Read method (#1031)

Bug fixes

  • When sending a non heads-up goaway close the connection if there are no active streams. (#1474)
  • Fix grpclb protos to not cause re-registration of types (#1466)
  • transport: fix handling of InTapHandle's returned context (#1461)
  • transport: Fix deadlock in client keepalive. (#1460)
  • Deduplicate dns record in lookup (#1454)
  • Fix host string passed to PerRPCCredentials (#1433)
  • Fix a goroutine leak in DialContext (#1424)
  • Set peer before sending request (#1423)
  • Don't use 64-bit integers with atomic. (#1411)
  • Automatic WriteStatus for RecvMsg/SendMsg error on server side (#1409)
  • Server should send 2 goaway messages to gracefully shutdown the connection. (#1403)
  • Enabling client process multiple GoAways (#1393)
  • addrConn: change address to slice of address (#1376)
  • Do not create new addrConn when connection error happens (#1369)
  • Validate send quota again after acquiring writable channel (#1367)

Documentation

  • add comment for the package in benchmark/benchmain/main.go (#1464)
  • Add -u to installation command (#1451)
  • Update ServerInHandle comments (#1437)
  • Add 'experimental' note to ServeHTTP godoc (#1429)
  • Use NewOutgoingContext in the metadata doc (#1425)
  • Fix missing and wrong license (#1422)
  • Change comment on stats.End.Error (#1418)
  • Document Server.ServeHTTP (#1406)
  • Use log instead of grpclog in routeguide example (#1395)
  • Add doc in default implementation fatal functions on os.Exit() (#1365)

Testing

  • Check "x/net/context" with go vet like "context" (#1490)
  • Remove unnecessary function handleStreamSuspension (#1468)
  • Call cancel function to avoid ctx leak (#1465)
  • go-generate pb.go files and check in Travis to make sure they don't change (#1426)
  • Add flags for tls file path (#1419)
  • Call cancel on contexts in tests (#1412)
  • benchmark: don't stop timer until after workers are done (#1407)
  • Assign testdata path to correct variable (#1397)
  • Do not call testdata.Path when defining flags (#1394)
  • Fix bufconn.Close to not be blocking. (#1377)
  • benchmark: add benchmain/main.go to run benchmark with flag set (#1352)
  • benchmark: remove multi-layer for loop (#1339)
  • Add testdata package and unify testdata to only one dir (#1297)

Release 1.5.2

14 Aug 22:26
Compare
Choose a tag to compare
  • Expose ConnectivityState of a ClientConn. (#1385)
  • Enabling client process multiple GoAways (#1393)
  • Server should send 2 goaway messages to gracefully shutdown the connection. (#1403)
  • Set peer before sending request (#1423)
  • Add and use connectivity package for states (#1430)

Release 1.5.1

27 Jul 17:44
Compare
Choose a tag to compare
  • Do not create new addrConn when connection error happens (#1369)

Release 1.5.0

19 Jul 21:41
Compare
Choose a tag to compare

Performance

  • BDP estimation and window update. (#1310)
  • Do not flush NewStream header on client side for unary RPCs and streaming RPCs with requests. (#1343)
  • Change objects in recvBuffer queue from interface to concrete type to reduce allocs (#1029)
  • Don't create new reader in recvMsg (#940)

API change

  • Add support for grpc.SupportPackageIsVersion3 back (#1331)
  • Add Severity and VerboseLevel to grpclog. (#922)

Behavior change

  • Transport errors should be coded Unavailable instead of internal. (#1307)
  • Catch invalid use of Server.RegisterService after Register.Serve (#828)

Bug fixes

  • Fix deadlock of roundrobin balancer (#1353)
  • Use log severity and verbosity level (#1340)
  • Protect bytesSent and bytesReceived with mutex to avoid datarace (#1318)
  • Support IPv6 addresses in grpclb (#1303)
  • Return header in Stream.Header() if available (#1281)
  • Fix error handling on Stream deletion (#1275)

Documentation

  • Add documentation to deprecate WithTimeout dial option (#1333)
  • Specify characters allowed in metadata keys (#1299)
  • Update LICENSE to Apache 2 (#1290)
  • Update the path of guide (#950)

Testing

  • latency: sleep in Write when BDP is exceeded to avoid buffer bloat (#1330)
  • Replace 127.0.0.1 with localhost for ipv6 only environment (#1306)
  • Create latency package for realistically simulating network latency (#1286)
  • Use subtests for the benchmark_test and add it into the Makefile (#1278)

Release 1.4.2

22 Jun 20:41
Compare
Choose a tag to compare
  • Protect bytesSent and bytesReceived with mutex to avoid datarace (#1318)

Release 1.4.1

14 Jun 21:56
Compare
Choose a tag to compare
  • transport: fix error handling on Stream deletion (#1275)