Packages

immer

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

Upgrading immer From 8.0.4 to 9.0.0

1 release in betweenevery note read

Other targets from 8.0.4Clears its 2 advisories9.0.6Latest11.2.9
  1. 8.0.4yours
  2. 9.0.0target
2
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking9.0.0
  • breaking9.0.0

Security

2 advisories still affect 9.0.0

Upgrading to 9.0.6 clears them.

Release by release

  1. 9.0.0

    Migration needed19 Mar 20211 new
    • breaking

      It is no longer allowed to return nothing from a recipe if the target state doesn't accept undefined.

    • breaking

      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.

    • new

      Improved typescript types (2c2f30e), closes #720