gRPC Java 1.7.0 released

130 views
Skip to first unread message

Penn (Dapeng) Zhang

unread,
Oct 11, 2017, 9:18:03 PM10/11/17
to grpc.io
gRPC Java 1.7.0 is now released. Thank you for all your contributions. Full release notes:

Important Changes:

  • Update protobuf to 3.4.0
  • Update netty to 4.1.16

Features:

  • Provide demos for manual flow-control and back-pressure
  • OkHttp client supports setting GET method in headers
  • Support client inbound gzipped streams
  • io.grpc.Context now emits a SEVERE warning if it detects the length is abnormally long
  • Record individual message sizes with Census/Tracing
  • Allow to fallback to ServiceLoader.load without Classloader to make gRCP more OSGi friendly
  • Minor memory reductions
  • ManagedChannels log a warning when not properly shutdown

Bug Fixes:

  • Fix Bazel naming/path-manipulation bug (#3379#3483)
  • Fix transport spuriously in notInUse state (#3374)
  • We now wait until all streams are closed before terminating a Netty connection (#3386)

Incompatible Changes:

  • User supplied values for reserved headers are stripped (“user-agent”, “content-type”, “te”)
  • InprocessChannelBuilder and InprocessServerBuilder now throw an exception when using the static constructor inherited from their base class

Carl Mastrangelo

unread,
Oct 13, 2017, 2:09:40 PM10/13/17
to grpc.io
For the user provided headers like user-agent, note that this still works.   The specific change is that creating a custom header key and setting it will not work.   You can still set it on the Channel and the stub using the proper method call.
Reply all
Reply to author
Forward
0 new messages