Releases: pmndrs/zustand
v5.0.0-rc.2
Hopefully, this will be the last RC, unless we have serious bug reports in #2741.
What's Changed
- chore: enable isolatedDeclarations by @dai-shi in #2738
- revert useShallow refactor in #2701 by @dai-shi in #2703
New Contributors
- @Anuovec made their first contribution in #2708
- @EthanRBrown made their first contribution in #2717
- @mym0404 made their first contribution in #2730
Full Changelog: v5.0.0-rc.1...v5.0.0-rc.2
v5.0.0-rc.1
This version includes some minor changes. Please report any issues if you find.
What's Changed
- Fix Immer type inference for
setState
by @chrisvander in #2696 - refactor useShallow by @dai-shi in #2701
New Contributors
- @sagiereder made their first contribution in #2673
- @melutovich made their first contribution in #2692
- @rgksugan made their first contribution in #2695
Full Changelog: v5.0.0-rc.0...v5.0.0-rc.1
v5.0.0-rc.0
Please see the migration guide and share your feedback.
What's Changed
New Contributors
Full Changelog: v4.5.5...v5.0.0-rc.0
v4.5.5
This improves the persist
middleware behavior for an edge case.
What's Changed
- fix(storage): avoid calling setItem with the state just retrieved by @double-thinker in #2678
- chore(deps): update dependencies by @dai-shi in #2680
New Contributors
- @alwalxed made their first contribution in #2634
- @YashChauhan858 made their first contribution in #2636
- @donutcube made their first contribution in #2650
- @vorant94 made their first contribution in #2661
- @jeppester made their first contribution in #2667
- @ryota-murakami made their first contribution in #2668
- @double-thinker made their first contribution in #2678
Full Changelog: v4.5.4...v4.5.5
v4.5.4
v4.5.3
It comes with a minor fix in types, but also some changes in configs.
What's Changed
New Contributors
- @elie made their first contribution in #2416
- @DawidWraga made their first contribution in #2435
- @dreamfliper made their first contribution in #2510
- @fredericoo made their first contribution in #2525
- @algoORgoal made their first contribution in #2530
- @StyleShit made their first contribution in #2550
- @Aberratio made their first contribution in #2558
- @prncss-xyz made their first contribution in #2564
- @sunil-sharma-999 made their first contribution in #2585
- @yasintz made their first contribution in #2598
- @L-Qun made their first contribution in #2612
- @holic made their first contribution in #2586
Full Changelog: v4.5.2...v4.5.3
v4.5.2
It should improve the compatibility with old browsers.
What's Changed
- refactor(shallow): Use for..of instead of C-style for by @onlined in #2374
- fix: return type of persist migrate function changed to PersistedState by @bobdepreziz in #2360
- build: target es2018 by @dai-shi in #2361
New Contributors
- @medyahyejoud made their first contribution in #2353
- @yankycranky made their first contribution in #2348
- @cheeZery made their first contribution in #2364
- @Cadienvan made their first contribution in #2378
- @bobdepreziz made their first contribution in #2360
Full Changelog: v4.5.1...v4.5.2
v4.5.1
People might have misunderstood with useStore
deprecation message. Hope this mitigates it.
What's Changed
- Relax types for
persist
middleware by @rafaeelaudibert in #2332 - chore: clarify deprecation message by @dai-shi in #2337
New Contributors
- @alexander-densley made their first contribution in #2321
- @rafaeelaudibert made their first contribution in #2332
Full Changelog: v4.5.0...v4.5.1
v4.5.0
This version adds a new capability for SSR/Hydration.
What's Changed
- feat: getInitialState by @TkDodo in #2277
- fix: Add deprecation notice for getServerState() in WithReact type by @charkour in #2266
New Contributors
- @Jontii made their first contribution in #2228
- @wherehows made their first contribution in #2239
- @ahulterstrom made their first contribution in #2252
- @JaeBrian made their first contribution in #2267
- @CodyCodes95 made their first contribution in #2218
Full Changelog: v4.4.7...v4.5.0
v4.4.7
There's a small fix for a use case with an non-object value in store.
What's Changed
- fix(vanilla): unexpected null state update behavior by @wulimao49 in #2213
New Contributors
- @isiagi made their first contribution in #2208
- @ADTC made their first contribution in #2202
- @wulimao49 made their first contribution in #2213
Full Changelog: v4.4.6...v4.4.7