Skip to content

Releases: gigobyte/purify

2.1.0

07 Jul 13:08
Compare
Choose a tag to compare

EitherAsync

MaybeAsync

Maybe and Either

  • TS 5.5 support

Function

  • Change Order from const enum to handrolled enum

2.0.3

01 Jan 13:25
Compare
Choose a tag to compare

General

  • Fix ESM build

2.0.2

30 Dec 13:07
Compare
Choose a tag to compare

⚠️ 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

05 Jun 20:10
2eab340
Compare
Choose a tag to compare

EitherAsync

  • Fix bug in mapLeft not awaiting the result of the mapping function

2.0.0

18 Mar 13:01
Compare
Choose a tag to compare

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

28 Feb 19:41
Compare
Choose a tag to compare

MaybeAsync and EitherAsync

  • Fix ap and extend type definitions

1.3.3

22 Feb 19:05
Compare
Choose a tag to compare

General

  • Allow passing ReadonlyArray values where T[] is required

1.3.2

02 Feb 19:36
Compare
Choose a tag to compare

Codec

  • Fix runtime error when decoding an object with a BigInt value

MaybeAsync and EitherAsync

  • Fix map and join type definitions

1.3.1

24 Jan 20:05
Compare
Choose a tag to compare

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.3.0

23 Aug 17:05
Compare
Choose a tag to compare
  • Add ESM support