github reactor/reactor-core v3.4.6

latest releases: v3.8.5, v3.7.18, v3.8.4...
5 years ago

Reactor-Core 3.4.6 is part of 2020.0.7 Release Train (Europium SR7).

This service release contains bugfixes and new features.

All changes from 3.3.17.RELEASE are also included and these are listed below with an additional level of indentation.

⚠️ Update considerations and deprecations

  • MonoDelay doesn't produce a OverflowException backpressure error when the delay is so small that it terminates before regular request had a chance to be made (since the operator assume subscribe == request, like a lot of Monos).
    • instead, it will now onNext+onComplete immediately upon first request
    • The old behavior of failing early is probably counterintuitive to most people, but in case someone relies on it it can be opted back in by using an undocumented Context key, reactor.core.publisher.MonoDelay.failOnBackpressure with value true. 

✨ New features and improvements

  • Add LIFTER Scannable attribute (#2669)
  • Polish FluxRetry error message when times < 0 (#2694)
  • Avoid backpressure error with tiny MonoDelay/emit on 1st request (#2686)
  • from 3.3.x:
    • Add StepVerifierOptions.copy(), withVirtualTime uses default vts (#2688)
    • Polish corner cases in FluxLimitRequest, complete fast on cap=0 (#2699, 29d2e3b)

🪲 Bug fixes

  • Prevent infinite recursion of MonoMaterialize#request (#2676)
  • Improve switchOnFirst race-safety by using single volatile state (#2671)
  • Synchronize SinkManyBestEffort add/remove/termination (#2695)
  • [reactor-test] ColdTestPublisher now increments subscriberCount before completing (#2700)
  • from 3.3.x:
    • GroupBy request 1 more group when last active group is cancelled (#2681)
    • Always terminate new subscribers when ColdTestPublisher is done (#2697)

📖 Documentation, Tests and Build

  • Use contextWrite(f) rather than subscriberContext(f) in docs (#2685)
  • from 3.3.x:
    • Renamed default branch to main, update CI (#2679)
    • [polish] Set main class earlier in buildSrc/JmhExecTask (174afcc)
    • Make MonoCollectTest logs less verbose, remove discard fail logs (#2687)

👍 Thanks to the following contributors that also participated to this release

@horizonzy, @robotmrv, @vovikdrg

Don't miss a new reactor-core release

NewReleases is sending notifications on new releases.