Skip to content

Releases: gigobyte/purify

2.1.4

16 Dec 09:02

Choose a tag to compare

General

  • Fixed the build from v2.1.3

2.1.3 - DO NOT USE

12 Dec 12:45

Choose a tag to compare

⚠️ This version has a broken ESM build

Maybe

  • Add fromPredicate overload for type guards

Codec

  • Support encoding and decoding objects created with Object.create(null)

2.1.2

01 Jul 19:33

Choose a tag to compare

General

  • Fixed the build from v2.1.1

2.1.1 - DO NOT USE

10 Apr 08:29

Choose a tag to compare

⚠️ This version has a broken ESM build

Either, EitherAsync, Maybe, MaybeAsync, Tuple

  • Better inspect in Node.js
  • Small performance optimization during object construction

2.1.0

07 Jul 13:08

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

Choose a tag to compare

General

  • Fix ESM build

2.0.2 - DO NOT USE

30 Dec 13:07

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

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

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

Choose a tag to compare

MaybeAsync and EitherAsync

  • Fix ap and extend type definitions