Skip to content

Release 1.2.0

Compare
Choose a tag to compare
@vitoke vitoke released this 14 Feb 16:04
· 69 commits to main since this release

What's Changed

  • docs: fix Stream#max return value document by @himanoa in #205
  • Feature/refactor stream by @vitoke in #207
  • The @rimbu/stream package has been refactored with the following main differences:
    • filter... and find methods now infer types when the predicate is a type guard
    • More Reducers and AsyncReducers added like partition, groupBy, and race.
    • Combining reducers has been made easier by extending the reduce... methods to accept reducer shapes.
    • Reducers and AsyncReducers can now be halted in the initialisation phase
    • Reducer and AsyncReducers now always require a lazy initialisation value
    • More Transformers and AsyncTransformers have been added like flatMap, flatZip, and filter.
    • Stream and AsyncStream have been extended with convenience methods based on the new reducers.
    • Transformers and convenience methods have been added like splitOn, splitOnSlice.

New Contributors

Full Changelog: 1.1.0...1.2.0