Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 11:32
133db14

1.0.0 (2022-11-29)

Features

  • implement orElse to both option and result (8987447)
  • option: add unwrapOrElse operator for options (cd624d8)
  • option: implement map and or combinators for result (2e46e80)
  • options: implemented Option monad for handling null/undefined types (a85ea9f)
  • result: add map, maoErr and bind combinators to result (1725dad)
  • result: add unwrap and expect operators to Result + tests (a7db726)
  • result: implemented basic version of Result monad for handling exceptions (ff57f94)

Bug Fixes

  • CI: removed support for node 10.x (ea33df2)
  • CI: removed support for node 12.x (ed15d24)
  • lint: fixed lint errors (997ca89)
  • typeError: Cast T as unknown first before casting to Option<T> in flatten() to fix ts compiler complains (a7dd6d7)