Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 1, 2022

Bumps reactor-core from 3.4.17 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 Mono stack is now more lazy and complies to the Reactive Streams specification by only evaluating the source Publisher after 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 ThreadLocal contextual 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
  • Remove deprecated Mono.doOn/AfterSuccessOrError by @​simonbasle in #2954
    • The doOn* recommended alternatives include doOnNext(Consumer), doOnError(Consumer), doOnTerminate(Runnable), and doOnSuccess(Consumer),
    • The doAfter* recommended alternatives are doAfterTerminate(Runnable) and doFinally(Consumer).
  • Remove deprecated context-related operators by @​simonbasle in #2953
    • deferWithContext(Function) -> use deferContextual(Function) instead,
    • subscriberContext(Context) and subscriberContext(Function) -> use contextWrite(ContextView) and contextWrite(Function) instead,
    • Signal::getContext() -> use Signal::getContextView() instead,
    • Context::putAll(Context) -> use Context::putAll(ContextView) instead.
  • Remove deprecated ElasticScheduler by @​simonbasle in #2955
    • Use BoundedElasticScheduler (Schedulers.boundedElastic()) instead.

⚠️ ⌛ Deprecations

  • Introduce new module reactor-core-micrometer by @​simonbasle in #3015
    • We introduced a new module, reactor-core-micrometer, and added operators and features supporting the new Observation API of Micrometer 1.10.0, read more about it the release notes.
    • The class reactor.util.Metrics, Flux::metrics() and Mono::metrics() operators have been deprecated.
  • Deprecate [Flux|Mono|Synchronous]Sink currentContext by @​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 new Scheduler instance when necessary.
    • Implementors of Scheduler should also implement the init() method, which currently delegates to start() in the default implementation.

⚠️ ♻️ Behavior Changes

  • Make some Mono sources and aggregators lazier by @​OlegDokuka in #3081
  • Change behavior of switchOnNext/switchMap default 0 prefetch by @​simonbasle in #2956
  • Have concatMap default to 0 prefetch behavior by @​simonbasle in #2967
  • take(n) now behaves as take(n,true)/limitRequest by @​simonbasle in #2969
  • SourceException wrapper for main stream errors delivered to windows by @​chemicL in #3167
  • Scheduler.isDisposed() only true for disposed instances by @​chemicL in #3243
  • adds cancellation of the source future support by @​OlegDokuka in #3146
  • Scannable.tags() rework, add tagsDeduplicated() by @​simonbasle in #3037
  • Disable fusion in MonoSubscriber by @​UgiR in #3245
    • A number of Mono operators derived from the Operators.MonoSubscriber have stopped negotiating fusion (even though their Publisher still implements Fuseable)
    • The highest impact is likely to be on tests that validate the fusion negotiation (eg. StepVerifier's expectFusion(...))

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [reactor-core](https://github.com/reactor/reactor-core) from 3.4.17 to 3.5.0.
- [Release notes](https://github.com/reactor/reactor-core/releases)
- [Commits](reactor/reactor-core@v3.4.17...v3.5.0)

---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 1, 2023

Superseded by #1509.

@dependabot dependabot bot closed this Jan 1, 2023
@dependabot dependabot bot deleted the dependabot/gradle/modules/r2dbc/io.projectreactor-reactor-core-3.5.0 branch January 1, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant