Releases: gigobyte/purify
Releases · gigobyte/purify
2.0.2
⚠️ This version has a broken ESM build, please use 2.0.3 instead if you rely on it.
EitherAsync
- Fix bug in
bimap
not awaiting the result of the left mapping function
2.0.1
EitherAsync
- Fix bug in
mapLeft
not awaiting the result of the mapping function
2.0.0
Breaking changes
- Change default compile target from "es5" to "es2015"
- Remove
/es
build, leaving only the default one and the new /esm
MaybeAsync
- Export
MaybeAsyncTypeRef
type
EitherAsync
- Export
EitherAsyncTypeRef
type
Internal changes
- New esm output script
- Migrated from jest to vitest to reduce test time, dependencies and configs
1.3.5
MaybeAsync and EitherAsync
- Fix
ap
and extend
type definitions
1.3.3
General
- Allow passing ReadonlyArray values where T[] is required
1.3.2
Codec
- Fix runtime error when decoding an object with a BigInt value
MaybeAsync and EitherAsync
- Fix
map
and join
type definitions
1.3.1
Codec
- Fix runtime error when decoding an object with a BigInt value
Maybe
- Fix disappearing property when running
JSON.stringify
on a Maybe with a Date
1.2.2
General
- Add new TS 4.7 module schema