Bump reactor-core from 3.4.24 to 3.5.0 in /pgp-keys-map-test1 by dependabot[bot] · Pull Request #1142 · s4u/pgp-keys-map (original) (raw)
Bumps reactor-core from 3.4.24 to 3.5.0.
Release notes
Sourced from reactor-core's releases.
v3.5.0
Reactor-Core 3.5.0 is part of 2022.0.0 Release Train.
This is the first GA release of 2022.0.0 🎉
This note focuses on 3.5.0 proper, curating changes from across all milestones and also includes changes already released as part of 3.4.x line up to 3.4.25.
While there are plenty of improvements and bug fixes, it's worth to highlight the bigger themes first:
- The
Monostack is now more lazy and complies to the Reactive Streams specification by only evaluating the sourcePublisherafter receiving appropriate demand. Previously this usually happened during subscription time.- We reworked the metrics utilities. Please consult the reference documentation for more details.
- A new context-propagation library has become an important part of the Reactor and Micrometer backbone to allow bridging between reactive and
ThreadLocalcontextual metadata. Reactor supports this bridging as soon as context-propagation library is present at runtime. Read more in the reference documentation.Please pay special attention to the following update considerations. More detailed listing of features, bug fixes, and improvements follow.
⚠️ Update considerations and deprecations
⚠️ 🗑️ Removals
- Remove Kotlin extensions by @simonbasle in #2949
- These now live in the reactor-kotlin-extensions library
- Remove deprecated
Mono.doOn/AfterSuccessOrErrorby @simonbasle in #2954
- The
doOn*recommended alternatives includedoOnNext(Consumer),doOnError(Consumer),doOnTerminate(Runnable), anddoOnSuccess(Consumer),- The
doAfter*recommended alternatives aredoAfterTerminate(Runnable)anddoFinally(Consumer).- Remove deprecated context-related operators by @simonbasle in #2953
deferWithContext(Function)-> usedeferContextual(Function)instead,subscriberContext(Context)andsubscriberContext(Function)-> usewriteContext(ContextView)andwriteContext(Function)instead,Signal::getContext()-> useSignal::getContextView()instead,Context::putAll(Context)-> useContext::putAll(ContextView)instead.- Remove deprecated
ElasticSchedulerby @simonbasle in #2955
- Use
BoundedElasticScheduler(Schedulers.boundedElastic()) instead.⚠️ ⌛ Deprecations
- Introduce new module
reactor-core-micrometerby @simonbasle in #3015
- We introduced a new module,
reactor-core-micrometer, and added operators and features supporting the newObservationAPI of Micrometer 1.10.0, read more about it the release notes.- The class
reactor.util.Metrics,Flux::metrics()andMono::metrics()operators have been deprecated.- Deprecate
[Flux|Mono|Synchronous]Sink currentContextby @simonbasle in #2974, #3021
contextView()should be used instead.- Deprecate scheduler start by @chemicL in #3236
Scheduler#init()method should be used instead. Restart capability is discouraged and the new method is allowed to throw in case of initializing a disposed instance. Please create a newSchedulerinstance when necessary.- Implementors of
Schedulershould also implement theinit()method, which currently delegates tostart()in the default implementation.⚠️ ♻️ Behavior Changes
- Make some
Monosources and aggregators lazier by @OlegDokuka in #3081- Change behavior of
switchOnNext/switchMapdefault 0 prefetch by @simonbasle in #2956- Have
concatMapdefault to 0 prefetch behavior by @simonbasle in #2967take(n)now behaves astake(n,true)/limitRequestby @simonbasle in #2969SourceExceptionwrapper for main stream errors delivered to windows by @chemicL in #3167Scheduler.isDisposed()only true for disposed instances by @chemicL in #3243- adds cancellation of the source future support by @OlegDokuka in #3146
Scannable.tags()rework, addtagsDeduplicated()by @simonbasle in #3037- Disable fusion in
MonoSubscriberby @UgiR in #3245✨ New features and improvements
... (truncated)
Commits
- d5679a3 Add jcenter() to the repositories list
- 3dd366f [release] Prepare and release 3.5.0
- 3dde1cc Upgrade Micrometer/Context-Propagation dependencies to 1.10.0 GA (#3274)
- bd40327 Merge #3272 into 3.5.0
- e8406cd Improve Mono fromFuture/fromCompletionStage javadocs (#3272)
- 2a83001 Merge #3529 into 3.5.0
- 9fe3241 Limit the number of Scheduler#disposeGracefully threads (#3259)
- ddc159a Merge #3263 into 3.5.0
- 2ecf52b Only initialize logging once per test session (#3263)
- 2142d04 Merge #3270 into 3.5.0
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)