zustand
5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed
Upgrading zustand From 4.3.0 to 4.5.7
25 releases in betweenevery note read
Reading releases, release notes and advisories…
- 5
- changes to make
- 0
- advisories fixed
- 4
- new
- 26
- fixes
Before you upgrade
Tick each one off as you go- breaking4.5.5
- deprecated4.4.2
- deprecated4.4.1
- deprecated4.4.0
- deprecated4.3.2
Release by release
4.5.6 – 4.5.72 releases, nothing new or fixed in the notes
- breaking
:warning: We thought this was fixing a bug, but it actually introduced a behavioral breaking change.
- fixed
storage: Avoid calling setItem with the state just retrieved
- breaking
- fixed
No type field in package.json
- fixed
4.5.3nothing new or fixed in the note
- fixed
Return type of persist migrate function changed to PersistedState
- fixed
4.5.1nothing new or fixed in the note
- new
getInitialState
- fixed
Add deprecation notice for getServerState() in WithReact type
- new
- fixed
vanilla: Unexpected null state update behavior
- fixed
5 other lines we could not sort, mostly version bumps
- 4.5.3
Migrate to pnpm
- 4.5.3
useStore uses ReadonlyStoreApi
- 4.5.1
Relax types for
persistmiddleware - 4.4.6
Update export types
- 4.4.5
Apply publint recommendations
9 internal lines (docs, tests, tooling) left out.