This repository was 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.fromLazyListfor 2.13SMono.usingandSMono.usingWhento replaceSMono.bracketandSMono.bracketCaserespectivelySFlux.usingandSFlux.usingWhento replaceSFlux.bracketandSFlux.bracketCaserespectively
👋 Deprecated Operators
SFlux.retryin favor ofSFlux.retryWhen(Retry)SMono.retryandSMono.retryWhen. UseSMono.retryWhen(Retry)SFlux.fromStreamfor 2.13. UseSFlux.fromLazyListfor 2.13
➖ Removed Operators
SMono.bracketandSMono.bracketCaseSFlux.bracketandSFlux.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. scanparameter is changed to reference value. The originalSFlux.scanwith by-name parameter is now renamed toSFlux.scanWith(#61)
➕Added Operators
SFlux.foldWiththis will align closer to scala collection operators, which will makeSFlux.reduceWithdeprecated (#61)SFlux.scanWithsimilar toSFlux.scan, but use by-name parameter (#61)SFlux.productto multiply all the emitted value if they'reNumericSMono.+to sum the value of thisSMonoand anotherSMonoif the value type isNumericSMono.-to subtract the value of thisSMonoand anotherSMonoif the value type isNumericSMono.*to multiply the value of thisSMonoand anotherSMonoif 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.asJavaandSMono.asJavawill 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
SFluxandSMonoelement type is now declared as Covariant Type. This may or may not be breaking changes. (#54)
➕Added Operators
SFlux.deferWithContextSFlux.metricswhenever there is Micrometer in classpath (#56)SMono.metricswhenever there is Micrometer in classpath (#56)
🐞Bug Fixed
SFlux.toStreamto use thebatchSizeparameter
🛠️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.scanworks without explicitly specifying generic type (#52)SFlux.scanWithworks without explicit generic type(#52)
New Operators:
foldinSFluxas alias forfoldLeftscan,reduce&zipWithCombinatorinSFluxuses curry function to pass the accumulator. This replaces the previous signature where the accumulator is passed via 2nd parameter. (#52)
Removed Operators:
scan,reduce&zipWithCombinatorwith accumulator as 2nd parameter. See new operator. (#52)
Release v0.5.1
New Operators:
++inSFluxas an alias toconcatWithso 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.transformDeferredto replaceSFlux.composeSMono.transformDefferedto replaceSMono.compose
Deprecated Operators:
SFlux.composereplaced bySFlux.transformDeferredSMono.composereplaced 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.toFuturedoes not work when the mono is completed with anullorvoidresult (#36)
New Operator:
SFlux.mergewas missed when whenFluxwas removed (#38)SFlux.mergeOrderedwas missed when whenFluxwas removed (#38)
Contributors: