ServiceTalk v0.24.0 Release Notes

Release Date: 2020-03-11 // about 4 years ago
  • ๐Ÿ”„ Changes

    ๐Ÿš€ This release contains the following significant changes:

    ๐Ÿ†• New Features and API Changes

    • 592a0c1 - Expose SocketOption querying on ConnectionContext API (#950)
    • 001f579 - Expose protocol name at ConnectionContext API (#955)
      • This also introduces HttpConnectionContext interface that may cause compilation errors for users who filter HTTP connections.

    ๐Ÿ› Bug Fixes

    • 66db739 - HostHeaderHttpRequesterFilter does not work for HTTP/2 (#944)
    • e035da6 - Disable netty's go away handling for H2 (#946)
    • 8e4f570 - MultiAddressUrl client fails to send http request after https request (#962)

    ๐ŸŽ Performance optimizations:

    • 82e0431 - Use PooledByteBufAllocator for netty internally (#942)
    • โšก๏ธ 1653fc7 - Optimize ProtoBufSerializationProvider by minimizing copying (#943)
    • c585735 - Allocate smaller ArrayDeque for NettyChannelPublisher.addPending (#945)

    ๐ŸŽ These changes significantly improve performance for HTTP/2 and gRPC protocols.

    ๐Ÿ‘Œ Improvements

    • โœ… c4ab887 - WriteStreamSubscriber and WriteListener cleanup (#923)
    • a8ea7e6 - gRPC BlockingResponseStreamingRoute expects only one request item (#947)
    • cf885d1 - Reduce probability of LB selecting an unusable connection (#948)
    • cc466dc - Don't re-use *Exceptions when stored in static fields if enableSuppression can not be set to false (#958)

    โฌ†๏ธ Dependencies upgrade

    • netty 4.1.47
    • netty-tcnative 2.0.29
    • jersey 2.30.1
    • grpc-java 1.27.1
    • protobuf-java 3.11.4
    • ๐Ÿ”Œ protobuf-gradle-plugin 0.8.12
    • zipkin 2.20.1
    • log4j 2.13.1
    • javapoet 1.12.1
    • jmh 1.23

    Thank you

    Every idea and bug-report counts and so we thought it is worth mentioning those who helped in this area. Please report an unintended omission.