Packages

zustand

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

Upgrading zustand From 3.6.2 to 3.7.2

10 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.6.2Latest5.0.16
  1. 3.6.2yours
  2. 7 releases
  3. 3.7.0breaking
  4. 1 release
  5. 3.7.2target

Before you upgrade

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

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

  5. 3.6.8

    Deprecation24 Dec 20212 fixes
    • deprecated

      middleware/devtools: Deprecate passing name directly instead of an object

    • fixed

      middleware/devtools: Minor fixes for pause recording feature

    • fixed

      middleware/devtools: Revert extension connector with try-catch to fix RN usage

  6. 3.6.7

    7 Dec 20211 fix
    • fixed

      middleware: Devtools work in non-browser

  7. 3.6.6nothing new or fixed in the note

  8. 3.6.5

    9 Nov 20211 new · 1 fix
    • new

      middleware: Add onFinishHydration to persist api

    • fixed

      types: Fix core types to better handle middleware types

1 other line we could not sort, mostly version bumps
  • Rewrite devtools

    3.6.6

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