zustand
5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed
Upgrading zustand From 3.3.3 to 3.7.2
31 releases in betweenevery note read
Reading releases, release notes and advisories…
- 6
- changes to make
- 0
- advisories fixed
- 15
- new
- 31
- fixes
Before you upgrade
Tick each one off as you go- breaking3.7.0
- breaking3.5.0
- breaking3.4.0
- breaking3.4.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
- new
middleware: Add onFinishHydration to persist api
- fixed
types: Fix core types to better handle middleware types
- new
10 other lines we could not sort, mostly version bumps
- 3.6.6
Rewrite
devtools - 3.5.10
Rollback to initial exports structures with duplicated .js and .mjs files for additional support of bundlers
- 3.5.9
Package all files into a single dist folder
- 3.5.6
Revert Provider initialStore types
- 3.5.6
Improve createContext's useStore types
- 3.5.3
Export NamedSet type for combining with immer
- 3.5.3
Make type NamedSet compatible with type SetState
- 3.5.2
(types): improve types for setState #397
- 3.5.2
Migrating Async/Await to Promise #403
- 3.5.1
Removed "initialState" parameter from createContext() #382
11 internal lines (docs, tests, tooling) left out.