Releases: pmndrs/zustand
Releases Β· pmndrs/zustand
v5.0.8
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
- @witch-factory made their first contribution in #3207
Full Changelog: v5.0.7...v5.0.8
v5.0.7
This enables a small optimization in some edge cases.
What's Changed
New Contributors
- @noritaka1166 made their first contribution in #3161
- @Henry8192 made their first contribution in #3170
- @soyboi made their first contribution in #3171
- @maltesa made their first contribution in #3183
Full Changelog: v5.0.6...v5.0.7
v5.0.6
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
- @csark0812 made their first contribution in #3135
- @clonemycode made their first contribution in #3139
- @vchirikov made their first contribution in #3147
Full Changelog: v5.0.5...v5.0.6
v5.0.5
It comes with some small improvements.
What's Changed
- feat(vanilla): update shallow compare function and tests by @dbritto-dev in #3108
- feat: add devtools.cleanup() method by @maxam2017 in #3111
- refactor: remove unnecessary type assertion in createJSONStorage by @2yunseong in #3113
- feat(devtool): inferred action type by @alimertcakar in #2987
New Contributors
- @Josh68 made their first contribution in #3106
- @wingedotter5 made their first contribution in #3115
- @maxam2017 made their first contribution in #3111
- @2yunseong made their first contribution in #3113
Full Changelog: v5.0.4...v5.0.5
4.5.7
See: #3087 (comment)
Full Changelog: v4.5.6...4.5.7
v5.0.4
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
- @zbeyens made their first contribution in #2958
- @samirhembrom made their first contribution in #2963
- @alimertcakar made their first contribution in #2980
- @sidahmedabdelillah made their first contribution in #2978
- @Sunjae95 made their first contribution in #2994
- @chervyakovru made their first contribution in #3001
- @andriyor made their first contribution in #3002
- @theperfectpunk made their first contribution in #2998
- @locothedev made their first contribution in #3004
- @paulschoen made their first contribution in #3008
- @mooalot made their first contribution in #3011
- @rn0614 made their first contribution in #3037
- @dngur9801 made their first contribution in #3042
- @Shashikantyadavv made their first contribution in #3045
- @mtilda made their first contribution in #3053
- @jroitgrund made their first contribution in #2995
- @oduntane made their first contribution in #3080
- @B1u3B01t made their first contribution in #3082
- @vikpe made their first contribution in #3094
- @wy-luke made their first contribution in #3100
- @shinhyogeun made their first contribution in #2982
Full Changelog: v5.0.3...v5.0.4
v5.0.3
ExtractState is a type util to extract state type from store type.
What's Changed
- feat(types): Make ExtractState public by @vorant94 in #2935
- fix(build): alias entries in rollup config by @dai-shi in #2942
New Contributors
- @atticoos made their first contribution in #2883
- @sukvvon made their first contribution in #2890
- @Wxh16144 made their first contribution in #2891
- @leweyse made their first contribution in #2913
- @dmaskasky made their first contribution in #2936
- @HoberMin made their first contribution in #2938
Full Changelog: v5.0.2...v5.0.3
v4.5.6
v5.0.2
This fixes some issues in middleware.
What's Changed
- fix(middleware): devtools type error #2700 by @AndyRightNow in #2875
- fix(persist): fix async migrate on persist middleware by @dbritto-dev in #2877
New Contributors
- @ennjin made their first contribution in #2834
- @ytraddan made their first contribution in #2836
- @m1nsuplee made their first contribution in #2847
- @gonzalezfj made their first contribution in #2861
- @mordv made their first contribution in #2869
- @marcoamt made their first contribution in #2874
- @AndyRightNow made their first contribution in #2875
Full Changelog: v5.0.1...v5.0.2
v5.0.1
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
- @legcy143 made their first contribution in #2799
- @kretajak made their first contribution in #2822
- @steaks made their first contribution in #2824
Full Changelog: v5.0.0...v5.0.1