This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
Releases: spring-attic/reactor-scala-extensions
Releases · spring-attic/reactor-scala-extensions
Release v0.8.0
❗️(Potential) Breaking Changes
- Removing cats-effect and its related operator that uses classes from cats-effect.
➕Added Operators
============= SMono.retryWhen(Retry)
- implicit
Context.getOrNone
(#71) SFlux.fromLazyList
for 2.13SMono.using
andSMono.usingWhen
to replaceSMono.bracket
andSMono.bracketCase
respectivelySFlux.using
andSFlux.usingWhen
to replaceSFlux.bracket
andSFlux.bracketCase
respectively
👋 Deprecated Operators
SFlux.retry
in favor ofSFlux.retryWhen(Retry)
SMono.retry
andSMono.retryWhen
. UseSMono.retryWhen(Retry)
SFlux.fromStream
for 2.13. UseSFlux.fromLazyList
for 2.13
➖ Removed Operators
SMono.bracket
andSMono.bracketCase
SFlux.bracket
andSFlux.bracketCase
🛠️Build - Code coverage - Continuous Integration - Dependencies
- Updated sbt to 1.3.13
- Update reactor to 3.3.8.RELEASE
🙏Thanks to the following contributors
Release v0.7.1
❗️(Potential) Breaking Changes
SFlux. scan
parameter is changed to reference value. The originalSFlux.scan
with by-name parameter is now renamed toSFlux.scanWith
(#61)
➕Added Operators
SFlux.foldWith
this will align closer to scala collection operators, which will makeSFlux.reduceWith
deprecated (#61)SFlux.scanWith
similar toSFlux.scan
, but use by-name parameter (#61)SFlux.product
to multiply all the emitted value if they'reNumeric
SMono.+
to sum the value of thisSMono
and anotherSMono
if the value type isNumeric
SMono.-
to subtract the value of thisSMono
and anotherSMono
if the value type isNumeric
SMono.*
to multiply the value of thisSMono
and anotherSMono
if the value type isNumeric
👋 Deprecated Operators
SFlux. reduceWith
. UseSFlux.foldWith
(#61)
➖ Removed Operators
SFlux.foldLeft
. This is an alias forSFlux.fold
. In reactive-stream, there is only one way from front to back hence there is no concept of foldLeft or foldRight. (#61)
🐞Bug Fixed
SFlux.asJava
andSMono.asJava
will return an in-variant type to retain the semantic of previous code and avoid the need to cast. (#69)
🛠️Build - Code coverage - Continuous Integration
- Compiled and tested using scala 2.12.11 for 2.12 branch
- Compiled and tested using scala 2.13.2 for 2.13 branch
- Code coverage now is 82.83%
🙏Thanks to the following contributors
Release v0.7.0
❗️(Potential) Breaking Changes
SFlux
andSMono
element type is now declared as Covariant Type. This may or may not be breaking changes. (#54)
➕Added Operators
SFlux.deferWithContext
SFlux.metrics
whenever there is Micrometer in classpath (#56)SMono.metrics
whenever there is Micrometer in classpath (#56)
🐞Bug Fixed
SFlux.toStream
to use thebatchSize
parameter
🛠️Build - Code coverage - Continuous Integration
- Added Github Action Scala CI
- Compile and Test using multiple Java LTE versions (8, 11, 14)
- Updated sbt to 1.3.10
🙏Thanks to the following contributors
Release v0.6.1
Added Operators
- Added
SFlux.retryWhen(Retry)
Deprecated Operators
Deprecate old SFlux.retryWhen(predicate)
Breaking Changes
Renamed ConnectableFlux
to ConnectableSFlux
to differentiate between Java ConnectableFlux and Scala ConnectableFlux
Build - Code coverage - Continuous Integration
- Cross compile with jdk-14
- Switch build using sbt (#35)
- Added unit test for SFlux.switchOnNext
- Compile with scala 2.13.2
Documentation
- Added scaladoc for
SFlux.sample
- Added scaladoc for
SFlux.scan
- Added scaladoc for
SFlux.startWith
Release v0.6.0
Updated:
- Updated to reactor-core-3.3.3.RELEASE
SFlux.scan
works without explicitly specifying generic type (#52)SFlux.scanWith
works without explicit generic type(#52)
New Operators:
fold
inSFlux
as alias forfoldLeft
scan
,reduce
&zipWithCombinator
inSFlux
uses curry function to pass the accumulator. This replaces the previous signature where the accumulator is passed via 2nd parameter. (#52)
Removed Operators:
scan
,reduce
&zipWithCombinator
with accumulator as 2nd parameter. See new operator. (#52)
Release v0.5.1
New Operators:
++
inSFlux
as an alias toconcatWith
so it can performSFlux.just(1) ++ SFlux.just(2,3)
What's New:
- Fixed code coverage that's not detected by codecov
- Removed dependency findbug as it is highlighted in BlackDuck scanning (#51)
- Update underlying reactor library to version 3.3.2.RELEASE
Release v0.5.0
Merry Chrismas
New Operators:
SFlux.transformDeferred
to replaceSFlux.compose
SMono.transformDeffered
to replaceSMono.compose
Deprecated Operators:
SFlux.compose
replaced bySFlux.transformDeferred
SMono.compose
replaced bySMono.composed
What's new:
- Cross compile with Scala 2.13 #27
- Upgraded underlying reactor-core to version v3.3.1.RELEASE
Contributors:
Release v0.4.7
Bug fixed:
SFlux.mergeSequentialPublisher(SFlux[SFlux[T]])
has compile error (#37)SMono.toFuture
does not work when the mono is completed with anull
orvoid
result (#36)
New Operator:
SFlux.merge
was missed when whenFlux
was removed (#38)SFlux.mergeOrdered
was missed when whenFlux
was removed (#38)
Contributors: