Skip to content

0.41.6

Compare
Choose a tag to compare
@idelpivnitskiy idelpivnitskiy released this 24 Sep 21:13
· 1538 commits to main since this release
9a87b12

Changes

This is a minor maintenance release appropriate for all ServiceTalk users that contains several bug fixes and improvements.

JDK17-compatible ✅

New features

  • 258f33a - BeforeFinallyHttpOperator: add option to discard signals after cancellation (#1835)
  • 24ed0b3 - HTTP/gRPC LifecycleObserver API and logging implementations (#1824)
  • 801f82f - Add Netty macos aarch64 runtime dependencies (#1841)

API deprecation

Developer note: Additional API deprecation advisories and guidance has 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.

  • 0ad42cc - Deprecate IoExecutor create w/ ThreadFactory (#1811)
    • Introduces IoThreadFactory as a replacement for java.util.concurrent.ThreadFactory which will be required in the future to build an IoExecutor.
    • Adds new methods accepting IoThreadFactory and deprecates existing NettyIoExecutors factories that accept ThreadFactory.
  • 78c10b9 - Deprecated GrpcClientBuilder#MultiClientBuilder and GrpcClientBuilder#buildMulti method (#1808)
  • 69e98ae - Deprecate one-way boolean settings on builders (#1750) (#1823)
    • Deprecated GrpcClientBuilder.disableHostHeaderFallback in favor of GrpcClientBuilder.hostHeaderFallback(boolean);
    • Deprecated GrpcClientBuilder.disableDrainingRequestPayloadBody in favor of GrpcClientBuilder.drainRequestPayloadBody(boolean);
    • Deprecated HttpReporter.Builder.disableSpanBatching in favor of HttpReporter.Builder.spansBatchingEnabled(boolean);
    • Deprecated HttpServerBuilder.disableDrainingRequestPayloadBody in favor of HttpServerBuilder.drainRequestPayloadBody(boolean);
    • Deprecated SingleAddressHttpClientBuilder.disableHostHeaderFallback in favor of SingleAddressHttpClientBuilder.hostHeaderFallback(boolean);
  • 274f0d6 - Deprecate remaining disable* methods in builder APIs (#1825)
    • Deprecated DefaultAutoRetryStrategyProvider#disableWaitForLoadBalancer in favor of DefaultAutoRetryStrategyProvider#waitForLoadBalancer(boolean);
    • Deprecated DefaultAutoRetryStrategyProvider#disableRetryAllRetryableExceptions in favor of DefaultAutoRetryStrategyProvider#retryAllRetryableExceptions(boolean);
  • f3261db - Deprecating HttpServerBuilder protected methods (#1830)
    • Deprecated HttpServerBuilder#doListen;
    • Deprecated HttpServerBuilder#buildExecutionContext;

Bug fixes

  • e559ca8 - Prevent response publisher from being canceled before onComplete (#1838)

Improvements

  • 58c6e1d - Add missing subscribeShareContext to missing static sources (#1812)
  • 1c929b8 - Use internal NettyIoExecutors for public NettyIoExecutors (#1814)
  • 8be5b2b - LifecycleObservers: log responseTime and totalTime (#1843)

Improvements for tests

  • eb246be - Test utility ProxyTunnel wait for all input to copy (#1816)
  • 537a726 - ConnectionCloseHeaderHandlingTest don't write empty payload (#1818)
  • 1d22cec - Avoid appSerializerUtf8FixLen in tests if content-length is byte length (#1822)
  • dc92964 - Improve split cookie crumbs test in H2ToStH1UtilsTest (#1748)
  • cdd65b3 - Disable frequently flaky GracefulConnectionClosureHandlingTest(s) (#1840)

Build/Release/Github actions

  • f6fee95 - Github Actions: Switch to Zulu, Update PR builds JDK 16 -> 17 (#1837)
  • d48941f - Update gradlew wrapper 7.1.1 -> 7.2 (#1765)
  • 12891ee - Fix grpc-protoc maven publications (#1775)
  • e37ff4c - Replace actions/cache with new setup-java cache feature of GitHub Actions (#1800)
  • 3e834c0 - Extend japicmp.sh to compare versus local build (#1810)
  • 3e9b434 - Use bom to determine modules to compare (#1821)
  • abae386 - Increase memory for quality build tasks (#1778)

Dependency upgrades


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.