Skip to content

Releases: drizzer14/fnts

3.0.1

05 Jul 11:54
Compare
Choose a tag to compare

3.0.1 (2024-07-05)

Bug Fixes

  • lens/set: program intended application order (849ad52)
  • permutation2: give shouldCurry intended priority over args.length (eec0663)
  • permutation3: give shouldCurry intended priority over args.length (aa5cd39)

3.0.0

27 Jun 09:06
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • ESM distribution, TypeScript 4.x support dropped
  • get and set functions were moved into lens module

Features

Bug Fixes

  • guard: try preventing validator type error (468de83)

2.2.0

27 Jun 09:05
Compare
Choose a tag to compare

Features

  • add set function (9251f96)
  • types: add Trim type (13650a0)
  • types: add Unshift type (0f8fd38)
  • types: move Flatten type into the module (9cc1ae9)

2.1.1

27 Jun 09:05
Compare
Choose a tag to compare

Bug Fixes

  • fix guard re-export name (d358991)

2.1.0

13 Dec 14:41
Compare
Choose a tag to compare

2.1.0 (2023-12-13)

Features

Bug Fixes

  • get: enhance Flatten type condition (be0b883)
  • get: guard object access with optional chaining (23d7a5e)

v2.0.1

13 Dec 14:40
Compare
Choose a tag to compare

2.0.1 (2022-11-24)

Bug Fixes

  • maybe: restrict mapped fmap value from being nullable in resulting type (95895eb)

2.0.0

23 Nov 15:54
Compare
Choose a tag to compare

2.0.0 (2022-11-23)

⚠ BREAKING CHANGES

  • bump typescript peer dependency version to >=4.7
  • remove ternary function
  • curry: rename type Currying -> Curry
  • pipe: accept only two functions at a time
  • compose: accept only two functions at a time

Features

  • remove ternary function (48f0b07)
  • compose: accept only two functions at a time (a521a3b)
  • curry: rename type Currying -> Curry (78fca81)
  • either: add bifoldlMap and bifoldrMap operators (203fb26)
  • either: allow isLeft and isRight guards to accept any value (768ad84)
  • either: allow left and right to not accept a value (22a5c1c)
  • pipe: accept only two functions at a time (c28dae3)
  • add get function (292c68b)

Bug Fixes

  • either: improve operators type inference (06a800f)
  • guard: fix internal typings (943d11c)
  • maybe: improve type inference (ab137ee)

deps

  • bump typescript peer dependency version to >=4.7 (4bfb251)

1.8.0

19 Oct 09:15
Compare
Choose a tag to compare

1.8.0 (2022-10-19)

Features

  • rethrow: make effect parameter optional (b4edf8c)

1.7.0

15 Sep 13:53
Compare
Choose a tag to compare

1.7.0 (2022-09-15)

Features

  • compose: allow the last function to have multiple arguments (3ee087f)
  • pipe: allow the first function to have multiple arguments (b895446)

Bug Fixes

  • either: fix bifoldMap first overload implementation (20b4070)

1.6.0

07 Sep 08:16
Compare
Choose a tag to compare

1.6.0 (2022-09-07)

Features

  • either: add isEither guard (8db7e42)
  • either: add new overloads for bifoldMap (41dd485)
  • maybe: add isMaybe guard (8916af0)