@simonbasle simonbasle released this Oct 10, 2018 · 2 commits to master since this release

Assets 2

This is the 1st release of Reactor Addons 3.2.0, part of Californium-RELEASE Release Train.

⚠️ Update considerations and deprecations

  • Retry and Repeat now both use long for maxAttempts (switch from Integer.MAX_VALUE to Long.MAX_VALUE if you want even more retries/repeats) (#149)
  • Retry now default to unlimited retries (use retryMax(long) at any point to change that) (#149)
  • Retry.timeout and Repeat.timeout now don't change the currently set max attempt parameter (#150)
    • Repeat.maxRepeats(long) has been introduced to give the ability to change the later post construction - The retry/repeat utils companion Context root interface has been renamed IterationContext to distinguish better from the core's Context (#155)

New features and improvements

  • Introduce boolean functions to simplify combining Mono<Boolean> (#161)
    • Also added Kotlin extensions for these Mono<Boolean> utils (#163)

🐞 Bug fixes

  • Retry Kotlin extension on Mono now correctly returns Mono<T> (#152)
  • Repeat/Retry timeout doesn't change the max attempt configuration (#150)
  • Retry would not work with virtual time due to using the actual clock, now uses either the provided Scheduler as clock, or a default one (impacted by virtual time) (#158)
  • Avoid ArithmeticException on exponential backoff (#164)

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

@bjartek, @gregturn