Releases: charkour/zustand-di
v0.0.16 - Return Array
Overview
createContext
returns an array rather than an object.- 368 B --> 361 B
+ const [Provider, useStore] = createContext();
- const { Provider, useStore } = createContext();
What's Changed
Full Changelog: v0.0.15...v0.0.16
v0.0.15 - Peer Dep Version Updates
Overview
This change adds support for zustand v5 and react v19. It also adds more information to package.json
regarding peerDependenciesMeta
. Other tweaks to the TSConfig and workflows were updated too.
What's Changed
- add github vitest coverage action by @charkour in #24
- add peer deps meta by @charkour in #27
- bump deps and tweak tsconfig by @charkour in #28
- small cleanup by @charkour in #29
- support react v19 by @charkour in #31
Full Changelog: v0.0.14...v0.0.15
v0.0.14 - Byte Shave
v0.0.13
v0.0.12
What's Changed
Full Changelog: v0.0.11...v0.0.12
v0.0.11
v0.0.10 - Use a monorepo to reduce install size of module
WARNING: This includes a potentially breaking change from v0.0.9 where the default exported type is ESM instead of CJS. Please use v0.0.11 instead.
Release notes
- By removing lines from the root
package.json
, we were able to reduce the install size - We also lowered the install size by removing the
readme.md
from the installed package
What's Changed
Full Changelog: v0.0.9...v0.0.10
v0.0.9 - CJS and ESM support
WARNING: This caused a potentially breaking change where the default exported type is ESM instead of CJS. Please use v0.0.11 instead.
Previously, CJS was only supported. Now ESM is supported too.
What's Changed
Full Changelog: v0.0.8...v0.0.9
v0.0.8 - Fix TS issues from last release
What's Changed
Full Changelog: v0.0.7...v0.0.8
v0.0.7 - zustand traditional
Switch to use import { useStoreWithEqualityFn } from "zustand/traditional";
to support zustand v4.4.0 and above.
What's Changed
- copy zustand context test by @charkour in #2
- use zustand/traditional: 612 B --> 633 B by @charkour in #3
New Contributors
Full Changelog: v0.0.6...v0.0.7