Note: v1.6.0 was mistagged and has been deleted. The binaries of v1.6.0 are effectively the same as v1.6.1. Important Changes
- Android users should no longer need -keeps in their ProGuard configuration (#2633 <https://github.com/grpc/grpc-java/issues/2633>) - gRPC is no longer using the current Thread’s “context ClassLoader” when searching for transport Providers (#2375 <https://github.com/grpc/grpc-java/issues/2375>). Instead it is using the current class’s ClassLoader. This should not break existing users and work out-of-the-box in a larger number of environments - Fix support for Google AppEngine Java 8 (#3296 <https://github.com/grpc/grpc-java/issues/3296>) - Log netty connection errors at FINE instead of SEVERE (#1768 <https://github.com/grpc/grpc-java/issues/1768>) - Update netty to 4.1.14 and tcnative to 2.0.5 (#3307 <https://github.com/grpc/grpc-java/pull/3307>) - Channel state API is now implemented via ManagedChannel.getState/notifyWhenStateChanged. This requires LoadBalancer support; custom LoadBalancers should be updated to call updateBalancingState() instead of updatePicker() - Referencing CallCredentials is now stable API (#3289 <https://github.com/grpc/grpc-java/pull/3289>). Implementing or consuming CallCredentials is still ExperimentalApi - New method ClientCallStreamObserver.cancel() allows clients to cancel RPCs without requiring using an interceptor or Context (#3115 <https://github.com/grpc/grpc-java/pull/3115>) Features - Census trace propagation on-the-wire is now enabled by default, but only if the Census Impl is available in the classpath (#3294 <https://github.com/grpc/grpc-java/pull/3294>) - Update google-auth-library-oauth2-http to 0.7.0 (#3188 <https://github.com/grpc/grpc-java/pull/3188>) - Update io.opencensus:opencensus-api to 0.5.1 (#3204 <https://github.com/grpc/grpc-java/pull/3204>) - CallOptions now passed to ClientStreamTracer.newClientStreamTracer ( #3276 <https://github.com/grpc/grpc-java/pull/3276>) - Allow custom hostname verifiers for OkHttp via OkHttpChannelBuilder.hostnameVerifier()(#3205 <https://github.com/grpc/grpc-java/pull/3205>) Bug Fixes - Calls should no longer fail with the message “Channel requested transport to shut down” when Channel.shutdown() was not called. The calls may still fail, but will have a more accurate message (#3351 <https://github.com/grpc/grpc-java/pull/3351>) - Clean up Context class initialization to avoid circular class loading issues (#3203 <https://github.com/grpc/grpc-java/pull/3203>, #3191 <https://github.com/grpc/grpc-java/pull/3191>) - Fix keepalive bug that sent too many pings (#3274 <https://github.com/grpc/grpc-java/issues/3274>) - Fixed “onStreamAllocated was not called, but it seems the stream is active” warning (#3007 <https://github.com/grpc/grpc-java/issues/3007>) Incompatible Changes - Pseudo headers (headers that begin with “:”) can no longer be set or retrieved (#3114 <https://github.com/grpc/grpc-java/pull/3114>). This has been the documented API, but now is being enforced - The object returned by Context.attach() must be the one passed into detach() (#3292 <https://github.com/grpc/grpc-java/pull/3292>) - When NameResolver returns >= 1 balancer GRPCLB policy will be forced ( grpc/grpc#10258 <https://github.com/grpc/grpc/pull/10258>) -- Spencer Fang -- 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/CAK%3D-x_5ds05cXCenPWTEnbECOL5QWjpNbXDvjJiHMF80F0cpow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
