1109 Commits

Author SHA1 Message Date
Daishi Kato
2d05d5a932
Merge branch 'main' into v5 2024-06-29 09:33:18 +09:00
Simon Farshid
5f0f34c873
fix(types)!: require complete state if setState's replace flag is set (#2580)
* fix(types): require complete state if `setState`'s `replace` flag is set

* switch to variant 2

* fix type errors

* update setState types for devtools and immer

* make devtools setState non-generic

* add migration guide

* merge migration guides

* run prettier

* Update tests/middlewareTypes.test.tsx

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: daishi <daishi@axlight.com>
2024-06-29 09:28:00 +09:00
daishi
f8403fc579 4.5.4 v4.5.4 2024-06-26 21:35:02 +09:00
Daishi Kato
b9d8ddd727
fix: no type field in package.json (#2622) 2024-06-26 21:33:16 +09:00
daishi
3842f19516 5.0.0-beta.1 v5.0.0-beta.1 2024-06-26 19:38:43 +09:00
daishi
a80061bee2 fix merge main (prettier) 2024-06-26 18:09:23 +09:00
daishi
e4e0c7f684 fix merge main 2024-06-26 18:08:57 +09:00
daishi
a379a958b6 Merge branch 'main' into v5 2024-06-26 13:00:00 +09:00
daishi
b3684b31d3 4.5.3 v4.5.3 2024-06-26 12:36:45 +09:00
Daishi Kato
48a4d8742d
chore(deps): update dev dependencies (#2620)
* chore(deps): update dev dependencies

* update old ts

* use eslint 8
2024-06-26 12:35:56 +09:00
Kevin Ingersoll
a262c9f1f3
useStore uses ReadonlyStoreApi (#2586)
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-06-26 12:24:08 +09:00
daishi
7e15364dea chore: discussion template 2024-06-22 23:42:35 +09:00
Lincoln
2af0218012
chore: add react compiler eslint rules (#2612) 2024-06-21 18:55:15 +09:00
daishi
18043c12a3 chore: issue template 2024-06-19 21:01:31 +09:00
Yasin
b1648f7ea2
doc: added zustand-computed-state to external libraries (#2598) 2024-06-13 16:45:05 +09:00
Mayank
7c156014bc
doc: added treeshakable to external libraries (#2595)
* doc: added treeshakable to external libraries

* format with prettier
2024-06-10 20:43:30 +09:00
Sunil
3b90e1c902
update: example/demo (#2585)
* update: example/demo

- fix eslint config and lint issues
- fix react key issue
- remove children passed as props
- remove unused variables and imports
- "encodings_fragment" is deprecated, replaced it with "colorspace_fragment"

* update: remove --fix
2024-06-06 22:44:17 +09:00
daishi
2726e1e758 Merge branch 'main' into v5 2024-06-05 11:07:48 +09:00
Daishi Kato
88ef3407ee
chore(deps): update dev dependencies (#2582)
* chore(deps): update dev dependencies

* empty commit
2024-06-05 11:04:35 +09:00
daishi
bb99cb5bb5 Merge branch 'main' into v5 2024-06-05 08:35:36 +09:00
daishi
018358ce7e prefer npm-stat 2024-05-28 20:55:57 +09:00
daishi
31f04dff41 Merge branch 'main' into v5 2024-05-27 21:11:33 +09:00
Daishi Kato
6750ac19c9
chore: publish workflow (#2569)
* chore: publish workflow

* trigger with release

* fix
2024-05-27 21:10:53 +09:00
daishi
c79d3fdd8a update migration doc 2024-05-23 21:36:04 +09:00
daishi
e0502cf763 5.0.0-beta.0 v5.0.0-beta.0 2024-05-22 11:28:37 +09:00
daishi
75b16ed132 fix typos 2024-05-22 11:26:03 +09:00
daishi
becc7307f4 add migration guide 2024-05-22 11:18:48 +09:00
daishi
4de1d1ff29 Merge branch 'main' into v5 2024-05-22 09:30:42 +09:00
Daishi Kato
92a340a31a
chore(deps): update dev dependencies (#2565)
* chore(deps): update dev dependencies

* update react@rc
2024-05-22 09:25:21 +09:00
Juliette Lamarche
97d112ce54
docs: add @prncss-xyz/zustand-optics to third party libraries (#2564)
* docs: add @prncss-xyz/zustand-optics to third party libraries

* fix: typo

sorry!
2024-05-21 08:00:13 +09:00
Aberratio
cae5bb48bc
Update typescript.md - middleware order (#2558)
Change in the description of the order of middleware.
2024-05-17 20:36:29 +02:00
StyleShit
11cc9c3c5e
docs: fix typos in the typescript guide (#2550) 2024-05-13 10:47:11 +02:00
daishi
fca3b86c5c fix merge main 2024-05-12 14:57:16 +09:00
daishi
b2f4b50187 update pnpm lock 2024-05-12 14:52:46 +09:00
daishi
263d63dbad Merge branch 'main' into v5 2024-05-12 14:52:33 +09:00
Daishi Kato
6d6383054f
Migrate to pnpm (#2545)
* migrate to pnpm

* some fixes

* simplify

* some more adjustments
2024-05-12 14:43:45 +09:00
Chan
9d24d11e1e
Fix type in nextjs.md (#2530)
There are two typos in the error message argument.
`useCounterStore must be use` => `useCounterStore must be used`
2024-05-03 22:11:32 +09:00
✦ freddie
e74fdc8bc9
docs: add zustand-context to third party libs (#2525)
* docs: add zustand-context to third party libs

* docs: typo

* docs: sort alphabetically
2024-05-01 23:06:17 +09:00
Henpai Hsu
b66ccd5243
docs: update ramda example (#2510) 2024-04-26 17:07:15 +09:00
Daishi Kato
bdd104a97d
docs: add zustand-slices (#2494) 2024-04-19 04:15:13 -05:00
Charles Kornoelje
fe47d3e6c6
[v5] Remove Devtools warning (#2466)
* chore: remove devtools extension warning

* docs: add devtools link to readme

* chore: remove unused test

* chrome: remove unused tests

* chore: remove unused test

* Revert "chore: remove unused test"

This reverts commit 0fa2a75f4936d960f703bf19e8f3505962cd628e.

* update test name
2024-04-16 10:58:58 +09:00
Danilo Britto
e8a5256548
Update guides (#2474)
* Update guides

* Minor fixes

* Minor changes

* Update testing.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

* Update testing.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

---------

Co-authored-by: Blazej Sewera <code@sewera.dev>
2024-04-16 10:56:39 +09:00
daishi
36d4734689 Merge branch 'main' into v5 2024-04-07 20:43:13 +09:00
Daishi Kato
e00c69f82b
chore: old ts versions to test in ci (#2469) 2024-04-07 20:41:09 +09:00
daishi
a29fc6fcff remove unused replacement 2024-04-07 12:42:45 +09:00
daishi
8e6b914301 recover types that are dropped in #2462 2024-04-06 20:58:47 +09:00
daishi
68d84b32dc no production build test 2024-04-06 20:56:13 +09:00
daishi
4c4e4d1ec4 Merge branch 'main' into v5 2024-04-06 20:53:23 +09:00
Daishi Kato
d57072caf5
update vitest (#2462)
* update vitest

* use resolve

* patch for older ts

* for older ts

* hack with any

* for other builds

* wip: for umd

* Revert "wip: for umd"

This reverts commit a5c0d6beaa80cbbdcad7961b77d593effd6a83c8.

* wip: esm

* wip: system

* Revert "wip: system"

This reverts commit aa919631a94a5b321fa9f2ec6c26b826c37ca3b0.

* wip: umd

* wip: hack cjs

* system cannot be tested
2024-04-06 20:48:21 +09:00
Dawid
fc2f85afff
Update third-party-libraries.md (#2435)
* Update third-party-libraries.md

* docs: order davstack store link alphabetically

* docs: add link to 3rd party autogenerated selectors library

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

change the dash

Co-authored-by: Blazej Sewera <code@sewera.dev>

---------

Co-authored-by: Blazej Sewera <code@sewera.dev>
2024-03-27 08:54:37 +09:00