0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

5,886 commits

Author SHA1 Message Date
Wonsuk Choi
fb2e4c55af
refactor(examples/svelte/ssr): move the data layer into 'services/posts' with a query factory (#12364) 2026-10-26 01:19:11 +09:00
Wonsuk Choi
7d9b15ae74
refactor(examples/svelte/{basic,load-more-infinite-scroll,star-wars}): move the data layer into 'services/{domain}' with a query factory (#12363) 2026-10-26 01:19:02 +09:00
Wonsuk Choi
ff7c510390
refactor(examples/vue/persister): move the data layer into 'services/posts' with a query factory (#12361) 2026-10-26 01:01:02 +09:00
Wonsuk Choi
f4de8a679c
refactor(examples/vue/nuxt3): move the data layer into 'services/posts' with a query factory (#12362) 2026-10-26 01:00:38 +09:00
Wonsuk Choi
795ded81e3
refactor(examples/vue/{basic,2.6-basic,2.7-basic,dependent-queries,simple}): move the data layer into 'services/{domain}' with a query factory (#12360) 2026-10-26 00:59:34 +09:00
Wonsuk Choi
1d958595f7
refactor(examples/solid/{astro,solid-start-streaming}): move the data layer into 'services/{domain}' with a query factory (#12359) 2026-10-26 00:47:22 +09:00
Wonsuk Choi
cb3c3d5ba2
refactor(examples/solid/offline): move the data layer into 'services/movies' with a query factory (#12358) 2026-10-26 00:40:03 +09:00
Wonsuk Choi
239caf9645
refactor(examples/solid/{basic,basic-graphql-request}): move the data layer into 'services/posts' with a query factory (#12357) 2026-10-26 00:39:13 +09:00
Wonsuk Choi
516b870c9c
refactor(examples/react/{nextjs-app-optimistic-updates,nextjs-app-prefetching}): move the data layer into 'services/{domain}' with a query factory (#12356) 2026-10-26 00:11:30 +09:00
Wonsuk Choi
db886cee9e
refactor(examples/react/{offline,react-router}): move the data layer into 'services/{domain}' with a query factory (#12355) 2026-10-26 00:11:22 +09:00
Wonsuk Choi
dce0498872
refactor(examples/react/{auto-refetching,playground}): move the data layer into 'services/todos' with query and mutation factories (#12354) 2026-10-26 00:11:13 +09:00
Wonsuk Choi
f99c6e3e45
refactor(examples/react/{batching,chat,react-native}): move the data layer into 'services/{domain}' with a query factory (#12353) 2026-10-26 00:11:05 +09:00
Wonsuk Choi
88018e578a
refactor(examples/react/{rick-morty,star-wars}): move the data layer into one 'services/{domain}' folder per resource with a query factory (#12352) 2026-10-26 00:10:52 +09:00
Wonsuk Choi
1028a29774
refactor(examples/react): move the data layer of the pagination and infinite query examples into 'services/{domain}' with a query factory (#12351) 2026-10-26 00:10:43 +09:00
Wonsuk Choi
9aafaa9bf5
refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory (#12350)
* refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory

* refactor(examples/react/basic-graphql-request): type the posts list as only the selected 'id' and 'title' fields
2026-10-26 00:10:07 +09:00
Wonsuk Choi
a777b6b22f
refactor(examples/react/basic): move the data layer into 'services/posts' with 'api.ts', 'queries.ts', and 'types.ts' and a query factory (#12349) 2026-10-25 23:17:05 +09:00
Wonsuk Choi
9318e15879
docs(examples/react/playground): fix the 'Playground' typo in the page title (#12346) 2026-10-25 21:28:58 +09:00
Wonsuk Choi
dedc2a919a
docs(examples/solid/solid-start-streaming): fix the 'queueMicrotask' typo in the batching method label and description (#12347) 2026-10-25 21:28:29 +09:00
Wonsuk Choi
db81416812
docs(*): use American spellings 'behavior', 'initialized', and 'optimize', and 'falsy' instead of 'falsey' (#12348) 2026-10-25 21:27:53 +09:00
Wonsuk Choi
ecc6b0ffb2
docs(examples/react/batching): fix the 'numeric' and 'separated' typos in the character ids label (#12345) 2026-10-25 21:26:50 +09:00
Wonsuk Choi
4f3dba5782
refactor(vue-query/utils): type 'isPlainObject' as 'Record<PropertyKey, unknown>' instead of the 'Object' wrapper type, like 'query-core' (#12343) 2026-10-25 21:11:38 +09:00
Wonsuk Choi
d7c0418f87
chore(react-query/{useQuery,useInfiniteQuery}): remove the unused '@eslint-react/no-nested-component-definitions' disable and explain the remaining false positive (#12344) 2026-10-25 21:11:06 +09:00
Wonsuk Choi
aa3e26b4f0
chore(react-query/{HydrationBoundary,utils}): explain why 'react-hooks-js/refs' and 'react-hooks-js/set-state-in-effect' are disabled (#12342) 2026-10-25 20:21:53 +09:00
Wonsuk Choi
4c1384f122
test(solid-query/{useMutation,useIsMutating,useQueries}): assert that the work settles in the cache after unmount while the component state stays unchanged (#12341) 2026-10-25 20:18:56 +09:00
Wonsuk Choi
b4212cc9f8
test(preact-query/useMutation): assert that the mutation settles in the cache after unmount while the component state stays unchanged (#12340) 2026-10-25 20:18:48 +09:00
Wonsuk Choi
b2801aa76f
test(react-query/useMutation): assert that the mutation settles in the cache after unmount while the component state stays unchanged (#12339) 2026-10-25 20:18:30 +09:00
Wonsuk Choi
659431a5f5
test(query-devtools/utils): use English fixture values and fix the 'bolognese' typo instead of disabling 'cspell/spellchecker' (#12338) 2026-10-25 13:43:39 +09:00
Wonsuk Choi
e8ffa3f39a
test(query-core/streamedQuery): consume the signal with 'void context.signal' instead of an always-truthy condition, and explain the kept 'require-await' disables (#12337) 2026-10-25 13:41:54 +09:00
Wonsuk Choi
8429d10720
test(solid-query/{useMutation,useIsMutating,useQueries}): wait for the work to settle after unmount and assert that no error is logged (#12336) 2026-10-25 13:41:40 +09:00
Wonsuk Choi
a6211e3b2f
test(preact-query/useMutation): wait for the mutation to settle after unmount and assert that no error is logged (#12335) 2026-10-25 13:40:14 +09:00
Wonsuk Choi
43636c43e7
test(react-query/useMutation): wait for the mutation to settle after unmount and assert that no error is logged (#12334) 2026-10-25 13:39:49 +09:00
Wonsuk Choi
3700deff20
test(query-core/utils): assert with 'toBeCallableWith' that 'invalidateQueries' accepts a union of query keys with different lengths (#12333) 2026-10-25 13:39:35 +09:00
Wonsuk Choi
83aeaf054b
test(query-devtools/{Explorer,Devtools}): remove unnecessary type assertions and their 'oxlint-disable' comments (#12330) 2026-10-25 13:29:34 +09:00
Wonsuk Choi
f9931c130a
test(query-core): remove unnecessary type assertions and their 'oxlint-disable' comments, and explain the one kept in 'retryer.test-d' (#12331) 2026-10-25 13:29:08 +09:00
Wonsuk Choi
1eed9d9ef5
chore(*): explain why 'vitest-js/valid-expect' is disabled for the 'expectTypeOf<TQueryKey>(ctx.queryKey)' checks in the 'useQueries' type tests (#12332) 2026-10-25 13:28:51 +09:00
Wonsuk Choi
a155bb8c77
chore(query-core/query): explain why 'typescript/no-unnecessary-condition' is disabled for the 'state' check in 'setOptions' (#12326) 2026-10-25 12:49:57 +09:00
Wonsuk Choi
0c5ec0695a
chore(eslint-plugin-query/detect-react-query-imports): explain why 'typescript/no-unnecessary-condition' is disabled for the 'importKind' check (#12327) 2026-10-25 12:49:39 +09:00
Wonsuk Choi
016b83ecc0
chore(lit-query/{QueryClientProvider,BaseController}): explain why 'typescript/no-unnecessary-condition' is disabled for the 'client' checks (#12328) 2026-10-25 12:49:24 +09:00
Wonsuk Choi
42ae5caee8
chore(angular-query-experimental/createBaseQuery): explain why 'typescript/no-unnecessary-type-assertion' is disabled for the 'refetch' wrapper (#12329) 2026-10-25 12:49:13 +09:00
Wonsuk Choi
faa41e9c46
refactor(angular-query-experimental/injectQueries): remove the unnecessary 'QueryObserverOptions' assertion and its 'oxlint-disable' comment (#12324) 2026-10-25 12:43:36 +09:00
Wonsuk Choi
715574d87b
test(preact-query/ErrorBoundary): name the 'react/no-did-update-set-state' rule in the bare 'oxlint-disable-next-line' comment (#12323) 2026-10-25 12:13:05 +09:00
Wonsuk Choi
6c3cc51cf6
docs(angular/devtools): add an 'Embedded Mode' section for 'injectDevtoolsPanel' (#12320) 2026-10-25 10:48:27 +09:00
Wonsuk Choi
8f9dfcb30c
feat(angular-query-experimental/injectDevtoolsPanel): add the 'theme' and 'hideDisabledQueries' options (#12316) 2026-10-25 10:45:35 +09:00
Ciarán Curley
4a7386a470
chore(deps): upgrade vitest to v5 (#12317)
Bump vitest and @vitest/coverage-istanbul to 5.0.5 (root and
query-test-utils) and @vitest/eslint-plugin to 1.6.28.

Vitest 5's typecheck collector treats any name ending in Test as a test function, so notifyManagerTest in query-core/src/__tests__/notifyManager.test-d.tsx was renamed to localNotifyManager.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:26:03 +01:00
Wonsuk Choi
9e4253766f
fix(angular-query-experimental/withDevtools): forward an unset 'theme' to the devtools so removing it falls back to the theme selected in the devtools Settings menu (#12315) 2026-10-24 03:05:27 +09:00
Wonsuk Choi
a5d5e00458
docs(*-devtools): describe how the 'theme' prop interacts with the theme selected in the devtools Settings menu (#12314) 2026-10-24 02:53:19 +09:00
Wonsuk Choi
f232b75e35
fix(solid-query-devtools): stop defaulting the 'theme' prop to 'system' so the theme chosen in the devtools settings applies when the prop is omitted (#12310) 2026-10-24 02:48:21 +09:00
Wonsuk Choi
a282bf807a
fix(vue-query-devtools): stop defaulting the 'theme' prop to 'system' so the theme chosen in the devtools settings applies when the prop is omitted (#12312) 2026-10-24 02:47:34 +09:00
Wonsuk Choi
aff30e36bd
fix(svelte-query-devtools): stop defaulting the 'theme' prop to 'system' so the theme chosen in the devtools settings applies when the prop is omitted (#12313) 2026-10-24 02:46:23 +09:00
Wonsuk Choi
86740aed31
test(vue-query/queryOptions): add type tests for 'useQueries', 'query' with 'enabled: false' and 'skipToken', and undefined 'initialData' (#12309) 2026-10-24 02:13:37 +09:00