1280 Commits

Author SHA1 Message Date
Usman Sabuwala
adce5e6f2a
docs: remove duplicate code sections (#3310) 2025-12-05 08:56:42 -05:00
daishi
32a3698e95 5.0.9 v5.0.9 2025-11-30 09:59:13 +09:00
Daishi Kato
350d9ec6bc
chore(deps): update dev dependencies (#3309)
* chore(deps): update dev dependencies

* fix devtools test

* update old ts test

* update older ts test

* possible fix

* testing old ts

* move it to older ts
2025-11-30 09:45:31 +09:00
Daishi Kato
2cfb6a72d2
chore: publish.yml (#3307)
* chore: publish.yml

* Update .github/workflows/publish.yml

Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>

---------

Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2025-11-30 08:59:06 +09:00
Triumph-light
ddfc158f87
feat: add zustand playground (#3209)
* feat: add zustand playground

* use another playground

* fix styles

---------

Co-authored-by: daishi <daishi@axlight.com>
2025-11-30 08:35:40 +09:00
Daishi Kato
f99902226a
experimental: unstable ssrSafe middleware (#3308)
* unstable ssrSafe

* add todo comment
2025-11-30 07:59:05 +09:00
dependabot[bot]
82806501c4
chore(deps): bump actions/checkout from 5 to 6 (#3306)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-11-29 21:58:17 +09:00
Daishi Kato
957bf89509
Update README 2025-11-25 22:44:18 +09:00
Daishi Kato
39a391b6c1
chore: dependabot yml (#3301) 2025-11-14 12:53:26 +09:00
Yurii Bezhentsev
cda9d12078
fix: updated the "Advanced Typescript Guide" link throughout the documentation (#3294) 2025-11-10 15:36:58 +09:00
David Brito
81df20a050
chore: fix dependabot config name (#3281) 2025-11-03 09:51:53 +09:00
Daishi Kato
18ab9e2615
chore: update dev dependencies (#3279)
* chore: update dev dependencies

* downgrade vitest

* packages entry
2025-11-01 12:32:05 +09:00
Daishi Kato
7ab97535d7
docs: add a note in nextjs guide (#3271) 2025-10-31 13:57:46 +09:00
Yurii Bezhentsev
77f5de91d6
docs: changed the name and title of the advanced TS guide (#3260)
* docs: changed name and title of the advanced TS guide

* fix readme links

---------

Co-authored-by: daishi <daishi@axlight.com>
2025-10-31 13:52:41 +09:00
Yurii Bezhentsev
d0c71ce15c
docs: created the new TypeScript Beginner Guide (#3246)
* docs: created the new TypeScript Beginner Guide

* docs: updated title

* docs: removed redundant sub-title

* docs: aligned indents

* docs: updated middleware titles

* docs: styled Conclusion section

* docs: added curried version of the "create" function

* docs: renamed the guide file

* docs: changed the title to have the same title format with "Advanced TypeScript Guide"

* docs: removed separating the curried form of the 'create' function

* docs: switched to create<T>()(...) and updated examples to make them more consistent

* docs: removed redundant TS store type extractor and unified middlewares

* docs: fixed format

* docs: fixed typo in the middleware list

* docs: updated doc according to the latest review. Also unified quotes

* docs: minor PR review fixes

* docs: removed Hooks section

* docs: added API documentation links to the corresponding sections

* Apply suggestions from code review

* fix format

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: daishi <daishi@axlight.com>
2025-10-31 13:30:53 +09:00
thomas
d25a4d226f
docs and tests: filter out specific actions from being sent to Redux DevTools (#3252)
* feat:   filter out specific actions from being sent to Redux DevTools

* fix format issues

* refactor: rename actionBlacklist to actionsDenylist

* refactor: use redux devtools' type signature

* fix linter issue

* fix format issues

* refactor: update documentation

* refactor: format file

* Update src/middleware/devtools.ts

* fix: format issue

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-10-31 13:19:11 +09:00
Daishi Kato
ab5a98b187
test: fix for node 24 (#3278) 2025-10-31 13:17:00 +09:00
Danilo Britto
6422fa8898
Refactor useBoundStore and useLocalAndUrlStore (#3277) 2025-10-28 21:25:41 -05:00
Danilo Britto
2a419514d1
Update Dependabot configuration for Docker (#3272)
Removed weekly Docker dependency update schedule.
2025-10-20 08:37:17 -05:00
Danilo Britto
5ca9535785
feat: add support for depandabot (#3269) 2025-10-18 07:56:34 -05:00
Wonsuk Choi
d0a1cae750
ci(.github/workflows): update 'actions/setup-node' to v6 (#3267) 2025-10-18 07:43:57 -05:00
Danilo Britto
4269eeef80
Remove codesandbox refs (#3265) 2025-10-17 16:25:20 -05:00
Danilo Britto
60364224be
docs: remove codesandbox refs (#3264)
* Remove codesandbox refs

Updated section title and modified demo links.

* Remove codesandbox refs

* Remove codesandbox refs

* Remove codesandbox refs

* Reorganize demo links in testing documentation

Moved demo links to a new section for better organization.

* Update demo links format in immer-middleware.md

* feat: update format
2025-10-17 09:27:15 -05:00
Danilo Britto
a5ffe1b99b
Update connect-to-state-with-url-hash.md (#3263) 2025-10-17 08:59:04 -05:00
Danilo Britto
d5105b1e13
Update demo link and section title in guide (#3262) 2025-10-17 07:42:04 -05:00
Danilo Britto
95850110ab
docs: update map and set guide (#3258)
* Enhance Maps and Sets usage documentation in Zustand

Expanded the documentation on using Maps and Sets in Zustand, including guidelines for reading and updating these data structures. Added examples for creating new instances and explained the importance of reference changes for state updates.

* feat: update format
2025-10-12 07:59:26 -05:00
Ehsan Aslani
20ad3f8891
Add multiplayer to third-party libraries (#3241)
* docs: Add multiplayer  middleware to third-party libraries

* Update docs/integrations/third-party-libraries.md

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-09-30 10:26:09 +09:00
Ushran Gouhar
56a39b6a0f
Update hook name from useStore to useBear (#3233)
Zustand already provides a `useStore` hook, and reusing the same name for a custom hook could lead to confusion if someone accidentally imports the wrong one. To avoid this, I’ve renamed the custom hook to `useBear`. The name is short, memorable, and aligns with Zustand’s playful style.
2025-09-12 17:30:50 +09:00
Wonsuk Choi
612d5c4647
chore(eslint.config): replace deprecated 'tseslint.config' with 'defineConfig' (#3231)
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-09-10 19:37:07 +09:00
Wonsuk Choi
fd1ea8ca9d
ci(.github/workflows): update 'actions/checkout' and 'actions/setup-node' to v5 (#3227)
* ci(.github/workflows): update 'actions/checkout' and 'actions/setup-node' to v5

* empty commit

* empty commit

* chore: empty commit

* chore: empty commit

* empty commit

---------

Co-authored-by: daishi <daishi@axlight.com>
2025-09-10 17:47:33 +09:00
Jinsoo Lee
4db616e1f7
chore: upgrade pnpm to v10.15.0 (#3223) 2025-08-29 10:09:33 +09:00
Dan Tonon
85e3f2929a
Add new Zustand third-party links for zustand-create-setter-fn and zustand-utils (#3222)
* Add new Zustand third-party links for `zustand-create-setter-fn` and `zustand-utils`

* Apply suggestions from code review

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-08-28 11:18:37 +09:00
daishi
0ea8be27db 5.0.8 v5.0.8 2025-08-20 08:16:10 +09:00
Daishi Kato
cadcd3eb91
chore: update dev dependencies (#3218) 2025-08-20 08:15:23 +09:00
Daishi Kato
feddc0c210
feat(middleare/persist): return storage promise from setState (#3206)
* feat(middleare/persist): return storage promise from setState

* refactor types (technically breaking)

* another breaking change in types

* make public types not breaking
2025-08-20 08:08:35 +09:00
Daishi Kato
2cc19881fa
fix(shallow): undefined value (#3205)
* add failing test

* check with .has
2025-08-20 07:52:06 +09:00
Daishi Kato
c4085a4ff0
chore: strict unused check (#3215) 2025-08-19 09:26:59 +09:00
SungHyun Kim
f831bc8d71
fix broken links in the toc of create-store.md (#3207) 2025-08-09 10:04:58 -05:00
daishi
463c9e3ea6 5.0.7 v5.0.7 2025-07-31 09:12:34 +09:00
Daishi Kato
30e36798a4
chore: udpate dev dependencies (#3194) 2025-07-31 09:11:53 +09:00
Daishi Kato
5aa923e8c3
fix(react): useCallback for getSnapshot (#3192) 2025-07-31 09:06:30 +09:00
Danilo Britto
41fed0fe6f
docs: update how to reset state guide (#3187) 2025-07-20 09:26:07 -05:00
Danilo Britto
aba78319bb
Update use-store-with-equality-fn.md (#3185) 2025-07-19 06:45:34 -05:00
Malte Hecht
2879505e39
fix: broken link to ssr and hydration (#3183) 2025-07-16 09:18:27 -05:00
Danilo Britto
1b7eb6907c
docs: update badge (#3181) 2025-07-14 11:11:46 -05:00
Danilo Britto
84b112e4a2
docs: update redux api docs (#3180)
* Update redux.md

* Update redux.md
2025-07-14 10:39:56 -05:00
Danilo Britto
4ad3977b38
Update redux.md (#3176) 2025-07-13 02:32:01 -05:00
soyboi
56909808fa
docs: add currying in for createStore (#3171) 2025-07-09 08:51:58 -05:00
Henry8192
149c286342
remove redundant dash in persist parameters (#3170) 2025-07-08 08:07:57 +09:00
Steven Wexler
c61999bacd
docs: fix getBoth return type (#3167) 2025-07-02 19:54:08 -05:00