Skip to content

Releases: AlexGalays/spacelift

1.0.4

07 Oct 13:57
Compare
Choose a tag to compare

1.0.3

28 Jun 17:34
Compare
Choose a tag to compare

(1.0.2 had the wrong typing for it)

1.0.1

13 Jun 17:31
Compare
Choose a tag to compare

No breaking changes

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

1.0.0

16 Dec 23:28
Compare
Choose a tag to compare

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

06 Dec 13:48
Compare
Choose a tag to compare

Fix tuple()

0.8.6

27 Nov 01:06
Compare
Choose a tag to compare

New features

0.8.5

04 Nov 21:05
Compare
Choose a tag to compare

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

24 Oct 17:44
Compare
Choose a tag to compare

New feature

  • Add Option.contains

0.8.3

14 Oct 19:37
Compare
Choose a tag to compare
  • Options can now be updated with deepUpdate
  • bump immupdate to 1.3.0

0.8.2

14 Oct 10:04
Compare
Choose a tag to compare

Fixes

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

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