0.42.24
This is a minor maintenance release appropriate for all ServiceTalk users that contains several useful improvements and bug fixes. This release is expected to be a "drop-in" replacement for all prior 0.42.X releases.
Changes
API deprecations
- 8cf86df - Deprecate gRPC
ServiceFactory
constructors that takeRouteExecutionStrategyFactory
(#1624)- Users should use
ServiceFactory.Builder#routeExecutionStrategyFactory(...)
method instead.
- Users should use
- debd2df - Deprecate
ConnectionFactoryFilter#append(...)
(#2480)- Users should use
SingleAddressHttpClientBuilder#appendConnectionFactoryFilter(ConnectionFactoryFilter)
instead.
- Users should use
- 39356fd -
RetryingHttpRequesterFilter
: renameofImmediate
(deprecated) toofImmediateBounded
(new method) (#2459) - 4791eaf - Deprecate
ServiceAdapterHolder
interface and some utilities inHttpApiConversions
(#2460) - 38bda20 - Deprecate unnecessary internal methods of
NettyIoExecutors
(#2474) - 8ecb866 - Deprecate unused
DefaultNettyConnection#initChannel(...)
overload (#2489)
New features
- 5941982 - Provide a common HTTP Service interface for all API variants (#2456)
- 2344448 - Introduce
GrpcExecutionStrategies#offloadNone()
(#2478) - 469dc27 - Allow to open a new connection when reserving (HTTP) (#2476)
Bug Fixes
- 5e3e4ce - Fix a memory leak and increased latency for gRPC after adding
ListenableAsyncCloseable.onClosing()
(#2473) - 8e1d448 - Do not apply
InternalRetryingHttpClientFilter
for reserved connections (#2470) - 6c75e8f - Revert "Preserve the caller's stacktrace for blocking API (#2420)" (#2488)
- Avoids memory leak when Netty reuses the same exception instance.
Improvements
- c4dd3e4 - Make HTTP/1.x server-side control flow consistent with the client-side (#2367) (#2423) (#2419)
- 35d326c - Consider request context when we schedule timeouts or retries (#2482)
- b1f8a4d - Perform GRPC route building lazily on bind (#2467)
- 7e7f201 -
SpecialHttpExecutionStrategy
should implement all interface methods (#2469) - 40bdaa8 - Revert "PublisherAsBlockingIterable LinkedBlockingQueue -> LinkedTransferQueue (#2386)" (#2472)
Dependencies
- d2e0021 - Update Netty 4.1.86 -> 4.1.87 (#2487)
- 7e0cc9a - Update proto-google-common-protos 2.9.2 -> 2.12.0
- 9f97b29 - Update protobuf 3.21.4 -> 3.21.12
- 6e829da - Update Jackson 2.14.0 -> 2.14.1
- 2c52333 - Update log4j 2.18.0 -> 2.19.0
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 any unintended omission.