Skip to content

0.41.13

Compare
Choose a tag to compare
@idelpivnitskiy idelpivnitskiy released this 13 Jan 18:58
· 1520 commits to main since this release
020b425

Changes

This is a minor maintenance release appropriate for all ServiceTalk users that contains several bug fixes and improvements. It contains important bug fixes for retry logic configuration, upgrades netty to 4.1.73 which relaxes duplicated native library detection, protobuf to 3.19.2 which fixes a potential Denial of Service issue, log4j to 2.17.1 which fixes CVE-2021-44832.

New features

  • 6df6952 - Make exception mapper filters public (#2050)
    • HttpExceptionMapperServiceFilter and GrpcExceptionMapperServiceFilter can be used at any position in the filter chain to map Throwable(s) into a properly formatted HTTP/gRPC response.
  • 83d4b93 - Make HttpLifecycleObserverServiceFilter public (#2051)
    • In addition to [Http|Grpc]ServerBuilder#lifecycleObserver(...) method that captures entire state of the server processing chain, new HttpLifecycleObserverServiceFilter allows users to place lifecycle observer at any other position in the filter chain or apply conditionally.

API deprecation

Developer note: Additional API deprecation advisories and guidance have been added in each of the 0.41.X releases. Please build your application with the latest 0.41.X release and carefully review the deprecation warnings reported and associated suggestions. Changes to applications may be required for compatibility with future versions of ServiceTalk beyond the API compatible 0.41.X series. While there are many deprecations for planned future API changes, most applications should require few changes as the most significant changes are to internal or specialized APIs. If you have concerns or expect problems related to any of the API deprecations please report these as an issue.

  • 593d620 - Rename subscribeShareContext() to shareContextOnSubscribe() (#1975)
    • Deprecated subscribeShareContext() operator in Single, Completable, and Publisher, introduce shareContextOnSubscribe() as a replacement to clarify that this operator does not actually subscribes to the async source.

Bug fixes

  • c69078f - Prevent retry logic modifications through the builder (#2031)
  • eb72c09 - Allow using pre-existing AutoRetryStrategyProvider and RetryingHttpRequesterFilter together (#2042)
  • 6e3667f - Fix infinite retries under particular conditions (#2041) (#2049)

Improvements

  • c444966 - RoundRobinLoadBalancer: make targetResource logging less confusing (#2044)
  • 22ae4cb - Add more logging for GrpcRouter and other transport classes (#2055)

Documentation

Dependencies


Thank you

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