0.41.6
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 forjava.util.concurrent.ThreadFactory
which will be required in the future to build anIoExecutor
. - Adds new methods accepting
IoThreadFactory
and deprecates existingNettyIoExecutors
factories that acceptThreadFactory
.
- Introduces
- 78c10b9 - Deprecated
GrpcClientBuilder#MultiClientBuilder
andGrpcClientBuilder#buildMulti
method (#1808) - 69e98ae - Deprecate one-way boolean settings on builders (#1750) (#1823)
- Deprecated
GrpcClientBuilder.disableHostHeaderFallback
in favor ofGrpcClientBuilder.hostHeaderFallback(boolean)
; - Deprecated
GrpcClientBuilder.disableDrainingRequestPayloadBody
in favor ofGrpcClientBuilder.drainRequestPayloadBody(boolean)
; - Deprecated
HttpReporter.Builder.disableSpanBatching
in favor ofHttpReporter.Builder.spansBatchingEnabled(boolean)
; - Deprecated
HttpServerBuilder.disableDrainingRequestPayloadBody
in favor ofHttpServerBuilder.drainRequestPayloadBody(boolean)
; - Deprecated
SingleAddressHttpClientBuilder.disableHostHeaderFallback
in favor ofSingleAddressHttpClientBuilder.hostHeaderFallback(boolean)
;
- Deprecated
- 274f0d6 - Deprecate remaining disable* methods in builder APIs (#1825)
- Deprecated
DefaultAutoRetryStrategyProvider#disableWaitForLoadBalancer
in favor ofDefaultAutoRetryStrategyProvider#waitForLoadBalancer(boolean)
; - Deprecated
DefaultAutoRetryStrategyProvider#disableRetryAllRetryableExceptions
in favor ofDefaultAutoRetryStrategyProvider#retryAllRetryableExceptions(boolean)
;
- Deprecated
- f3261db - Deprecating
HttpServerBuilder
protected methods (#1830)- Deprecated
HttpServerBuilder#doListen
; - Deprecated
HttpServerBuilder#buildExecutionContext
;
- Deprecated
Bug fixes
Improvements
- 58c6e1d - Add missing
subscribeShareContext
to missing static sources (#1812) - 1c929b8 - Use internal
NettyIoExecutors
for publicNettyIoExecutors
(#1814) - 8be5b2b - LifecycleObservers: log
responseTime
andtotalTime
(#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
- 36e1806 - Upgrade Netty 4.1.67 -> 4.1.68, netty-tcnative 2.0.41 -> 2.0.43 (#1828)
- 83c8bc4 - Update mockito 2.28.2 -> 3.12.4 (#1799)
- 39e3372 - Update hamcrest 1.3 -> 2.2 (#1796)
- 4d24b1b - Upgrade JUnit 5.8.0-M1 -> 5.8.0 (#1829)
- 660039e - Update testng 6.14.3 -> 7.4.0 (#1785)
- ef5da86 - Update json-unit 2.8.1 -> 2.28.0 (#1787)
- 97f02fc - Update shadowJar 4.0.4 -> 7.0.0 (#1768)
- b189cf3 - Update grpc-java 1.37.0 -> 1.40.1 (compatibility testing) (#1786)
- 40d4e5f - Update proto-google-common-protos 2.3.2 -> 2.5.0 (#1784)
- 9f54474 - Update jmh gradle 0.6.4 -> 0.6.6 (#1790)
- 1028b78 - Update jmh-core 1.30 -> 1.33 (#1789)
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.