Migrate to Reactor 3.5
ProprietaryAdopt to breaking changes in Reactor 3.5.
org. openrewrite. reactive. reactor. UpgradeReactor_3_5mod run . --recipe= org. openrewrite. reactive. reactor. UpgradeReactor_3_5Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade Gradle or Maven dependency versions
io.projectreactor:reactor-*:3.5.x - Replace various
Processor.createcalls with theirSinksequivalent - Replace various
Processor.cachecalls with theirSinksequivalent - Replace
doAfterSuccessOrErrorcalls withtapoperator - Change method name
reactor.core.publisher.*Sink currentContext()tocontextView - Change method name
reactor.core.publisher.Flux deferWithContext(..)todeferContextual - Change method name
reactor.core.publisher.Mono deferWithContext(..)todeferContextual - Change method name
reactor.core.scheduler.Schedulers elastic()toboundedElastic - Change method name
reactor.core.publisher.Mono first(..)tofirstWithSignal - Change method name
reactor.core.publisher.Flux first(..)tofirstWithSignal - Change method name
reactor.core.publisher.Signal getContext()togetContextView - Change method name
reactor.core.publisher.Flux limitRequest(..)totake - Change method name
reactor.core.publisher.Flux publishNext()toshareNext