Skip to content

Releases: immerjs/immer

v9.0.8

11 Jan 11:02
e140918
Compare
Choose a tag to compare

9.0.8 (2022-01-11)

Bug Fixes

  • immerjs#876 Ensure empty patch set for atomic set+delete on Map (#878) (e140918)

v9.0.7

24 Nov 22:11
8507692
Compare
Choose a tag to compare

9.0.7 (2021-11-24)

Bug Fixes

v9.0.6

31 Aug 19:01
Compare
Choose a tag to compare

9.0.6 (2021-08-31)

Bug Fixes

  • security: Follow up on CVE-2020-28477 where path: [["__proto__"], "x"] could still pollute the prototype (fa671e5)

v9.0.5

05 Jul 15:36
Compare
Choose a tag to compare

9.0.5 (2021-07-05)

Bug Fixes

  • release missing dist/ folder (bfb8dec)

v9.0.4

05 Jul 14:49
144f886
Compare
Choose a tag to compare

9.0.4 (2021-07-05)

Bug Fixes

  • #791 return 'nothing' should produce undefined patch (5412c9f)
  • #807 new undefined properties should end up in result object (dc3f66c)
  • Better applyPatches type (#810) (09ac097), closes #809

v9.0.3

09 Jun 09:55
07575f3
Compare
Choose a tag to compare

9.0.3 (2021-06-09)

Bug Fixes

  • isPlainObject: add quick comparison between input and Object to short-circuit taxing Function.toString invocations (#805) (07575f3)

v9.0.2

25 Apr 14:53
6555173
Compare
Choose a tag to compare

9.0.2 (2021-04-25)

Bug Fixes

  • #785 fix type inference for produce incorrectly inferring promise (#786) (6555173)

v9.0.1

20 Mar 21:40
e0b7c01
Compare
Choose a tag to compare

9.0.1 (2021-03-20)

Bug Fixes

  • #768 immerable field being lost during patch value cloning (#771) (e0b7c01)

v9.0.0

19 Mar 21:16
2c2f30e
Compare
Choose a tag to compare

9.0.0 (2021-03-19)

feature

BREAKING CHANGES

  • It is no longer allowed to return nothing from a recipe if the target state doesn't accept undefined.
  • It is no longer allowed to return arbitrary things from a recipe. Recipes should either return nothing, or something that is assignable to the original state type. This will catch mistakes with accidental returns earlier.

v8.0.4

19 Mar 16:47
b7fcf7f
Compare
Choose a tag to compare

8.0.4 (2021-03-19)

Bug Fixes

  • make sure isPlainObject checks support objects send accross frames. Fixes #766 / #405 (5ae3547)