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.
On Wednesday, October 11, 2017 at 6:18:03 PM UTC-7, Penn (Dapeng) Zhang wrote: > > 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 > <https://github.com/grpc/grpc-java/pull/3379>, #3483 > <https://github.com/grpc/grpc-java/pull/3483>) > - Fix transport spuriously in notInUse state (#3374 > <https://github.com/grpc/grpc-java/pull/3374>) > - We now wait until all streams are closed before terminating a Netty > connection (#3386 <https://github.com/grpc/grpc-java/pull/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 > > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f0efb128-de12-465b-bd7c-016ce3d73907%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
