0.42.14
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.
As the ServiceTalk API advances towards a 1.0 release all users are strongly encouraged to update their applications to eliminate all use of deprecated APIs. Existing deprecated APIs will be removed in a future ServiceTalk release without further additional notice. If you encounter problems replacing deprecated usages please create a support issue.
Changes
API Deprecations
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.
- 24ad6cc - Deprecate
io.servicetalk.client.api.internal.DefaultPartitionedClientGroup
(#2176)- Deprecation of
DefaultPartitionedClientGroup
. We are unaware of any use-cases of this API and we plan to remove it completely in future releases.
- Deprecation of
- 908a84f - Deprecate public gRPC API that is not used anymore by ST (#2300)
- Deprecate
io.servicetalk.grpc.api.GrpcClientFactory#supportedMessageCodings
, variant available asio.servicetalk.grpc.api.GrpcClientFactory#bufferDecoderGroup
, andGrpcRoutes.AllGrpcRoutes
interface.
- Deprecate
- 5cfe9c4 - Revert backward incompatible changes (api & binary) introduced in #2278 (#2306)
- Deprecated
HttpLoadBalancerFactory#toLoadBalancedConnection(FilterableStreamingHttpConnection)
- introduced a variant that also acceptsContextMap
andReservableRequestConcurrencyController
. - Deprecate all classes and interfaces in
io.servicetalk.client.api.internal
package.servicetalk-client-api-internal
module will be removed in future releases.
- Deprecated
- df916b6 - Give access to the underlying TCP ConnectionContext from HTTP/2 service (#2319)
- Deprecate one of
io.servicetalk.transport.netty.internal.DefaultNettyConnection#initChildChannel
overloads.
- Deprecate one of
New API
- 6e47753 - Make
RequestConcurrencyController
public (#2278) - df916b6 - Give access to the underlying TCP ConnectionContext from HTTP/2 service (#2319)
Bug Fixes
Improvements
- 17fbb91 - Null check result of
HttpServerBuilder
supplier (#2317) - d46dbd6 - Throw error when score is invoked on a connection that doesn't support it (#2318)
- a99f319 - Remove logging for duplicate termination in Jersey router (#2316)
- af18034 - gRPC add default method for asBlockingClient to simplify filter creation (#2309)
- 44c4343 - Remove unused internal code from
servicetalk-grpc-api
(#2299) - e5a00b5 - grpc-protoc javadoc testing updates (#2140)
Dependencies
- 86c9b8b - Update protobuf 3.21.2 -> 3.21.4 (#2315)
- 0515fd5 - Upgrade Gradle wrapper 7.5 → 7.5.1 (#2312)
- 48e51f3 - Upgrade JMH 1.3.3 → 1.3.5 (#2272)
- bd7b9da - Add netty-incubator-transport-native-io_uring to
servicetalk-dependencies
(#2295) - c7375c4 - Define
jaxb-impl
asapi
inservicetalk-dependencies
Build/Release/Github actions
- e6225ef - Use
compileJava
options.release
(#2301) - 987538c - Hide use of
sun.misc.Unsafe
fromjavac
(#2303)
Test improvements
- 9c61136 -
ConnectablePayloadWriterTest.multiThreadedProducerConsumer
increase timeout (#2296) - 2a29d60 - Increase
CompositeClosableTest
timeouts (#2302)
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.