Skip to content

Releases: pmndrs/zustand

v5.0.8

19 Aug 23:18

Choose a tag to compare

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

31 Jul 00:14

Choose a tag to compare

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

26 Jun 14:14

Choose a tag to compare

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

v5.0.5

21 May 12:07

Choose a tag to compare

It comes with some small improvements.

What's Changed

New Contributors

Full Changelog: v5.0.4...v5.0.5

4.5.7

15 May 02:29

Choose a tag to compare

See: #3087 (comment)

Full Changelog: v4.5.6...4.5.7

v5.0.4

01 May 23:43

Choose a tag to compare

This fixes module resolution issue for React Native users.

What's Changed

  • refactor(traditional): remove duplicated ExtractState type declaration by @shinhyogeun in #2982
  • fix(package): react-native condition by @dai-shi in #3087

New Contributors

Full Changelog: v5.0.3...v5.0.4

v5.0.3

07 Jan 14:22

Choose a tag to compare

ExtractState is a type util to extract state type from store type.

What's Changed

New Contributors

Full Changelog: v5.0.2...v5.0.3

v4.5.6

07 Jan 13:01

Choose a tag to compare

See: #2943

Full Changelog: v4.5.5...v4.5.6

v5.0.2

04 Dec 15:10

Choose a tag to compare

This fixes some issues in middleware.

What's Changed

New Contributors

Full Changelog: v5.0.1...v5.0.2

v5.0.1

30 Oct 12:05

Choose a tag to compare

This fixes shallow function for some edge cases.

What's Changed

  • fix(shallow): fallback map-like iterator comparison by @dai-shi in #2795
  • fix(shallow): iterable-like insensitive keys order comparison (alternate implementation) by @dai-shi in #2821

New Contributors

Full Changelog: v5.0.0...v5.0.1