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

401 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
ff6c93b7dd
chore(examples): unpin 'nuxt' and remove the 'seroval' overrides now that 'seroval' versions with provenance are available (#12467) 2026-11-01 10:48:35 +09:00
Wonsuk Choi
69fcbad72b
fix(examples/vue/algolia): replace recursive 'Hit' type to avoid excessively deep type instantiation in 'useInfiniteQuery' (#12461) 2026-10-30 10:38:45 +09: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
7b73668a61
chore(examples/vue): add 'eslint-plugin-vue' and 'eslint-config-prettier' to all examples and '@nuxt/eslint' to Nuxt examples (#12449)
* chore(examples/vue): add 'eslint-plugin-vue' and 'eslint-config-prettier' to all examples and '@nuxt/eslint' to Nuxt examples

* refactor(examples/vue): rename single-word components and hyphenate template attributes and events
2026-10-29 15:16:37 +09:00
Wonsuk Choi
52d7fd34a5
docs(examples/vue): replace 'nuxt3' with 'simple-nuxt3' and 'simple-nuxt4' examples and include them in the workspace (#12448) 2026-10-29 14:06:04 +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
fdb7692e83
docs(examples/vue): add 'pagination', 'auto-refetching', 'load-more-infinite-scroll', 'infinite-query-with-max-pages', 'prefetching' and 'optimistic-updates' examples with Nuxt (#12445) 2026-10-29 12:08:10 +09:00
Wonsuk Choi
ff41bb21c6
docs(examples/vue): add 'suspense', 'batching' and 'offline' examples (#12444) 2026-10-29 11:38:33 +09:00
Wonsuk Choi
5aa553880a
docs(examples/vue): add 'star-wars', 'rick-morty' and 'vue-router' examples (#12439) 2026-10-29 10:25:46 +09:00
Wonsuk Choi
e423d30ae0
docs(examples/vue): add 'basic-graphql-request', 'default-query-function', 'devtools-panel', 'playground', 'shadow-dom', 'algolia' and 'chat' examples (#12438) 2026-10-28 19:18:28 +09:00
Wonsuk Choi
2941a23d57
chore(deps): unify and update '@eslint-react/eslint-plugin', 'eslint', 'svelte-check', 'vue-tsc' and '@tanstack/vue-query' versions (#12421)
* chore(deps): unify and update '@eslint-react/eslint-plugin', 'eslint', 'svelte-check', 'vue-tsc' and '@tanstack/vue-query' versions

* chore(pnpm-lock): run 'pnpm dedupe'
2026-10-27 21:14:48 +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
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
2fb9d905f2
docs(examples/vue/dependent-queries): fix the post endpoint path and the capitalized 'Data' in the description (#12166) 2026-10-20 10:40:22 +09:00
Wonsuk Choi
71fb7632df
fix(examples/vue/basic): share the post queries with 'queryOptions' in 'src/api.ts' and mark visited posts from the query cache (#12161) 2026-10-20 10:20:11 +09:00
Wonsuk Choi
ca7af33734
fix(examples/vue/dependent-queries): share the post and author queries with 'queryOptions' in 'src/api.ts' and mark visited posts from the query cache (#12162) 2026-10-20 10:19:50 +09:00
Wonsuk Choi
c83595d0b5
fix(examples/vue/2.7-basic): share the post queries with 'queryOptions' in 'src/api.ts' and mark visited posts from the query cache (#12165) 2026-10-20 10:19:22 +09:00
Wonsuk Choi
09cc250b57
fix(examples/vue/2.6-basic): share the post queries with 'queryOptions' in 'src/api.ts' and mark visited posts from the query cache (#12164) 2026-10-20 10:19:14 +09:00
Wonsuk Choi
5824193935
fix(examples/vue/persister): share the post queries and persisters with 'queryOptions' in 'src/api.ts' and mark visited posts from the query cache (#12163) 2026-10-20 10:18:57 +09:00
Wonsuk Choi
3c540d3758
chore(examples/vue/persister/package.json): remove the unused '@tanstack/query-core' and '@tanstack/query-sync-storage-persister' dependencies (#12146) 2026-10-20 03:36:48 +09:00
Wonsuk Choi
243148eecf
refactor(examples/vue/{basic,dependent-queries,persister,simple}): migrate the components to '<script setup>' (#12144) 2026-10-20 03:10:17 +09:00
Wonsuk Choi
c76c0ffe44
refactor(examples/vue): type the 'isVisited' prop with 'PropType' and the visited posts set with 'Set<number>' (#12143) 2026-10-20 03:02:24 +09:00
Wonsuk Choi
d9e7648b94
refactor(examples/vue): declare the example types with 'type' in 'types.ts' instead of 'types.d.ts' (#12141)
* refactor(examples/vue/simple): type the repo data with a 'Repo' type in 'types.ts' and remove the unused 'types.d.ts'

* refactor(examples/vue): rename 'types.d.ts' to 'types.ts' and declare the types with 'type'
2026-10-20 02:56:15 +09:00
Wonsuk Choi
5aefeb72fc
refactor(examples/vue/persister): remove the commented-out 'staleTime' from the query client config (#12142) 2026-10-20 02:54:54 +09:00
Wonsuk Choi
2581366cd6
docs(examples/vue/nuxt3): replace the dead 'v3.nuxtjs.org' links with the Nuxt 3 docs on 'nuxt.com' (#12140) 2026-10-20 02:47:37 +09:00
Wonsuk Choi
5d67aa2ef0
fix(examples/vue): show 'Background Updating...' in the posts list and remove the unused 'refetch' (#12139) 2026-10-20 02:46:23 +09:00
Wonsuk Choi
db22bfc516
refactor(examples,docs): use 'TanStack/query' consistently in the GitHub API URLs (#12137)
* refactor(examples,docs): use 'TanStack/query' consistently in the GitHub API URLs

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-20 02:34:00 +09:00
Wonsuk Choi
f7c89b64b0
chore(examples/vue/{2.6-basic,2.7-basic}): add a flat config and run 'test:eslint' (#12136)
* chore(examples/vue/{2.6-basic,2.7-basic}): add a flat config and run 'test:eslint'

* refactor(examples/vue/{2.6-basic,2.7-basic}): fix lint errors
2026-10-20 02:33:38 +09:00
Wonsuk Choi
c00eaa37b6
fix(examples/vue/persister): rename the heading from 'Vue Query - Basic' to 'Vue Query - Persister' (#12138) 2026-10-20 02:33:13 +09:00
Wonsuk Choi
a4414a7f5d
fix(examples/vue/simple): remove the stray quote before the error message (#12134) 2026-10-20 02:13:13 +09:00
Wonsuk Choi
b904739b0f
fix(examples/vue): throw on non-ok 'fetch' responses in the query functions (#12133) 2026-10-20 02:12:57 +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
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
8b48d0253b
chore(examples/vue): add 'test:types' to type-check the examples in CI (#12022) 2026-10-15 10:14:24 +09:00
Wonsuk Choi
fa49ddde37
fix(examples/vue/dependent-queries): replace 'enabled' with 'skipToken' to type the author query (#12010) 2026-10-14 10:16:39 +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
Wonsuk Choi
41c178b285
chore(examples/vue): add a flat config and run 'test:eslint' (#12003)
* chore(examples/vue): add a flat config and run 'test:eslint'

* refactor(examples/vue): fix lint errors
2026-10-14 09:45:36 +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
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