Packages

zustand

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

Upgrading zustand From 3.6.8 to 3.7.2

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.6.8Latest5.0.16
  1. 3.6.8yours
  2. 3.6.9
  3. 3.7.0breaking
  4. 3.7.1
  5. 3.7.2target

Before you upgrade

Tick each one off as you go
  • breaking3.7.0
  • deprecated3.7.1

Release by release

  1. 3.7.2

    7 Apr 20221 fix
    • fixed

      middleware/persist: Merge storage value with the latest store state

  2. 3.7.1

    Deprecation28 Feb 20221 fix
    • deprecated

      middleware/devtools: Deprecate serialize.options

    • fixed

      context: Revert removing overloads in UseContextStore

  3. 3.7.0

    Migration needed10 Feb 20222 new · 2 fixes
    • breaking

      This release is to prepare for v4 release, which will include some breaking changes.

    • new

      build: Use __DEV__ to control development mode

    • new

      Migrations regarding higher kinded mutators for v4

    • fixed

      devtools: Don't show jsdoc deprecation warning when no options are passed

    • fixed

      middleware: Match vanilla StateCreator type in subscribeWithSelector

  4. 3.6.9

    10 Jan 20221 fix
    • fixed

      build: Generate umd and system files