Skip to content

Releases: pmndrs/zustand

v5.0.15

Choose a tag to compare

@dai-shi dai-shi released this 13 Aug 00:36

Fix some issues in devtools and persist middleware.

What's Changed

  • fix(devtools): correct V8 stack regex when source path contains spaces by @dai-shi with @Copilot in #3531
  • fix(persist): clearStorage() should invalidate concurrent async rehydration by @dai-shi with @Copilot in #3555

Full Changelog: v5.0.14...v5.0.15

v5.0.14

Choose a tag to compare

@dai-shi dai-shi released this 28 May 10:17

This release fixes a type issue in devtools.

What's Changed

  • fix(devtools): improve type inference for Devtools initializer by @dbritto-dev in #3511

New Contributors

Full Changelog: v5.0.13...v5.0.14

v5.0.13

Choose a tag to compare

@dai-shi dai-shi released this 05 May 00:03

This release includes an improvement in the devtools middleware.

What's Changed

  • refactor(devtools): remove duplicate module augmentation by @mahmoodhamdi in #3443
  • fix(devtools): support Firefox/Safari stack format in findCallerName by @SBolsec in #3469

New Contributors

Full Changelog: v5.0.12...v5.0.13

v5.0.12

Choose a tag to compare

@dai-shi dai-shi released this 16 Mar 02:43

Two small fixes.

What's Changed

New Contributors

Full Changelog: v5.0.11...v5.0.12

v5.0.11

Choose a tag to compare

@dai-shi dai-shi released this 01 Feb 02:12

This release includes small improvements in middleware thanks to contributors.

What's Changed

New Contributors

Full Changelog: v5.0.10...v5.0.11

v5.0.10

Choose a tag to compare

@dai-shi dai-shi released this 12 Jan 06:12

This version includes a fix to the persist middleware for an edge case.

What's Changed

  • fix(persist): prevent race condition during concurrent rehydrate calls by @Niyaz-Mazhitov in #3336

New Contributors

Full Changelog: v5.0.9...v5.0.10

v5.0.9

Choose a tag to compare

@dai-shi dai-shi released this 30 Nov 01:03

This includes experimental middleware unstable_ssrSafe for a new usage with Next.js.
Related discussion: #2740

What's Changed

New Contributors

Full Changelog: v5.0.8...v5.0.9

v5.0.8

Choose a tag to compare

@dai-shi dai-shi released this 19 Aug 23:18

A bug fix in shallow and a tiny improvement in persist.

What's Changed

  • fix(shallow): undefined value by @dai-shi in #3205
  • feat(middleare/persist): return storage promise from setState by @dai-shi in #3206

New Contributors

Full Changelog: v5.0.7...v5.0.8

v5.0.7

Choose a tag to compare

@dai-shi dai-shi released this 31 Jul 00:14

This enables a small optimization in some edge cases.

What's Changed

New Contributors

Full Changelog: v5.0.6...v5.0.7

v5.0.6

Choose a tag to compare

@dai-shi dai-shi released this 26 Jun 14:14

Some very minor changes.

What's Changed

  • fix(devtools): Avoid inferring action type when explicit action name is provided by @vchirikov in #3147
  • refactor(middleware): replace export * with explicit named and type exports by @sukvvon in #3151

New Contributors

Full Changelog: v5.0.5...v5.0.6