Skip to content

0.42.8

Compare
Choose a tag to compare
@chemicL chemicL released this 10 Mar 21:20
· 808 commits to main since this release

Changes

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

API deprecation

  • b92caff - Deprecate HttpClients.forMultiAddressUrl(ServiceDiscoverer) (#2132)
    • Instead, MultiAddressHttpClientBuilder#initializer(SingleAddressInitializer) should be used to override ServiceDiscoverer using SingleAddressHttpClientBuilder#serviceDiscoverer(ServiceDiscoverer).
  • a452927 - Deprecated PartitionedHttpClientBuilder and partition client APIs (#2131)
    • PartitionedHttpClientBuilder is hard to use because it requires implementation of a special ServiceDiscoverer that we do not provide OOTB. We are unaware of anyone using this feature, but if there are any users they should consider ClientGroup as an alternative or reach out to us to provide more context why the PartitionedHttpClientBuilder is required.
  • 9c3ed5a - grpc-protoc ServiceFactory.Builder #addService(BlockingService) -> #addBlockingService(BlockingService) (#2143)
    • The existing overloaded method required casting to disambiguate calls or implied compiler warnings when the argument was a lambda. We added a specific method for the blocking service argument to improve the API.

New features

  • 310f6b5 - Allow override of the HttpHeadersFactory for multi-address and partitioned clients (#2135)

Improvements

  • dbcbfd8 - Javadoc for generated gRPC classes has warnings and errors (#2139)
  • a93fc9b - Decouple multi-address and partitioned client builders from HttpClientBuildContext (#2136)
  • 1d84590 - Revert "Removed GrpcClientBuilder#MultiClientBuilder (#1809)" (#2127)
  • 3dbd25a - Enhance URI parsing exceptions (#2126)
  • dd4b95d - Remove use of special defaultStrategy() merge method (#2108)

Bug fixes

  • dd94aea - Remove proxy-connection header from outgoing HTTP/2 messages (#2138)

Examples

  • 2c310bb - Add an HTTP example for protobuf serialization (#2107)

Documentation

Build / CI


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.