Skip to content

Releases

1.0.4

Choose a tag to compare

@AlexGalays AlexGalays released this 07 Oct 13:57

1.0.3

Choose a tag to compare

@AlexGalays AlexGalays released this 28 Jun 17:34

(1.0.2 had the wrong typing for it)

1.0.1

Choose a tag to compare

@AlexGalays AlexGalays released this 13 Jun 17:31

No breaking changes

  • toDraft now works with any types, not just arrays.
  • Add map.setDefaultValue
  • Add map.updateValue

1.0.0

Choose a tag to compare

@AlexGalays AlexGalays released this 16 Dec 23:28

First stable release!

in a nutshell:

  • Moved Option and Result monads to a new repo
  • The old immupdate served us well but an api like immer's has better ergonomics overall. update() now looks very similar at a fraction of the size.
  • Support for Map/Set
  • Removed/Updated some functions that were no longer as useful in a modern JS/TS context.

0.8.7

Choose a tag to compare

@AlexGalays AlexGalays released this 06 Dec 13:48

Fix tuple()

0.8.6

Choose a tag to compare

@AlexGalays AlexGalays released this 27 Nov 01:06

New features

0.8.5

Choose a tag to compare

@AlexGalays AlexGalays released this 04 Nov 21:05

Tweaks

  • lift(array) can now accept an Array typed only as a ReadOnlyArray

New features

  • Option.filter and Option.exists can now refine the Option type, if a type guard is used
  • Option and the lift wrapper now implement the iterator protocol

0.8.4

Choose a tag to compare

@AlexGalays AlexGalays released this 24 Oct 17:44

New feature

  • Add Option.contains

0.8.3

Choose a tag to compare

@AlexGalays AlexGalays released this 14 Oct 19:37
  • Options can now be updated with deepUpdate
  • bump immupdate to 1.3.0

0.8.2

Choose a tag to compare

@AlexGalays AlexGalays released this 14 Oct 10:04

Fixes

  • Prevent runtime error when giving a negative index to ArrayOps.updateAt

  • A Some's value's toJSON function will be called if defined