zustand
5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed
Upgrading zustand From 3.6.5 to 3.7.2
7 releases in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 2
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- breaking3.7.0
- deprecated3.7.1
- deprecated3.6.8
Release by release
- fixed
middleware/persist: Merge storage value with the latest store state
- fixed
- deprecated
middleware/devtools: Deprecate serialize.options
- fixed
context: Revert removing overloads in
UseContextStore
- deprecated
- 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
- breaking
- fixed
build: Generate umd and system files
- fixed
- 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
- deprecated
- fixed
middleware: Devtools work in non-browser
- fixed
3.6.6nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
- 3.6.6
Rewrite
devtools
2 internal lines (docs, tests, tooling) left out.