Releases: joanllenas/ts.data.either
Releases · joanllenas/ts.data.either
v3.0.0
v2.1.0
- fix: The library doesn't throw exceptions when non
Either
values are used.
BREAKING CHANGE: Until now the library had some logic to throw exceptions when a non Either
value was used. This is not the case anymore.
Now, when a non Either
value is detected from the isLeft
or isRight
functions (which are also used internally) a Left
is returned.
- feat: Added
tryCatch()
function. (docs)
Improved docs, types and encapsulation
Improved docs, types and encapsulation
BREAKING CHANGE:
- All
Either
type parametrizations have changed. Right
andLeft
constructors have been hidden, useright()
andleft()
functions instead.caseOf
function signature has changed.
v0.9.2
Stable API