Skip to content

0.42.19

Compare
Choose a tag to compare
@tkountis tkountis released this 12 Oct 19:55
· 838 commits to main since this release
13d060a

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

Bug Fixes

  • f927517 - gRPC: apply default timeout filter before user-supplied HTTP client filters (#2390)
    • Position of the filter that serves gRPC deadline (defaultTimeout) feature moved from the end of the client filter chain to the beginning. It ensures the deadline covers all business logic, including all appended filters, and prevents situations when an added filter can deadlock. Note that starting from this release, any manual modifications for the grpc-timeout header won't have an effect on the actual timeout duration for the client. If you need to change its value before the timeout is scheduled, use DefaultGrpcClientMetadata#timeout() for per-request modifications.
  • aebad36 - Buffer.[set|write]Bytes doesn't respect length when reading from InputStream (#2389)
  • d9d8e93 - RetryingHttpRequesterFilter: drain response before mapping to exception (#2391)
  • abc0d75 - Racy cancel from transport does not always cancel the message body (#2369)
  • 922993b - NettyCompression gzip streaming decompression over multiple buffers fix (#2380)

New APIs

  • b1a5c53 - Add Publisher#concatPropagateCancel(Completable) to force cancel propagation (#2372)
  • ffc7353 - Single#concatPropagateCancel(Publisher) to force cancel propagation (#2381)

Improvements

  • 1c463da - PublisherAsBlockingIterable: LinkedBlockingQueue -> LinkedTransferQueue (#2386)
  • 16a4f8a - Expand allowed types to accommodate custom service discoverer events (#2379)
  • 509bec5 - DefaultPayloadInfo: enhance toString() to print all flags separately (#2373)
  • 5dc9838 - DefaultBlockingHttp objects to use cast and shareContextOnSubscribe (#2370)

Test Improvements

  • c74af36 - Fix flaky [Http|Grpc]LifecycleObserverTest (#2376)
  • 83760f5 - Fix flaky H2PriorKnowledgeFeatureParityTest.serverGracefulClose() (#2375)
  • 8281b15 - HttpLifecycleObserverTest: account for CL for *DataRequested checks (#2374)
  • 906c4fc - Fix flaky ResponseCancelTest (#2337)
  • 450096e - Add regression tests for netty client factories (#2382)
  • f29e8bd - Enhance testing of the server-side control flow (#2377)

Examples


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.

@mgodave
@idelpivnitskiy
@Scottmitch
@tkountis