gRPC Java 1.22.0 is released and should be available on Maven Central and
JCenter.

https://github.com/grpc/grpc-java/releases/tag/v1.22.0

Dependencies

   - upgrade netty version to 4.1.35 and netty-tcnative version to 2.0.25 (
   #5818 <https://github.com/grpc/grpc-java/pull/5818>)

Bug Fixes

   - core: fixed #5692 <https://github.com/grpc/grpc-java/issues/5692>:
   NameResolver refresh not triggered if empty addresses returned
   - services: fix HealthCheckingLoadBalancer.shutdown() (#5887
   <https://github.com/grpc/grpc-java/pull/5887>)
   - bazel: fixed a regression in v1.21 where java_grpc_library ignored
   custom java toolchains (#5844
   <https://github.com/grpc/grpc-java/pull/5844>)
   - ALTS connection setup and teardown is more stable, less noisy.
   - netty: some of the less interesting transport level exceptions are now
   fine level (#5873 <https://github.com/grpc/grpc-java/pull/5873>)
   - testing: resource leak is fixed for TestUtils#newSslSocketFactoryForCa

API Changes

   - protobuf-nano was deleted. The Protobuf project dropped support for
   nano in favor of javalite, which was causing trouble for gRPC’s
   development. Users of nano can continue using older grpc-protobuf-nano
   releases, as it only uses stable API. See gRFC L51
   <https://github.com/grpc/proposal/blob/master/L51-java-rm-nano-proto.md>.
   - LoadBalancer API sees a few changes that will help hierarchical
   implementations:
      - api: LoadBalancer.Helper and Subchannel is now further
      non-thread-safe. (#5718 <https://github.com/grpc/grpc-java/pull/5718>)
      - api: move SubchannelPicker.requestConnection() to LoadBalancer. (
      #5751 <https://github.com/grpc/grpc-java/pull/5751>)
      - api: pass Subchannel state updates to SubchannelStateListener
      rather than LoadBalancer (#5722
      <https://github.com/grpc/grpc-java/pull/5722>). Different from the
      old LoadBalancer#handleSubchannelState(), the new SubchannelStateListener
      continues to receive updates after LoadBalancer is shutdown. (#5883
      <https://github.com/grpc/grpc-java/pull/5883>)
      - api: Subchannel.requestConnection() will print a warning if called
      outside of sync-context (#5757
      <https://github.com/grpc/grpc-java/pull/5757>). We plan to make it
      throw eventually.
      - api: deprecate Helper.updateSubchannelAddresses() and add
      equivalent on Subchannel (#5802
      <https://github.com/grpc/grpc-java/pull/5802>)
   - netty,okhttp: The experimental and long-deprecated enableKeepAlive API
   was removed from the transport channel builders (#5795
   <https://github.com/grpc/grpc-java/pull/5795>). Setting the keep alive
   settings individually is still available and is stable API. The removed API
   was actively causing user issues because its defaults were too aggressive
   for the server’s defaults.
   - api: new method for removing values from Attributes.
   - core: some of the open census tags (method, status tags) are no longer
   propagated. This may break users who depends on the behavior that these
   tags propagate through process boundaries. (#5689
   <https://github.com/grpc/grpc-java/pull/5689>)

New Features

   - api: add getters for NameResolver.Args and NameResolverRegistry in
   LoadBalancer.Helper (#5685 <https://github.com/grpc/grpc-java/pull/5685>)
   (We are considering deleting getNameResolverRegistry() in the near future.
   Please reach out to us if you want to keep it).
   - netty: can log the stages of connecting (client side only), such as
   TLS.
   - Added perfmark <https://github.com/perfmark/perfmark> annotations to
   RPCs for local tracing.

Documentation

   - examples: use test certs for running example-tls (#5763
   <https://github.com/grpc/grpc-java/pull/5763>)
   - SECURITY.md: Add Fedora 30 package installation instructions (#5734
   <https://github.com/grpc/grpc-java/pull/5734>)
   - api,stub: Clarify isReady()/onReady() interaction semantics (#5799
   <https://github.com/grpc/grpc-java/pull/5799>)
   - examples: TLS examples are easier to run(#5715
   <https://github.com/grpc/grpc-java/pull/5715>)

Acknowledgements

   - Manuel Kollus @manuelkollus <https://github.com/manuelkollus>
   - Nick Travers @nicktrav <https://github.com/nicktrav>
   - Ryan Michela @rmichela <https://github.com/rmichela>
   - Ruben de Vries @rubensayshi <https://github.com/rubensayshi>
   - @rsgowman <https://github.com/rsgowman>
   - Sebastian Schmidt @schmidt-sebastian
   <https://github.com/schmidt-sebastian>
   - Yang Song @songy23 <https://github.com/songy23>
   - Tim van der Lippe @TimvdLippe <https://github.com/TimvdLippe>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CABu9GjrQ5Msnoa_k8fopCRUtyjNyq8oUAZUzu_NwFOaUuLyGLA%40mail.gmail.com.

Reply via email to