Skip to content

Releases: charkour/zustand-di

v0.0.16 - Return Array

01 Jun 16:31
Compare
Choose a tag to compare

Overview

⚠️ BREAKING

  • 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

01 Jun 15:31
Compare
Choose a tag to compare

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

Full Changelog: v0.0.14...v0.0.15

v0.0.14 - Byte Shave

21 Dec 03:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.13...v0.0.14

v0.0.13

21 Dec 03:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.12...v0.0.13

v0.0.12

19 Dec 21:35
Compare
Choose a tag to compare

v0.0.11

19 Dec 21:17
Compare
Choose a tag to compare

Release Notes

  • v0.0.9 switched the default type to ESM instead of CJS. This fixes those changes.

What's Changed

Full Changelog: v0.0.10...v0.0.11

v0.0.10 - Use a monorepo to reduce install size of module

09 Dec 19:42
Compare
Choose a tag to compare

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

09 Dec 18:56
Compare
Choose a tag to compare

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

30 Sep 17:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.7...v0.0.8

v0.0.7 - zustand traditional

19 Sep 02:25
Compare
Choose a tag to compare

Switch to use import { useStoreWithEqualityFn } from "zustand/traditional"; to support zustand v4.4.0 and above.

What's Changed

New Contributors

Full Changelog: v0.0.6...v0.0.7