0.19.6 (2025-06-03)
- Add size of package to key features (9989dc4)
0.19.5 (2025-06-03)
- Update bundle size docs (2a33ab8)
0.19.4 (2025-06-03)
- Change build tool from Vite to tsdown (70b7475)
0.19.3 (2025-05-29)
- Update docs with Keys and State types (db60c27)
0.19.2 (2025-05-28)
-
Refactor out one loop (1e5d4aa)
-
Export Keys and State (6067e94)
Docs required: Keys = any state, derived, or action name. State = only state and their values.
0.19.1 (2025-05-26)
- Fix handle retrieval of field that doesn't exist (588e19b)
0.19.0 (2025-05-14)
-
Subscriptions are now tracked by field (2d0e483)
This means subscriptions will not fire if the thing they are tracking hasn't changed.
This has also had an affect on when state officially changes which is now only after an emit.
0.18.4 (2025-05-14)
- Simplify get internals slightly (936ce0a)
0.18.3 (2025-05-13)
- Document and test emit-less actions (dcb4cf4)
0.18.2 (2025-05-08)
- Remove auto-bind from deps and docs (6f87025)
0.18.1 (2025-05-08)
0.18.0 (2025-05-08)
- Remove store from API (0bfcba0)
0.17.0 (2025-05-08)
- Replace getInitialState with getStateByField (d785417)
0.16.1 (2025-05-07)
- Update README with latest bundle size (985f675)
0.16.0 (2025-05-07)
- Remove auto-bind (6072d89)
- Update README with non-auto-bound methods (0233581)
0.15.0 (2025-05-07)
- Make auto-bind optional (4e861f7)
0.14.0 (2025-05-07)
-
Remove Pickle (the new API) (17b733e)
Didn't work.
0.13.4 (2025-05-06)
- Forgot to export id (022262c)
0.13.3 (2025-05-06)
- Add id function (c58892c)
0.13.2 (2025-05-06)
-
Completely different API! Zustand meets Redux meets Pinia (d22d8ca)
This is a complete change to the API. I got fed up of dealing with classes and
this😱 Much more fun to play with functional! This is essentially Zustand but how I would have built it 🤓 Immer is built in, actions are called events (as they should be), and selectors are moved to the store. This is going out as a patch, living next to the original 2n8 until I've tested it in projects.
0.13.1 (2025-04-19)
- Add link to name background (7bcd3f6)
0.13.0 (2025-04-19)
- ESM only (63752cd)
0.12.2 (2025-04-19)
0.12.1 (2025-04-13)
- Fix custom auto-binding not working (22a6667)
0.12.0 (2025-04-13)
0.11.0 (2025-04-10)
0.10.3 (2025-04-10)
- Swap fast-equals for @ver0/deep-equal (9e4e359)
0.10.2 (2025-01-21)
- Add emoji-logo to README title (248faeb)
0.10.1 (2025-01-20)
- Replace equality checker package for a faster one (dcf68d9)
0.10.0 (2025-01-20)
- Remove unused API method: getSubscribersCount (da94d77)
0.9.1 (2025-01-20)
0.9.0 (2025-01-20)
- Export API from create function rather than off the store class (5561a49)
0.8.3 (2025-01-12)
- Test release (2f23d6b)
0.8.2 (2025-01-07)
- Fix initial state being mutated (eead54d)
0.8.1 (2025-01-07)
- Expose store on useStore (a93a31c)
0.8.0 (2025-01-06)
- Stop using proxies as they are slow (a284ab1)
0.7.7 (2025-01-04)
- Remove duplicate set in reset (c527383)
0.7.6 (2025-01-04)
- Speed up getState, slightly (37214fd)
0.7.5 (2025-01-04)
- Speed up getState, slightly (12696e5)
0.7.4 (2025-01-04)
- Use faster deep equals (805ce0c)
0.7.3 (2025-01-03)
- Speed up internal cloning (81f5fa7)
0.7.2 (2025-01-03)
- Prevent mutating external objects on nested object state (b31d1b5)
- Refactor-out multiple loops over the same object (4913d84)
0.7.0 (2025-01-02)
- Change listeners to subscribers (4642a62)
0.6.0 (2025-01-02)
- Change special $commit action to $emit, to better represent what it does (468c725)
0.5.4 (2024-12-18)
- Improve npm README and fields (f6eaf4a)
0.5.3 (2024-12-18)
0.5.2 (2024-12-18)
- Add compatibility with React 19 (3ff8413)
0.5.1 (2024-12-18)
- Fix types on createReactStore returned utils (fcc6155)
- Refactor to use consistent internal store set (c0a2e42)
0.5.0 (2024-12-18)
- Remove direct access to fields (cc1d3e3)
0.4.0 (2024-12-18)
- Change to a commit-based flow (d459837)
- Attach vanilla API to React hook (25a1d36)
- Do not mutate external objects (f62f3a3)
- Always commit changes (c1734f5)
- Prevent changes to initial state (626ec28)
- Prevent mutation of external objects when setting up state (a9d0bd0)
0.3.4 (2024-12-11)
- Fixed unchanged objects causing subscriptions to fire (663582a)
0.3.3 (2024-12-11)
- Fix subscriptions not firing with derived state (92f067a)
0.3.2 (2024-12-10)
- Fix memoizing derived not working (again) (2756ba8)
0.3.1 (2024-12-10)
- Fix derived getters causing infinite loops in React (132d94e)
0.3.0 (2024-12-09)
- Export all from index for one less line of code (1d0bae9)
- Add $getState (1b08e2d)
- Only return state from $getInitialState (887987c)
- Add subscribe with a selector (2f3139f)
0.2.5 (2024-12-07)
- Removed getState (2815607)
0.2.4 (2024-12-06)
- Remove API methods from React hook (69163c2)
- Add $getState method (06afbc9)
- Add $getInitialState method (7c9caba)
0.2.3 (2024-12-05)
- Show $ methods as methods in IDE (197fe56)
- Hide emitChange method as it's an internal method (d63ec4b)
0.2.2 (2024-12-05)
- Provide initial state to server snapshot of React store (cec5da1)
- Throw if attempting to reset an action (4444426)
- Add type to $reset (10a0f41)
0.2.1 (2024-12-05)
- Refactor for one less line of code (1e59973)
- Fix server and client hydration mismatch (99dc112)
- Fix reset not announcing change to listeners (19e8250)
0.2.0 (2024-12-03)
- Removed React hook from main bundle, and exported it from /react (284fb26)
0.1.0 (2024-12-02)
- ClassyStore -> TwoAndEight, createClassyStore -> createStore (1914c91)
- Add reset state ability (ce28af7)
0.0.5 (2024-12-02)
- Fix build artefacts not in release (caa40bd)
0.0.4 (2024-12-02)
- Initial library release (for testing only) (d0df404)