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
Behavior Changes
- d273d37 - Always return
DomainSocketAddress
for Unix Domain Socket transport (#3309)- In previous releases, users of Unix Domain Socket transport could see that
ServerContext
andConnectionInfo
may returnio.netty.channel.unix.DomainSocketAddress
type instead ofio.servicetalk.transport.api.DomainSocketAddress
they used to bootstrap client or server. In this release, we corrected to always returnio.servicetalk.transport.api.DomainSocketAddress
type consistently from all public API.
- In previous releases, users of Unix Domain Socket transport could see that
API deprecations
- d699fb0 - opentelemetry-http: consolidate filter parameters into OTEL filter builders (#3317)
OpenTelemetryOptions
and all public constructors ofOpenTelemetryHttpRequesterFilter
andOpenTelemetryHttpServiceFilter
are deprecated now, users should use corresponding builders:OpenTelemetryHttpRequesterFilter.Builder
andOpenTelemetryHttpServiceFilter.Builder
to configure their filters.
- ec66fa9 - Deprecate
DomainSocketAddress.getPath()
in favor ofpath()
(#3323)- Deprecate
DomainSocketAddress.getPath()
and introduceDomainSocketAddress.path()
instead.
- Deprecate
- 4177cd1 - Deprecate
NettyServerContext.wrap(NettyServerContext, AsyncCloseable)
(#3310)- This is an internal API that is not used by ServiceTalk anymore and will be removed in future releases.
- Reminder: Users should not depend on any classes or interfaces from
internal
modules and packages.
New Features
- 589063d - gRPC protocol support in opentelemetry module (#3296)
- d941935 - Propagate HTTP/2 streamId to request context (#3311)
- 79d3e8b - loadbalancer: support maintaining a minimum connection pool size per host (#3303)
Bug Fixes
- 74d9321 - traffic-resilience-http: Consider the request body for ticket lifetimes (#3305)
- 045b7e9 - opentelemetry-http:
HttpAttributesGetter
should always try to extract network attributes (#3315) - 923d669 - tcp-netty-internal: copy maps in copy contructors (#3320)
Improvements
- 3a82fc6 - opentelemetry-http: refactors in preparation for grpc support (#3306)
- ae39a1e - grpc-utils: don't log null throwable (#3316)
- 686607d - Don't apply SO_KEEPALIVE socket option for Unix Domain Sockets transport (#3307)
- 3ec48fd - loadbalancer: reduce unnecessary null validation (#3325)
Dependencies
Documentation
- 436db6d - Improve javadoc for observers (#3304)
- 2f4a7d8 - Replace references to noOffloadsStrategy with offloadNone (#3314)
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.
@aleqi200
@bryce-anderson
@daschl
@eddie4941
@idelpivnitskiy
@mgodave