Releases: pmndrs/zustand
v4.3.6
This has a little improvement for library authors.
What's Changed
- fix(react, types): relax react types by @lukesmurray in #1589
- fix: typo in shallow.ts by @ysulyma in #1667
New Contributors
- @ctolmsted made their first contribution in #1670
- @kevin51jiang made their first contribution in #1674
- @lukesmurray made their first contribution in #1589
- @ysulyma made their first contribution in #1667
Full Changelog: v4.3.5...v4.3.6
v4.3.5
v4.3.4 has a regression in CJS build. Please use this version instead.
What's Changed
New Contributors
- @jmantonellini made their first contribution in #1485
- @hiendv made their first contribution in #1661
Full Changelog: v4.3.4...v4.3.5
v4.3.4
This version fixes some build configs for some edge cases.
What's Changed
- fix(build): UMD names by @dai-shi in #1632
- fix(build): possibly improve ESM for production build by @dai-shi in #1645
- fix(build): add explicit export paths for cjs by @barelyhuman in #1659
New Contributors
- @AwesomeDevin made their first contribution in #1633
- @adimit made their first contribution in #1641
Full Changelog: v4.3.3...v4.3.4
v4.3.3
This version includes some small fixes and internal improvements.
What's Changed
- fix(build): improve patch scripts by @dai-shi in #1593
- fix(log): deprecated messages copyedit for consistency by @jareha in #1588
- chore: remove
__DEV__
with ts-jest by @dai-shi in #1598 - fix(build): reorder the types field in package.json by @HiChen404 in #1600
New Contributors
- @nitedani made their first contribution in #1544
- @nus3 made their first contribution in #1550
- @holgergp made their first contribution in #1565
- @JoaoPauloLousada made their first contribution in #1605
- @sajadtorkamani made their first contribution in #1606
- @zhangrenyang made their first contribution in #1608
- @jareha made their first contribution in #1588
- @HiChen404 made their first contribution in #1600
Full Changelog: v4.3.2...v4.3.3
v4.3.2
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
- @catmonster made their first contribution in #1539
- @MOZGIII made their first contribution in #1540
Full Changelog: v4.3.1...v4.3.2
v4.3.1
v4.3.0
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
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
- @Guchii made their first contribution in #1476
- @sewera made their first contribution in #1478
- @pavlobu made their first contribution in #1435
Full Changelog: v4.1.5...v4.2.0
v4.1.5
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
- @wmcb91 made their first contribution in #1398
- @chrisvander made their first contribution in #1426
- @boatilus made their first contribution in #1428
- @chybisov made their first contribution in #1453
- @hicucu made their first contribution in #1438
- @mskrzypek made their first contribution in #1431
- @anton-lunev made their first contribution in #1451
- @Arsikod made their first contribution in #1459
Full Changelog: v4.1.4...v4.1.5
v4.1.4
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