Repository navigation
Releases
Releases · AlexGalays/spacelift
1.0.4
1.0.3
- Add object.mapValue
(1.0.2 had the wrong typing for it)
1.0.1
No breaking changes
toDraftnow works with any types, not just arrays.- Add
map.setDefaultValue - Add
map.updateValue
1.0.0
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
0.8.6
New features
- Add createEnum
- Add createUnion
0.8.5
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
iteratorprotocol
0.8.4
0.8.3
- Options can now be updated with
deepUpdate - bump
immupdateto 1.3.0
0.8.2
Fixes
-
Prevent runtime error when giving a negative index to ArrayOps.
updateAt -
A Some's value's
toJSONfunction will be called if defined