Releases: AlexGalays/immupdate
Releases · AlexGalays/immupdate
Release list
1.3.0
1.2.2
feat: when using update and not performing any actual change (the value has the same reference) return the current object.
1.2.0
Note: This version requires at least TS 2.8.0 (@next at the time of this release)
This fixes the type definitions for TS 2.8 since TS 2.7 regressed (microsoft/TypeScript#22771) and only conditional mapped types from 2.8 could help fixing the definitions.
This also means there is no release of immupdate that is compatible with TS 2.7
1.1.7
New feature
- Add
abortIfNotto allow the updating of an union property by using a type guard
1.1.6
- Fix bug when
abortIfUndefis used in the last position
1.1.5
New feature
- deepUpdate now also supports DELETE
1.1.4
- A separate ES6 module version is also published so modern bundlers can better optimize the output
1.1.2
1.1.1
Bug fixes
- Fix a runtime error when using
withDefaultas the last step in the chain.
1.0.2
Remove freezing functionality as it causes issues when maintaining rich models (DOM, recursive trees, etc)