Skip to content

Releases: charkour/zustand-di

v0.0.16 - Return Array

Choose a tag to compare

@charkour charkour released this 01 Jun 16:31

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

Choose a tag to compare

@charkour charkour released this 01 Jun 15:31

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

Choose a tag to compare

@charkour charkour released this 21 Dec 03:45

What's Changed

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

v0.0.13

Choose a tag to compare

@charkour charkour released this 21 Dec 03:28

What's Changed

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

v0.0.12

Choose a tag to compare

@charkour charkour released this 19 Dec 21:35

v0.0.11

Choose a tag to compare

@charkour charkour released this 19 Dec 21:17

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

Choose a tag to compare

@charkour charkour released this 09 Dec 19:42

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

Choose a tag to compare

@charkour charkour released this 09 Dec 18:56

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

Choose a tag to compare

@charkour charkour released this 30 Sep 17:33

What's Changed

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

v0.0.7 - zustand traditional

Choose a tag to compare

@charkour charkour released this 19 Sep 02:25

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