This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
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