Releases: pmndrs/zustand
v3.5.12
v3.5.11
This improved devtools
middleware. There can still be room for improvement. Free free to open issues and feature requests, and possibly contribute to them.
v3.5.10
Our fixes for ESM in v3.5.8 and v3.5.9 were somewhat good and somewhat bad. Now, this should be the better one based on our experience and reported issues. If you still have some issues, please file them.
v3.5.9
We've been struggling with providing package that works for various bundlers and node.
v3.5.8 was expected to solve the issue with node, but it turned out having an issue with webpack 5.
We basically gave up supporting old bundlers. v3.5.9 comes with simplified builds with latest standard.
Note for old bundlers like webpack 4: Unlike previous versions, the bundler will pick cjs build by default. If you need module build, it should be explicit. Free free to open an issue for questions and discussions.
- #537 Package all files into a single dist folder
v3.5.8
v3.5.7
v3.5.6
v3.5.5
This supports IE11 again. (v3.5.3 and v3.5.4 have an issue.)
It also has various fixes and improvements in the persist middleware.
- #455 fix(persist): onRehydrateStorage argument not containing the final state
- #466 feat(persist): add a merge function option
- #462 fix: do not use generator to support IE11
- #468 fix(persist): incorrect deserialize return type
- #470 fix(persist): not hydrating when the stored item doesn't contain a version
v3.5.4
v3.5.3
(v3.5.3 includes #419, which causes a build issue in CJS. Please use v3.5.4)
This includes some type improvements in zustand/middleware
and improvements/changes in zustand/context
.