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
Gabriel Saunders
747e97f334
Zustorm ( #3166 )
...
* docs: added zustorm to 3rd party
* docs: update zustorm description
2025-07-02 23:59:37 +09:00
Wonsuk Choi
295bf970a3
test(*): add 'expect' with 'toBeInTheDocument' ( #3162 )
...
* test(*): add 'expect' with 'toBeInTheDocument'
* chore(eslint.config): enable 'vitest/expect-expect' rule
2025-06-29 11:49:16 +09:00
Noritaka Kobayashi
73b91d3700
refactor: remove unused import in example & fix typo in tests ( #3161 )
2025-06-28 22:44:50 +09:00
daishi
b5845a9daa
5.0.6
v5.0.6
2025-06-26 23:09:15 +09:00
Daishi Kato
4a5e814a0e
chore: update dev dependencies ( #3159 )
...
* chore: update dev dependencies
* downgrade plugin-typescript
2025-06-26 23:07:40 +09:00
Wonsuk Choi
e639587da1
docs(README): remove 'omit' in 'Overwriting state' section ( #3160 )
...
* docs(README): replace 'lodash' with 'es-toolkit' in 'Overwriting state' section
* docs(README): change 'es-tooklit/compat' to 'es-toolkit/compat/omit'
* docs(README): replace 'es-toolkit' with custom 'omit' implementation
* docs(README): remove 'omit' util function
* docs(README): simplify 'deleteTuna'
2025-06-25 11:17:14 +09:00
Wonsuk Choi
5bc717b663
refactor(middleware): replace export * with explicit named and type exports ( #3151 )
...
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-06-23 12:41:54 +09:00
Vladimir Chirikov
ca08a5ebf9
perf(devtools): avoid inferring action type when explicit action name is provided ( #3147 )
...
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-06-23 12:17:41 +09:00
Wonsuk Choi
a6143e0f23
test(shallow): update 'shallow' and 'useShallow' imports to use 'zustand/shallow' ( #3157 )
2025-06-19 18:44:01 +09:00
Daishi Kato
3d9ecb1a10
fix links to the demo and the docs ( #3148 )
2025-06-09 08:41:52 +09:00
clonemycode
9d58820318
chore: fix some typos in comment ( #3139 )
...
Signed-off-by: clonemycode <clonecode@aliyun.com>
2025-06-03 10:05:54 +09:00
csark0812
c3dceea0e1
Add zustand-expo-devtools to third-party middleware list ( #3135 )
...
* Add zustand-expo-devtools to third-party middleware list
Wrote a dev plugin that allows for full connection between zustand state and redux devtools!
* ordered alphabetically
2025-05-25 22:49:21 +09:00
Wonsuk Choi
a03acc3887
test(vanilla/subscribe): add test for covering fireImmediately option in 'subscribeWithSelector' ( #3131 )
2025-05-22 12:58:34 +09:00
daishi
01749b01c7
5.0.5
v5.0.5
2025-05-21 21:05:14 +09:00
Daishi Kato
ceb9744ac7
chore: update dev dependencies ( #3128 )
2025-05-21 20:47:28 +09:00
Wonsuk Choi
ad32cdf7a0
test(vanilla/basic): add test for 'getInitialState' ( #3130 )
...
* test(vanilla/basic): add test for 'getInitialState'
* Update tests/vanilla/basic.test.ts
* Update tests/vanilla/basic.test.ts
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-05-21 20:22:09 +09:00