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
Ali Mert Çakar
670b60e19a
feat(devtool): inferred action type ( #2987 )
...
* feat(devtools middleware) add automatic action name finding
* docs(readme) add inferActionName example
* feat: update readmes
* feat: update devtools middleware and tests
* feat: remove inferActionName
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2025-05-21 20:12:14 +09:00
Wonsuk Choi
6953c29dc5
test(vanilla/shallow): add test for pure iterable with different values returns false ( #3129 )
2025-05-21 11:41:09 +09:00
2yunseong
5df8085b0b
refactor: remove unnessary type assertion ( #3113 )
...
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-05-21 09:52:37 +09:00
Hong-Kuan Wu
b4177b3172
feat: add devtools.cleanup() method ( #3111 )
...
* feat(devtools): add cleanup method
* docs(devtools): add cleanup section
* reduce lines
* test(devtools): test if the connection removed after cleanup
---------
Co-authored-by: daishi <daishi@axlight.com>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-05-21 09:49:59 +09:00
Danilo Britto
a56a3e4bde
feat(vanilla): update shallow compare function and tests ( #3108 )
...
* feat(vanilla): update shallow compare function and tests
* prefer Object.getPrototypeOf
* docs: update shallow docs
* feat: minor fixes
---------
Co-authored-by: daishi <daishi@axlight.com>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-05-21 09:46:37 +09:00
Wonsuk Choi
37878da019
chore(eslint): remove overrides for .js files ( #3126 )
2025-05-20 15:29:27 +09:00
Wonsuk Choi
9a58ca9c95
chore(eslint): update to 'eslint-plugin-react-hooks@6.0.0-rc.1', remove 'eslint-plugin-react-compiler' ( #3122 )
2025-05-17 14:13:12 +09:00
Danilo Britto
14feb61c7e
Update use-store-with-equality-fn.md ( #3119 )
2025-05-12 16:54:39 -05:00
wingedotter5
2fcfc30530
Fix typo ( #3115 )
2025-05-10 10:26:31 -05:00
Wonsuk Choi
028909eafa
chore(eslint): enforce file extension usage for internal modules, ignore external packages ( #3116 )
...
* chore(eslint): enforce file extension usage for internal modules, ignore external packages
* chore(*): apply the updated ESLint rules to the relevant files
2025-05-10 22:45:58 +09:00
Danilo Britto
36627acb60
Update persisting-store-data.md ( #3110 )
2025-05-06 14:32:23 -05:00
Josh Schneider
95bce2f74c
Fix small issue in README.md ( #3106 )
2025-05-03 12:58:25 -05:00
daishi
312a7076f9
5.0.4
v5.0.4
2025-05-02 08:41:08 +09:00
Daishi Kato
2a53f2ec7e
chore(deps): update dev dependencies ( #3104 )
2025-05-02 08:32:49 +09:00
Daishi Kato
850777bbfc
react-native condition for CJS ( #3087 )
2025-05-02 08:20:58 +09:00