Packages

zustand

5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed

Upgrading zustand From 0.0.3 to 5.0.16

121 releases in betweennotes for 98

Reading releases, release notes and advisories…

Other targets from 0.0.3Newest 0.x0.2.2
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
  1. 0.0.3yours
  2. 3 releases
  3. 0.1.0major
  4. 3 releases
  5. 0.2.0major
  6. 2 releases
  7. 1.0.0major
  8. 7 releases
  9. 2.0.0major
  10. 6 releases
  11. 3.0.0major
  12. 44 releases
  13. 4.0.0major
  14. 33 releases
  15. 5.0.0major
  16. 15 releases
  17. 5.0.16target
31+
changes to make
0
advisories fixed
37+
new
111+
fixes

Counted from 98 of 121 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking4.5.5
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0

Release by release

  1. 5.0.16

    22 Oct 20261 new · 3 fixes
    • new

      react: Don't memoize getServerSnapshot in useStore

    • fixed

      devtools: Apply serialize.reviver when parsing devtools messages

    • fixed

      devtools: Preserve shared connections during store cleanup

    • fixed

      persist: Preserve external devtools action arguments

  2. 5.0.15

    13 Aug 20262 fixes
    • fixed

      devtools: Correct V8 stack regex when source path contains spaces

    • fixed

      persist: clearStorage() should invalidate concurrent async rehydration

  3. 5.0.14

    28 May 20261 fix
    • fixed

      devtools: Improve type inference for Devtools initializer

  4. 5.0.13

    5 May 20261 fix
    • fixed

      devtools: Support Firefox/Safari stack format in findCallerName

  5. 5.0.12

    16 Mar 20262 fixes
    • fixed

      persist: Use latest state in post-rehydration callback

    • fixed

      devtools: Correct redux devtools config type extension

  6. 5.0.11

    1 Feb 20262 fixes
    • fixed

      persist: Avoid relying on global localStorage

    • fixed

      immer: Proper typing for immer middleware in combination with slices

  7. 5.0.10

    12 Jan 20261 fix
    • fixed

      persist: Prevent race condition during concurrent rehydrate calls

  8. 5.0.9nothing new or fixed in the note

35 other lines we could not sort, mostly version bumps
  • experimental: Unstable ssrSafe middleware

    5.0.9
  • No new features

    5.0.0
  • Drop many old things

    5.0.0
  • Migration from v4 should be smooth.

    5.0.0
  • Make use-sync-external-store a peer dependency (required for createWithEqualityFn and useStoreWithEqualityFn in zustand/traditional)

    5.0.0
  • Drop UMD/SystemJS support

    5.0.0
  • Organize entry points in the package.json

    5.0.0
  • Drop ES5 support

    5.0.0
  • Stricter types when setState's replace flag is set

    5.0.0
  • Persist middleware behavioral change

    5.0.0

47 internal lines (docs, tests, tooling) left out.