Skip to content

Releases: AlexGalays/immupdate

1.3.0

Choose a tag to compare

@AlexGalays AlexGalays released this 14 Oct 19:34

New feature

  • space-lift Option is now a supported container along with objects and Arrays.

Fixes

  • An object passed to withDefault is no longer mutated.

1.2.2

Choose a tag to compare

@AlexGalays AlexGalays released this 13 Aug 17:48

feat: when using update and not performing any actual change (the value has the same reference) return the current object.

1.2.0

Choose a tag to compare

@AlexGalays AlexGalays released this 22 Mar 15:14

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

Choose a tag to compare

@AlexGalays AlexGalays released this 25 Nov 16:29

New feature

  • Add abortIfNot to allow the updating of an union property by using a type guard

1.1.6

Choose a tag to compare

@AlexGalays AlexGalays released this 17 Nov 13:46
  • Fix bug when abortIfUndef is used in the last position

1.1.5

Choose a tag to compare

@AlexGalays AlexGalays released this 24 Oct 08:47

New feature

  • deepUpdate now also supports DELETE

1.1.4

Choose a tag to compare

@AlexGalays AlexGalays released this 30 Jul 00:15
  • A separate ES6 module version is also published so modern bundlers can better optimize the output

1.1.2

Choose a tag to compare

@AlexGalays AlexGalays released this 30 Jul 00:15
  • Use typescript 2.4

1.1.1

Choose a tag to compare

@AlexGalays AlexGalays released this 23 May 06:41

Bug fixes

  • Fix a runtime error when using withDefault as the last step in the chain.

1.0.2

Choose a tag to compare

@AlexGalays AlexGalays released this 17 Apr 12:26

Remove freezing functionality as it causes issues when maintaining rich models (DOM, recursive trees, etc)