Build #2,854

Build: #2854 was successful Changes by Simon Baslé <sbasle@vmware.com>

Code commits

reactor-core

  • Simon Baslé <sbasle@vmware.com>

    Simon Baslé <sbasle@vmware.com> ec24c51d46ce83d9ee732cf6add85012b42ee20d

    [build] Polish japicmp: show report content on console

    • reactor-core/build.gradle (version ec24c51d46ce83d9ee732cf6add85012b42ee20d)
  • Simon Baslé <sbasle@vmware.com>

    Simon Baslé <sbasle@vmware.com> 7d6c86256468a9c062654406a33f4929ad6a273b

    fix #2293 Reduce the API impact of the introduction of ContextView
    In 3.4.0-M2 snapshots, ContextView has just been introduced and has been
    used in the public-facing API to replace Context where it makes sense.
    However, this later aspect makes the migration more difficult, whereas
    the binary compatibility could be preserved.

    This commit restores the old methods that were exposing the Context,
    making them deprecated and adding ContextView-based variants with an
    alternative name (since these methods either _return_ the Context or
    take a lambda parameter, with type erasure).

    In particular:
     - `Context#putAll(Context)` is brought back (deprecated. this one can
     coexist along `Context#putAll(ContextView)`)
     - `deferWithContext` is back to a `Function<Context, ...>`, deprecated
     - the `ContextView` is instead introduced through `deferContextual`
     - the new suffix `xxxContextual` is applied to the previously just
     introduced `transformDeferred(BiFunction)`, renaming it to
     `transformContextual` (for consistency)
     - `Signal#getContext()` is back to returning `Context`, deprecated
     - added `Signal#getContextView()`

    • docs/asciidoc/advancedFeatures.adoc (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/build.gradle (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/Flux.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/FluxDeferContextual.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/FluxDoOnEach.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/ImmutableSignal.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/Mono.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/MonoCacheTime.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/MonoDeferContextual.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/core/publisher/Signal.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/main/java/reactor/util/context/Context.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/core/publisher/ContextLossDetectionTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/core/publisher/FluxDeferContextualTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/core/publisher/FluxDeferTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/core/publisher/MonoDeferTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/core/publisher/SignalTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/guide/GuideTests.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)
    • reactor-core/src/test/java/reactor/util/context/ContextTest.java (version 7d6c86256468a9c062654406a33f4929ad6a273b)