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

446 commits

Author SHA1 Message Date
github-actions[bot]
a6be1cede9
ci: Version Packages (#12391)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-01 11:04:19 +01:00
Wonsuk Choi
c9c00015ef
docs(examples): add router and framework suffix to 'docs/config.json' labels and 'package.json' names (#12458)
* docs(examples): add router and framework suffix to 'docs/config.json' labels and 'package.json' names

* docs(examples): distinguish Next.js App/Pages Router and Nuxt/SolidStart major versions in example labels and names
2026-10-30 01:50:34 +09:00
Wonsuk Choi
259de1d810
chore(deps): update 'vite' to '^8.3.5', deduplicate 'pnpm-lock.yaml' and remove 'vite@6.4.1' from 'trustPolicyExclude' (#12446) 2026-10-29 12:48:15 +09:00
Wonsuk Choi
ec7bcd4ed1
fix(examples/chat): pass the query 'signal' to 'streamFn' so refetching cancels the previous stream (#12437) 2026-10-28 17:22:17 +09:00
Wonsuk Choi
9d61f1e43e
fix(examples): remove horizontal overflow in 'shadow-dom' and make character selection keyboard accessible in 'prefetching' (#12436) 2026-10-28 17:10:27 +09:00
Wonsuk Choi
3185bcf97c
fix(examples): validate ids, handle HTTP and loader errors, and show watchers and unknown locations correctly (#12435)
* fix(examples): validate ids, handle HTTP and loader errors, and show watchers and unknown locations correctly

* fix(examples/{batching,prefetching}): disable loading while input is invalid and reject non-decimal character ids
2026-10-28 16:56:52 +09:00
Wonsuk Choi
158a5868cd
docs(examples/solid): add 'pagination', 'auto-refetching', 'prefetching' and 'optimistic-updates' examples with SolidStart (#12428)
* docs(examples/solid): add 'pagination', 'auto-refetching', 'prefetching' and 'optimistic-updates' examples with SolidStart

* docs(examples/solid/{pagination,optimistic-updates}): keep query errors inside the 'ErrorBoundary'
2026-10-28 12:16:21 +09:00
Wonsuk Choi
e54f6ff5e3
docs(examples/solid): add 'suspense' and 'batching' examples (#12426) 2026-10-28 11:05:04 +09:00
Wonsuk Choi
19d8572b55
refactor({examples,integrations}): replace the deprecated 'prefetchQuery' with 'query' (#12425) 2026-10-28 10:40:45 +09:00
Wonsuk Choi
ce2febdacb
docs(examples/solid): add 'star-wars', 'rick-morty' and 'solid-router' examples (#12424) 2026-10-28 10:32:33 +09:00
Wonsuk Choi
35ee52aca8
docs(examples/solid): add 'devtools-panel', 'shadow-dom', 'playground', 'algolia' and 'chat' examples (#12423) 2026-10-28 10:11:54 +09:00
Wonsuk Choi
d7543db621
chore(deps): update 'typescript' to '^6.0.3' across examples and integrations (#12418) 2026-10-27 15:28:33 +09:00
Wonsuk Choi
d9029ef465
chore(examples/*/tsconfig): include '*.config.ts' and '*.config.js' like the packages (#12408) 2026-10-27 09:11:08 +09:00
github-actions[bot]
5cc606e2e8
ci: Version Packages (#12301)
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
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
437d3bec76
style(examples): write durations in 'count * unit * 1000' order (#12383) 2026-10-26 02:29:26 +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
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
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
github-actions[bot]
a8ecc8d42f
ci: Version Packages (#12128)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-19 18:54:46 +02:00
Wonsuk Choi
7592b2f18a
fix(examples/solid/offline): throw the response text on non-ok 'fetch' responses and show query errors in 'List' and 'Detail' (#12099)
* fix(examples/solid/offline): throw the response text on non-ok 'fetch' responses in the API functions

* fix(examples/solid/offline): show query errors in 'List' and 'Detail' instead of a blank page
2026-10-19 01:32:15 +09:00
Wonsuk Choi
2e86afff57
refactor(examples/solid/default-query-function): type the posts with a 'Post' type instead of 'any' (#12105) 2026-10-19 01:31:30 +09:00
Wonsuk Choi
633d8e4bac
docs(solid): replace the deprecated 'route.load' with 'route.preload' in the SSR guide and the solid-start-streaming example (#12104) 2026-10-19 01:31:14 +09:00
Wonsuk Choi
aa77cd7f62
fix(examples/solid/astro): throw on non-ok 'fetch' responses and show a pokemon load error through an 'ErrorBoundary' (#12103) 2026-10-19 01:30:55 +09:00
Wonsuk Choi
f9d7ec0997
refactor(examples/solid/basic): remove the always-true 'enabled' and the always-false '!props.postId' check in 'Post' (#12101) 2026-10-19 01:15:15 +09:00
Wonsuk Choi
4ae64479f4
fix(examples/solid/basic-graphql-request): type post ids as strings and pass the id as a GraphQL variable (#12100) 2026-10-19 01:14:41 +09:00
Wonsuk Choi
c10c1f770c
fix(examples/solid): throw on non-ok 'fetch' responses in the query functions (#12098) 2026-10-19 01:13:50 +09:00
Wonsuk Choi
0e7d125f0f
refactor(examples/solid/astro): type the pokemon responses and move the queries into 'src/lib/api.ts' with 'queryOptions' (#12102) 2026-10-19 00:46:59 +09:00
github-actions[bot]
12199722dc
ci: Version Packages (#12062)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-17 19:51:17 +02:00
github-actions[bot]
ee47993724
ci: Version Packages (#11998)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-15 09:50:17 +02:00
Wonsuk Choi
e26971ebf9
chore(examples/solid): add 'test:types' to type-check the examples in CI and move 'astro check' out of 'build' (#12018) 2026-10-15 09:52:44 +09:00
Wonsuk Choi
ddcde7d5ad
chore(examples): use 'defineConfig' from 'eslint/config' and enable '@ts-check' in 'eslint.config.js' (#12008) 2026-10-14 10:01:19 +09:00
github-actions[bot]
b699b52d60
ci: Version Packages (#11849)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-11 21:32:27 +02:00
Wonsuk Choi
1dc168007b
fix(examples/solid/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions' (#11975) 2026-10-12 02:52:35 +09:00
Wonsuk Choi
fd820ed30d
fix(examples/{react,solid}/offline): regenerate the msw worker and render after it starts (#11974) 2026-10-12 02:35:05 +09:00
Wonsuk Choi
30a3b73767
chore(examples/solid): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint' (#11959)
* chore(examples/solid): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'

* refactor(examples/solid): fix 'no-shadow' and 'solid/reactivity' warnings
2026-10-11 02:18:06 +09:00
Wonsuk Choi
0f6a80510e
refactor(examples/solid/solid-start-streaming): wrap 'userInfoQueryOpts' with 'queryOptions' (#11957) 2026-10-11 01:31:42 +09:00
Wonsuk Choi
647e3fe661
fix(examples/solid/default-query-function): match the cached post key in 'getQueryData' (#11958) 2026-10-11 01:30:56 +09:00
Wonsuk Choi
0401256bc8
fix(examples/solid/solid-start-streaming): include 'sleep' and 'simulateError' in the query keys (#11956) 2026-10-11 01:17:30 +09:00
Wonsuk Choi
51e68b6b69
fix(examples/solid/{basic,offline}): pass accessors instead of values to query hooks (#11955) 2026-10-11 01:17:10 +09:00
Wonsuk Choi
69d9f7c217
chore(examples/solid/simple): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint' (#11949)
* chore(examples/solid/simple): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'

* chore(examples/solid/simple): build the dependencies before 'test:eslint'

* chore(examples/solid/simple): remove the 'test:eslint' nx override now set in 'nx.json'

* chore(examples/solid/simple): enable 'allowJs' so typed linting covers 'eslint.config.js'
2026-10-11 00:29:24 +09:00
github-actions[bot]
29859ae60c
ci: Version Packages (#11806)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-02 12:02:10 +02:00
github-actions[bot]
d4033eb1e5
ci: Version Packages (#11651)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-26 13:53:37 +10:00
Lachlan Collins
5279b05211
chore(deps): update Vite from v6 to v8 (#11650)
* chore(deps): update Vite from v6 to v8

* Fix angular, vue-devtools

* Fix vue-devtools

* Fix knip, remove @tanstack/vite-config

* Update eslint config

* Disable false eslint errors

* Fix remaining errors

* Fix knip, dedupe esbuild

* Add changeset
2026-09-26 12:23:02 +10:00
github-actions[bot]
fe053bf8e9
ci: Version Packages (#11612)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-26 10:13:58 +10:00
Lachlan Collins
d86ac36663
chore(query-devtools): update dependencies (#11648)
* chore(query-devtools): update dependencies

* Add changeset

* Fix build
2026-09-26 08:45:38 +10:00