Packages

immer

11.2.9 · 22 Oct 2026MIT89.4M / weekRepositoryHomepagenpmAtom feed

Upgrading immer From 10.0.2 to 10.2.0

7 releases in betweenevery note read

Other targets from 10.0.2Latest11.2.9
0
changes to make
0
advisories fixed
2
new
7
fixes

Release by release

  1. 10.2.0

    25 Oct 20251 new
    • new

      Optimize Immer performance where possible, introduce setUseStrictIteration

  2. 10.1.3

    1 Sep 20251 fix
    • fixed

      Mark exports as pure, for better tree-shakability

  3. 10.1.2

    1 Sep 20252 fixes
    • fixed

      non-enumerable (immutable) methods on Map/Set

    • fixed

      Update package.json exports for react-native

  4. 10.1.1

    27 Apr 20242 fixes
    • fixed

      Export lost types

    • fixed

      Make applyPatches to accept readonly Patch

  5. 10.1.0

    27 Apr 20241 new
    • new

      performance: Make non-strict mode faster for classes. Addresses #1071 (53e3203). Immer 10.x solved slow iteration for plain JS objects. This update applies the same handling to class instances. In cases this makes class instance handling 3 times faster. Note that this slightly modifies the behavior of Immer with classes in obscure corner cases, in ways that match current documentation, but do not match previous behavior. If you run into issues with this release icmw. class instances, use setUseStrictShallowCopy("class_only") to revert to the old behavior. For more details see immerjs.github.io/immer/complex-objects

  6. 10.0.4

    9 Mar 20241 fix
    • fixed

      Fix handling of Symbol and non-enumerable properties in finalization / freeze. Fixes #1096, #1087, #1091 (#1105))

  7. 10.0.3

    2 Oct 20231 fix
    • fixed

      Don't use .mjs file for react-native, which isn't supported by default. Fixes #1058 #1065