Skip to content

Releases: pmndrs/zustand

v4.3.6

06 Mar 05:20
Compare
Choose a tag to compare

This has a little improvement for library authors.

What's Changed

New Contributors

Full Changelog: v4.3.5...v4.3.6

v4.3.5

28 Feb 11:15
Compare
Choose a tag to compare

v4.3.4 has a regression in CJS build. Please use this version instead.

What's Changed

  • fix(build): re-export createStore from index by @hiendv in #1661

New Contributors

Full Changelog: v4.3.4...v4.3.5

v4.3.4

27 Feb 03:03
Compare
Choose a tag to compare

This version fixes some build configs for some edge cases.

⚠️ this version has an issue in CJS build. Please use v4.3.5.

What's Changed

New Contributors

Full Changelog: v4.3.3...v4.3.4

v4.3.3

10 Feb 12:33
Compare
Choose a tag to compare

This version includes some small fixes and internal improvements.

What's Changed

New Contributors

Full Changelog: v4.3.2...v4.3.3

v4.3.2

14 Jan 00:05
Compare
Choose a tag to compare

There was a regression with default export (which is deprecated) in v4.3.0 and v4.3.1. This should fix it.

What's Changed

  • fix(vanilla,shallow): default export regression in CJS by @dai-shi in #1531
  • fix(middleware/persist): Fix the storage type by @MOZGIII in #1540

New Contributors

Full Changelog: v4.3.1...v4.3.2

v4.3.1

10 Jan 11:15
Compare
Choose a tag to compare

This version supersedes v4.3.0.

What's Changed

  • chore: show deprecated message only in DEV by @dai-shi in #1523

Full Changelog: v4.3.0...v4.3.1

v4.3.0

10 Jan 10:45
Compare
Choose a tag to compare

Throughout past years of development, we've learned the (mis)usage of the library. One of our goal is to provide smallest possible APIs. To go further, this version deprecates some features. They are still usable (with warnings), but will be removed in the future.

What's Changed

  • feat: deprecate some APIs toward v5 by @dai-shi in #1403
  • feat: deprecate default export by @dai-shi in #1514
  • fix(middleware/persist): hydrate in sync (new impl with storage option) by @dai-shi in #1518

New Contributors

Full Changelog: v4.2.0...v4.3.0

v4.2.0

01 Jan 01:15
Compare
Choose a tag to compare

This version adds some new features in middleware.

What's Changed

  • feat(middleware/devtools): Better redux devtools. One connection for all zustand stores by @pavlobu in #1435
  • feat(middleware/persist): new storage option by @dai-shi in #1463
  • fix(build): disable esModule and re-export for nodejs by @barelyhuman in #1486

New Contributors

Full Changelog: v4.1.5...v4.2.0

v4.1.5

05 Dec 13:22
Compare
Choose a tag to compare

This version has several small improvements.

What's Changed

  • fix(middleware/devtools): do not use optional catch binding syntax by @mskrzypek in #1431
  • feat(shallow): Add support of Maps and Sets to shallow comparator by @anton-lunev in #1451
  • refactor(vanilla/types): replace hardcoded types with StoreApi type by @Arsikod in #1459
  • Fix: Programmatic module.exports addition for named and default exports in CJS by @barelyhuman in #1460

New Contributors

Full Changelog: v4.1.4...v4.1.5

v4.1.4

31 Oct 12:52
Compare
Choose a tag to compare

This should improve some importing problems. Uncertain if it fixes everything.

What's Changed

  • fix(build): use *.d.mts for esm ('import' condition only) by @dai-shi in #1387
  • fix(build): no import.meta for "module" condition by @dai-shi in #1393

New Contributors

Full Changelog: v4.1.3...v4.1.4