Reactor-Scala-Extensions v0.8.0 Release Notes
Release Date: 2020-08-10 // over 4 years ago-
🍱 ❗️(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
- Removing cats-effect and its related operator that uses classes from cats-effect.
Previous changes from 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