pmndrs/zustand v5.0.11 → v5.0.12

Release v5.0.12 is a small maintenance patch focused on correctness in persist and devtools. It also includes a broad set of documentation link fixes and workflow pinning updates, but the user-facing runtime changes are limited.

What's new

  • Nothing beyond the fixes called out below.

Fixes

  • persist now uses the latest store state in the post-rehydration callback during async hydration, which avoids stale callback payloads if state changes again while hydration is still in progress. (#3391)
  • devtools now accepts the Redux devtools config type extension correctly again, so passing options like serialize no longer trips a type error after the object typing regression. (#3414)

Other notable changes

  • Documentation links and examples were cleaned up across the README and docs site, including GitHub-friendly relative links, broken reference fixes, and Next.js guide import path corrections. (#3378, #3388, #3389, #3390, #3400, #3401, #3403, #3405, #3423)
  • GitHub Actions workflow references were updated and pinned to commit hashes or newer workflow versions. (#3381, #3393, #3395, #3396)

Contributors

@Shohjahon-n @grigoriy-reshetniak