0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,975 commits

Author SHA1 Message Date
Wonsuk Choi
d9029ef465
chore(examples/*/tsconfig): include '*.config.ts' and '*.config.js' like the packages (#12408) 2026-10-27 09:11:08 +09:00
Dominik Dorfmeister 🔮
6f8a48d543
ref(query-core): compare tracked result fields directly (#12406) 2026-10-26 17:24:25 +01:00
Wonsuk Choi
479a8dbf3c
docs(examples/preact/ssr): add ssr example with prefetching, dependent queries and error handling (#12407)
* docs(examples/preact/ssr): add ssr example

* docs(examples/preact/ssr): prefetch a dependent query and treat the posts as critical content
2026-10-27 00:41:37 +09:00
Wonsuk Choi
bf1de7dc21
refactor(examples/react/algolia): inline the 'useAlgolia' hook that only wraps 'useInfiniteQuery' (#12405) 2026-10-27 00:20:23 +09:00
Wonsuk Choi
7a2bc3c95b
docs(examples/preact/optimistic-updates): add optimistic-updates example (#12404) 2026-10-27 00:16:00 +09:00
Wonsuk Choi
8af7af6f11
docs(examples/preact): add 'auto-refetching', 'pagination', 'load-more-infinite-scroll', 'infinite-query-with-max-pages' and 'prefetching' examples (#12403)
* docs(examples/preact): add 'auto-refetching', 'pagination', 'load-more-infinite-scroll', 'infinite-query-with-max-pages' and 'prefetching' examples

* docs(examples/preact/auto-refetching): share the mocked list across tabs through 'localStorage'
2026-10-27 00:09:32 +09:00
Wonsuk Choi
bb11f3cc82
docs(examples/preact): add 'suspense' and 'batching' examples (#12402) 2026-10-26 23:23:26 +09:00
Wonsuk Choi
b484ddd573
docs(examples/preact): add 'star-wars', 'rick-morty' and 'offline' examples (#12401)
* docs(examples/preact): add 'suspense', 'star-wars' and 'rick-morty' examples

* ci: apply automated fixes

* docs(examples/preact): move 'suspense' out and add 'offline' example

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-26 23:15:51 +09:00
Wonsuk Choi
a075333e4c
docs(examples/preact): add 'shadow-dom' and 'devtools-panel' examples (#12399) 2026-10-26 22:33:32 +09:00
Wonsuk Choi
bf50a62dd0
docs(examples/preact): add 'basic-graphql-request', 'default-query-function', 'playground', 'algolia' and 'chat' examples (#12397)
* docs(examples/preact/basic-graphql-request): add basic-graphql-request example

* docs(examples/preact): add 'default-query-function', 'playground', 'algolia' and 'chat' examples
2026-10-26 22:16:25 +09:00
Wonsuk Choi
7dd898ce2d
chore(examples/preact/basic): update '@tanstack/*' to '^5.105.0' (#12398) 2026-10-26 22:07:05 +09:00
Wonsuk Choi
edbceae5d3
docs(examples/preact/basic): add basic example (#12387) 2026-10-26 21:25:39 +09:00
autofix-ci[bot]
b74c5f61ef
ci: apply automated fixes 2026-10-26 10:19:26 +00:00
Dominik Dorfmeister 🔮
18e54bfac3
fix(query-core): exclude fetchStatus from fetching filters (#12390) 2026-10-26 11:17:57 +01:00
Dominik Dorfmeister 🔮
02ac821eb2
Update CONTRIBUTING.md with documentation warning (#12389)
Added a warning about not running the documentation generation script during Pull Requests.
2026-10-26 11:10:34 +01:00
Amjad Iqbal
ea34e138e4
docs: add Query Key Kit to community resources (#12287)
* docs: add Query Key Kit to community resources

* docs: match Query Key Kit entry to its README
2026-10-26 10:41:20 +01:00
github-actions[bot]
5cc606e2e8
ci: Version Packages (#12301) release-2026-10-26-0932 @tanstack/react-query-devtools@5.105.0 @tanstack/preact-query-persist-client@5.105.0 @tanstack/vue-query@5.105.0 @tanstack/query-persist-client-core@5.105.0 @tanstack/vue-query-devtools@6.3.6 @tanstack/angular-query-experimental@5.105.0 @tanstack/svelte-query@6.3.6 @tanstack/eslint-plugin-query@5.105.0 @tanstack/svelte-query-persist-client@6.3.6 @tanstack/lit-query@0.2.31 @tanstack/svelte-query-devtools@6.3.6 @tanstack/preact-query-devtools@5.105.0 @tanstack/solid-query@5.105.0 @tanstack/query-sync-storage-persister@5.105.0 @tanstack/solid-query-persist-client@5.105.0 @tanstack/preact-query@5.105.0 @tanstack/solid-query-devtools@5.105.0 @tanstack/query-async-storage-persister@5.105.0 @tanstack/react-query@5.105.0 @tanstack/query-broadcast-client-experimental@5.105.0 @tanstack/react-query-persist-client@5.105.0 @tanstack/query-core@5.105.0 @tanstack/react-query-next-experimental@5.105.0 @tanstack/query-devtools@5.105.0
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 10:28:34 +01:00
Wonsuk Choi
06d1705a58
chore(deps): update '@typescript-eslint/*' to '^8.72.0' in the catalog and examples (#12388) 2026-10-26 16:33:55 +09:00
Wonsuk Choi
2b5b6417fa
chore(examples/*/eslint.config): use 'flat/recommended-strict' from '@tanstack/eslint-plugin-query' (#12385) 2026-10-26 02:55:51 +09:00
Wonsuk Choi
772bd1144e
refactor(examples/react/nextjs-suspense-streaming): move the data layer into 'services/wait' with a query factory (#12384) 2026-10-26 02:41:20 +09:00
Wonsuk Choi
14cc3302e3
style(packages): write durations in 'count * unit * 1000' order (#12382)
* style(packages): write durations in 'count * unit * 1000' order

* docs(framework/*/reference): regenerate 'Query' reference for the 'isStaleByTime' example
2026-10-26 02:30:25 +09:00
Wonsuk Choi
437d3bec76
style(examples): write durations in 'count * unit * 1000' order (#12383) 2026-10-26 02:29:26 +09:00
Wonsuk Choi
650c69abcd
docs(framework): write snippet durations in 'count * unit * 1000' order (#12381) 2026-10-26 02:26:34 +09:00
Wonsuk Choi
bd816358c9
docs(framework): replace numeric separators with 'N * 1000' in snippet durations (#12380) 2026-10-26 02:19:46 +09:00
Wonsuk Choi
f69600ae69
refactor(examples/{react,solid}/offline): inline 'useMovie' into the 'Detail' component (#12379) 2026-10-26 02:15:18 +09:00
Wonsuk Choi
c007aaf450
refactor(examples/solid/{basic,basic-graphql-request}): inline 'createPosts' and 'createPost' that only wrap 'useQuery' (#12378) 2026-10-26 02:15:09 +09:00
Wonsuk Choi
a52f4e9777
refactor(examples/react/{basic,basic-graphql-request,eslint-legacy,nextjs,nextjs-suspense-streaming}): inline custom hooks that only wrap 'useQuery' or 'useSuspenseQuery' (#12377) 2026-10-26 02:15:02 +09:00
Wonsuk Choi
a29c34fd48
docs(framework/angular): use the defined 'QueriesService' in 'queryOptions' and 'mutationOptions' snippets (#12376) 2026-10-26 02:07:05 +09:00
Wonsuk Choi
eea41e497f
docs(framework/lit/guides): update example snippets to the 'services/{domain}' query factories (#12375) 2026-10-26 02:06:55 +09:00
Wonsuk Choi
7f86e23891
refactor(examples/angular/{rxjs,devtools-panel}): move the data layer into 'services/{domain}' with a query factory (#12374) 2026-10-26 02:02:47 +09:00
Wonsuk Choi
6b3d0914ba
refactor(examples/angular/{pagination,infinite-query-with-max-pages}): move the data layer into 'services/projects' with a query factory (#12373) 2026-10-26 02:01:50 +09:00
Wonsuk Choi
801ec31b7d
refactor(examples/angular/{auto-refetching,optimistic-updates}): move the data layer into 'services/tasks' with query and mutation factories (#12372) 2026-10-26 02:01:19 +09:00
Wonsuk Choi
69ea57ba8d
refactor(examples/angular/query-options-from-a-service): move the data layer into 'services/posts' with a query factory (#12371) 2026-10-26 01:59:37 +09:00
Wonsuk Choi
7151c20f6f
refactor(examples/angular/{basic,basic-persister,router}): move the data layer into 'services/posts' with a query factory (#12370) 2026-10-26 01:48:27 +09:00
Wonsuk Choi
7ef3775343
refactor(examples/lit/ssr): move the data layer into 'services/data' with a query factory (#12369) 2026-10-26 01:46:57 +09:00
Wonsuk Choi
15cecf6448
refactor(examples/lit/pagination): move the data layer into 'services/projects' with query and mutation factories (#12368) 2026-10-26 01:46:23 +09:00
Wonsuk Choi
55ed711653
refactor(examples/lit/basic): move the data layer into 'services/todos' with query and mutation factories (#12367) 2026-10-26 01:32:47 +09:00
Wonsuk Choi
a39a5dc2f0
refactor(examples/svelte/playground): move the data layer into 'services/todos' with query and mutation factories (#12366) 2026-10-26 01:31:46 +09:00
Wonsuk Choi
80fdbd469b
refactor(examples/svelte/{auto-refetching,optimistic-updates}): move the data layer into 'services/todos' with query and mutation factories (#12365) 2026-10-26 01:30:47 +09:00
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