Packages

zustand

5.1.0 · 6 Nov 2026MIT94.9M / weekRepositorynpmAtom feed

Your version

5.1.0

Latest6 Nov 2026Where it was published

Summary· from the note as AI read it

No actionNothing to change: 4 new, 0 fixed.

New

  • The persist middleware now supports PromiseLike results from storage reads, migrations, and migration writes. persist.rehydrate() now returns a native Promise<void>, which you can await to ensure hydration is complete.
  • The devtools middleware now supports dispatching store actions directly from Redux DevTools using the new actionCreators option. It also supports nested actions and arguments.
  • fix(middleware): persist migration supporting promise-like
  • fix(middleware): devtools action dispatching

In short

4 new

Release note

The persist and devtools middleware are improved thanks to @Tnalxmsk and @dgesteves!

Release note

  • The persist middleware now supports PromiseLike results from storage reads, migrations, and migration writes. persist.rehydrate() now returns a native Promise<void>, which you can await to ensure hydration is complete.

  • The devtools middleware now supports dispatching store actions directly from Redux DevTools using the new actionCreators option. It also supports nested actions and arguments.

What's Changed

  • middleware: Persist migration supporting promise-like

  • middleware: Devtools action dispatching

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.