note: la sintesi e le note di rilascio sono in inglese
pending: sintesi in attesa
Rilevata il 2026-11-07 alle 02:31 UTC. La sintesi viene scritta al prossimo aggiornamento; le note di rilascio complete sono già qui sotto.
release-notesgithub.com/pmndrs/zustand · 13 righe
- 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
- * fix(middleware): persist migration supporting promise-like by @dai-shi in https://github.com/pmndrs/zustand/pull/3583
- * fix(middleware): devtools action dispatching by @dai-shi in https://github.com/pmndrs/zustand/pull/3595
- **Full Changelog**: https://github.com/pmndrs/zustand/compare/v5.0.16...v5.1.0