This is the 3rd release of Reactor 3.1, part of BISMUTH-SR4 Release Train.
This is a recommended update for all Reactor 3 users. It notably contains a new Flux operator called index to index as a Tuple<Long, T> or any arbitrary container each element from a sequence.
✨ New features and improvements
- Add
Flux#indexoperator (#934) - Add
Mono#singleto enforce the presence of an element in aMono<T>(#940) - Add
Mono#blockOptionalto block and return anOptional(#918) - Add
Flux#fromStream(Supplier<Stream>)(#922) - Use an explicit timeout message for
timeoutoperator (#925) - Add a Kotlin extension to create a
Monofrom aSupplier(#929)
🪲 Bug fixes
- Fix
concatDelayErrorandconcatMapDelayErrorwithMono.error(#936)
📖 Documentation, Tests and Build
- Add
Contextsimple example in reference guide (#921) - Fix javadoc marble for
Mono.repeatWhenEmpty(#919) - Fix CLA in Contributing.md (#98b32f5)
- Fix links to JDK Reference (#a0d8126)
- Add
cache(Duration)javadoc (#930) - Fix
Contextcontent in test (#950) - Improvve
Schedulerjavadoc (#935)