This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
Releases: nvie/lemons.js
Releases · nvie/lemons.js
v1.7.0-beta2
Bump to 1.7.0-beta2
v1.7.0-beta1
- Include ES modules in published NPM builds
- Officially support Node 16.x
- Drop support for Node 13.x (unstable)
v1.6.0
v1.5.0
- Add new
Maybe.expect()
andResult.expect()
methods. (Thanks @LetTheComputerDecide!)
v1.4.3
v1.4.2
v1.4.1
v1.4.0
-
Breaking changes:
- Removed
Result.toMaybe()
- this method wasn’t commonly used, but pulled
inMaybe
into compiled bundles, increasing its size.
- Removed
-
New features:
-
You can now directly import submodules of this package, for example:
// Previously import { Result, Ok, Err } from 'lemons'; // Now possible import Result, { Ok, Err } from 'lemons/Result'; // ^^^^^^^^^^^^^
Note that, when importing from the specific modules directly, you'll need to
make the main class (in this caseResult
) a default import instead of
a named import.
-
-
Misc:
- New build process
- Cleaner/smaller package output