yarn zustand 3.7.0
v3.7.0

latest releases: 5.0.1, 5.0.0, 5.0.0-rc.2...
2 years ago

This release is to prepare for v4 release, which will include some breaking changes. Especially typing store with middleware will be changed. This release gives partial migration path (see tests/middlewareTypes.test.tsx for examples), so it's highly recommended to try this version before v4 comes and report issues.

It also fixes some small typing issues and improves UMD/SystemJS bundling. Oh, and last but not least, vite users don't need to set NODE_ENV anymore.

What's Changed

  • fix(devtools): don't show jsdoc deprecation warning when no options are passed by @devanshj in #781
  • fix(middleware): match vanilla StateCreator type in subscribeWithSelector by @toddw in #787
  • feat(build): use __DEV__ to control development mode by @dai-shi in #789
  • feat: Migrations regarding higher kinded mutators for v4 by @devanshj in #772

New Contributors

Full Changelog: v3.6.9...v3.7.0

Don't miss a new zustand release

NewReleases is sending notifications on new releases.