Changelog History
Page 3
-
v3.3.0.M2 Changes
June 28, 2019๐ Reactor-Core
3.3.0.M2
is part ofDysprosium-M2
Release Train.๐ This second milestone of the 3.3.x cycle, containing bugfixes and improvements (including changes from the GA 3.2.10.RELEASE).
โก๏ธ โ ๏ธ Update considerations and deprecations
- Exceptions are now unwrapped (
Exceptions#unwrap
) in most sources that immediately produce an error, acting like aCallable
(b6f4d29) - ๐ Moved
reactor-tools
sources into the core repository (#1731)
๐ฑ โจ New features and improvements
- Avoid triggering
Context
lookups in error sources (4f2bc7a) - Extended blockHound whitelist
- โ Remove unnecessary volatile with UnicastProcessor fusion (c86db5a)
- ๐ Improved cache eviction in ElasticScheduler (#1700)
- (from 3.2:)
- ๐ Allow to choose a
Scheduler
forretryBackoff
(#1707) - โ Added
Mono#onErrorStop()
convenience API to align with Flux (#1728) - ๐ New
TestPublisher
assertion methodassertMaxRequested
(#1732) - ๐ The new
doFirst
operator provides a clearer dual todoFinally
, as a better alternative to common usage ofdoOnSubscribe
(#1716)
๐ฑ ๐ Bug fixes
- Avoid unbounded Flux.replay request with bounded subscribers (#1185)
- โ Removed "checkpoint" prefix in backtraces from return-only callsites (#1740)
- (from 3.2:)
- ๐ Fixed checking of inner subscribers in
FluxPublish#remove()
(2ce7b75) Flux.publish().autoConnect(0)
now correctly drops early items (#1712)- ๐ Fixed a memory barrier regression introduced in MonoSubscriber (#1719)
๐ ๐ Documentation, Tests and Build
- ๐ [doc] Fixed typo in refguide (
advancedFeatures.adoc
, 11bc552) - ๐ [build] JMH benchmarks are now in a separate sub-project, forked scrabble benchmark there (8895e94)
- ๐ [build] Log console output in Gradle ONLY for failed tests on CI (fc74beb)
- [doc] Added code fences in reference guide (#1737)
- (from 3.2:)
- ๐ Polished license spelling to "Apache License, Version 2.0" (d88eeda)
- ๐ [build] Dokka bumped to 0.9.18 (#1718)
- [doc] Added marble diagram for
Mono#doOnSuccessOrError
(#1725) - ๐ [doc] Polish 'Suggest Edit' links and asciidoctor config (6bdbf8b)
๐ ๐ Thanks to the following contributors that also participated to this release
- Exceptions are now unwrapped (
-
v3.3.0.M1 Changes
May 10, 2019๐ Reactor-Core
3.3.0.M1
is part ofDysprosium-M1
Release Train.๐ This first milestone of the 3.3.x cycle, containing bugfixes and improvements (including changes from the GA 3.2.9.RELEASE). It also contains two API deprecations (Kotlin extensions and WorkQueueProcessor/TopicProcessor).
โก๏ธ โ ๏ธ Update considerations and deprecations
- ๐ Kotlin extensions have been deprecated and copied to a new artifact (#1697)
- This release train contains the new
reactor-kotlin-extensions
artifact, which will regroup all Kotlin extensions and future Kotlin-related work
- This release train contains the new
- ๐
WorkQueueProcessor
andTopicProcessor
have been deprecated, due to underlying use ofUnsafe
(see #1051, #1052)- Recommended core alternative is to combine
EmitterProcessor
andpublishOn
- The processors have however been copied over to
reactor-extra
for people that want to continue using them as-is
- Recommended core alternative is to combine
๐ฑ โจ New features and improvements
- โ
Compatibility with projects using the Java Module System (JPMS) has been improved by declaring an official
Automatic-Module-Name
(reactor.core
andreactor.test
, #1641, #1692) - The
CorePublisher
interface has been introduced to distinguishPublisher
from reactor (#1527) - โ Add a simplified API for wrapping scheduled tasks (#1546)
- โ Add an API-preserving hide() method to ConnectableFlux (#1577)
- โ [reactor-test] Added hasDiscardedMatching method in StepVerifier (#1509)
- โ
[reactor-test] Add ToStringConverter and Extractor to StepVerifierOptions (#1558)
- This allows to override the natural
toString
representation of classes that are known to have an obscure representation, as well as extracting such objects that would be nested in containers like aCollection
,Tuple2
,Signal
, ...
- This allows to override the natural
- Reworked the format of "backtraces" (#1672, #1702)
- Backtraces are the additional callsite information captured by debug mode and checkpoint and appended to onError
Throwable
as a suppressed exception
- Backtraces are the additional callsite information captured by debug mode and checkpoint and appended to onError
- Reactor now integrates into Blockhound 1.0.0.M3 using the SPI on reactor side instead of programmatic explicit registration on blockhound side (#1682, #1690)
- (from 3.2:)
- Multiple improvements around resource cleanup and discarding:
- Buffering FluxSinks now discard on cancel vs next race (#1634)
- Null out lastKey to avoid retaining in distinctUntilChanged (#1647)
- Atomically update the state of MonoSubscriber to CANCELLED (f02d8b9)
- Deal with onNext or onComplete vs cancel races in collectList (#1660)
- Operators.onDiscardMultiple now avoids stream and potential NPE (cce04e7)
- ๐ Fix displaying of light checkpoints in backtraces (#1646)
- โ Removed redundant volatiles in switchOnFirst (#1496)
- โฑ Set parallel and elastic Schedulers removeOnCancelPolicy to avoid task memory leak (#1674)
๐ฑ ๐ Bug fixes
- ๐ฆ [reactor-test] Prevent StepVerifier collect hang when consuming all signals (#1529)
- Unwrap CompletionException in Mono#fromFuture (#1652)
- ๐ Fix MonoProcessor#block duration.zero change (c995c01)
- (from 3.2:)
- ๐ Fixed a missing exit condition in Flux.publish drain loop with SYNC fusion (#1528)
- ๐ ParallelFlux#doOnEach now sees the Context (#1656, #1657)
- ๐ง onBackpressureBuffer could use a greater-than-configured
maxSize
(#1666) - ๐ป Flux.generate would fail to propagates an exception in some fused scenarios (#1685)
๐ ๐ Documentation, Tests and Build
- [doc] Document that BaseSubscriber instances can't be reused (#1490)
- [doc] Small improvements in reference guide (#1594)
- ๐ [CI] Sanity check build on JDK12 on Travis (446ca1b)
- [doc] Use the correct marble diagram for Mono#onErrorResume (#1679)
- ๐ [build] Polish .gitignore to avoid too broad regex (92ae4e5)
- (from 3.2:)
- โ [test] Made small adjustments to a few flakky tests (#1643, 957060e, cd94cb9)
- ๐ [build] Make downloadBaseline faster by using compression + onlyIfNewer (c436cf0)
- ๐ [build] Skip downloadBaseline/japicmp in --offline mode (22691ef)
๐ ๐ Thanks to the following contributors that also participated to this release
@aftersss, @Buzzardo, @flambard, @mumukiller, @OlegDokuka, @pmackowski, @szpak
- ๐ Kotlin extensions have been deprecated and copied to a new artifact (#1697)
-
v3.2.22.RELEASE Changes
December 08, 2020๐ Reactor-Core
3.2.22.RELEASE
is part ofCalifornium-SR23
Release Train.๐ This is the last release of
Californium
๐๐ This service release contains a bug fix, as well as some polishing changes.
๐ฑ ๐ Bug fixes
- ๐ fix #2498 Exception thrown in Flux.handle causes hanging in fused case
๐ ๐ Documentation, Tests and Build
- ๐ fix #2482 Fix alignment of 1st onNext in flatMapSequential diagrams
- ๐ fix #2506/#2527 Switch to GitHub Actions for CI
- ๐ Polish to the build wrt repositories order
๐ ๐ Thanks to the following contributors that also participated to this release
-
v3.2.21.RELEASE Changes
October 23, 2020๐ Reactor-Core
3.2.21.RELEASE
is part ofCalifornium-SR22
Release Train.๐ This is a minor maintenance release polishing the build and documentation.
๐ ๐ Documentation, Tests and Build
- ๐ fix #2346 fix windowWithBoundary marble diagram
- ๐ fix #2344, #2436 migrate tests to junit 5
- ๐ fix #2439 correctly use testNG platform for testNG task
- [doc] Fix List ref name in hybrid push/pull code
๐ ๐ Thanks to the following contributors that also participated to this release
-
v3.2.20.RELEASE Changes
September 15, 2020๐ Reactor-Core
3.2.20.RELEASE
is part ofCalifornium-SR21
Release Train.๐ This is a maintenance release with a couple bugfixes, as well as build polish.
๐ฑ ๐ Bug fixes
- ๐ #2318 Prevent FlatMapInner to request if fused in SYNC mode
- #2362 Prevent ConcurrentModificationEx on bufferPredicate discard
๐ ๐ Documentation, Tests and Build
- ๐ [build] Various polish of Gradle build (deprecation warnings #2274, wrapper validation #2348)
- โ [test] #2343 migrate tests to JUnit 5
- ๐ [build] #2332 remove optional-dependency plugin from Gradle build
- โ [reactor-test] Allow add/addAll in AssertQueueSubscription test util (46324db)
๐ ๐ Thanks to the following contributors that also participated to this release
-
v3.2.19.RELEASE Changes
July 20, 2020๐ Reactor-Core
3.2.19.RELEASE
is part ofCalifornium-SR20
Release Train.๐ This is a maintenance release with a couple bugfixes, as well as build polish.
๐ฑ ๐ Bug fixes
- ๐ fix #2196: don't hang on repeatWhenEmpty + discard handler
- ๐ fix #2186 Align MonoCollect and MonoCollectList to avoid race condition leading to NullPointerException
๐ ๐ Documentation, Tests and Build
- ๐ [polish] In README Gradle snippet, put maven central repo first (#2248)
- [doc] fix #2212 Improve bufferTimeout() marble
- ๐จ [build] fix #2251 refactor how micrometer integration is tested
- ๐ [build] Rework linking between check, japicmp and downloadBaseline tasks (#2226)
- ๐ [build] Bump Kotlin to 1.3.72 (#2247)
- ๐ [build] Polish travis CI build to use external script for JDK downloads (#2255)
- ๐ [build] fix #2241 Get rid of overcomplicated travis-build.sh but show progress
- ๐ [build] fix #2262 Make the fact that optional are not in pom anymore explicit
- ๐ [build] Fix input package rule for OSGi metadata generator (#2185)
๐ ๐ Thanks to the following contributors that also participated to this release
-
v3.2.18.RELEASE Changes
June 25, 2020๐ Reactor-Core
3.2.18.RELEASE
is part ofCalifornium-SR19
Release Train.๐ฑ โจ New features and improvements
- Ensure
DeferredSubscription
makes requests serially if there is racing between set / requestN (according to RS spec Rule 2.7)(#2164) - Ensures next element is dropped if
UnicastProcessor
disposed to avoid racing betweenonNext
anddispose
(#2180)
๐ ๐ Documentation, Tests and Build
- ๐ [publication] Publish Gradle metadata, without optional dependencies (#2151)
- ๐ [build] Consistently use tabs for gradle file indentation (#2157)
- ๐ [build] Backport last relevant build changes from 3.3 (#2156)
๐ ๐ Thanks to the following contributors that also participated to this release
- Ensure
-
v3.2.15.RELEASE Changes
February 24, 2020๐ reactor-core
3.2.15.RELEASE
is part ofCalifornium-SR16
Release Train.๐ฑ โจ New features and improvements
- Discard concatMapIterable/fromIterable's remainder on Cancel (#2014)
- the remainder of the internal
Iterator
is discarded when cancelled mid-iteration - we avoid the risk of iterating an infinite iterator by first checking if the
Iterable
is aCollection
or itsSpliterator
has theSIZED
characteristic. - the above check can result in at most 2 calls to
Iterable#iterator
for custom iterables
- the remainder of the internal
- ๐ [polish] Improve onDiscardMultiple/QueueWithClear resiliency (#2021)
๐ฑ ๐ Bug fixes
- Account for requests made to upstream in FluxBufferPredicate (#1937, #2029)
- collect() discards on consumer error when fused (#2042)
- ๐ท Unconditionally dispose worker in MonoSubscribeOn#cancel (#2037)
- ๐ Pass on cancelSupport when lifting ConnectableLiftFuseable (#1860)
- FluxReplay source was not canceled with Hooks.onEachOperator() and a fuseable source
- Correctly count continued errors on flatmapped callable (#2011)
- ๐ Handle "empty
Callable
" inFlux#collectList
(#2023, #2024) - ๐ Fix fused last(T) not delivering defaultValue (#2020)
๐ ๐ Thanks to the following contributors that also participated to this release
- Discard concatMapIterable/fromIterable's remainder on Cancel (#2014)
-
v3.2.14.RELEASE
January 13, 2020 -
v3.2.13.RELEASE Changes
December 02, 2019๐ Reactor-Core
3.2.13.RELEASE
is part ofCalifornium-SR14
Release Train.๐ฑ โจ New features and improvements
- #1916 Interpret MAX_VALUEms as indefinite caching in
Mono#cache(Function, Function, Supplier)
(backported) - โฑ #1746 Add
VirtualTimeScheduler#getScheduledTaskCount()
(backported) - #1968 Make
Flux#publish()
propagate 1st subscriberContext
- #1953 Add
Exceptions.isTraceback
, and a mean to unwrap a composite without the tacebacks (Exceptions.unwrapMultipleExcludingTracebacks
)
๐ฑ ๐ Bug fixes
- #1945 Avoid unnecessary wrapping of exceptions in scalar flatMap
- #1959 GroupedFlux fused with
parallel()
not replenishing properly
๐ ๐ Documentation, Tests and Build
- ๐ [build] Switched to Gradle 5.6 (8e97f91)
- ๐ [build] Switched publication plugin to
maven-publish
andartifactory
(#1943) - ๐ [build] Fixed generation of refguide pdf when custom version is used (2c621b6)
- ๐
[polish]
Exceptions.multiple(Iterable)
now produces aCompositeException
, more test coverage ofExceptions
util (#1954)
๐ ๐ Thanks to the following contributors that also participated to this release
- #1916 Interpret MAX_VALUEms as indefinite caching in