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

422 commits

Author SHA1 Message Date
github-actions[bot]
925168e015
ci: Version Packages (#12501)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-04 21:07:35 +01:00
Wonsuk Choi
df4738d4e2
chore(*): update Angular to v22 and TypeScript to v6 in Angular examples and integration (#12506)
* chore(*): update Angular to v22 and TypeScript to v6 in Angular examples

* chore(examples/angular): remove unused 'zone.js' since Angular v22 is zoneless by default

* chore(integrations/angular): replace 'cli-20' with 'cli-22' generated by Angular CLI v22

* chore(integrations/angular/cli-22): remove '.vscode/mcp.json' re-include from '.gitignore'
2026-11-03 14:01:49 +09:00
github-actions[bot]
7bf1e0f7d7
ci: Version Packages (#12498)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-02 21:34:31 +01:00
github-actions[bot]
d6b2b643f6
ci: Version Packages (#12476)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-02 14:52:11 +01:00
Wonsuk Choi
604d0a5aaf
refactor(examples/angular/basic): make 'postId' a required input and remove the always-true 'enabled' in 'PostComponent' (#12170)
refactor(examples/angular/basic): make the 'postId' input required and remove the always-true 'enabled' in 'PostComponent'
2026-11-02 00:15:34 +09:00
Wonsuk Choi
2023a563c6
style(examples/angular): remove extra spaces inside the cached posts comment (#12477) 2026-11-01 22:50:28 +09:00
Wonsuk Choi
14ac12ed63
docs(examples): add router and framework suffix to example directories to match their 'package.json' names (#12473)
* docs(examples): add router and framework suffix to example directories to match their 'package.json' names

* docs(svelte): update example links to the renamed 'basic-sveltekit' and 'ssr-sveltekit' directories
2026-11-01 19:39:04 +09:00
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
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
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
55fa9595ed
refactor(examples/angular): type the mock interceptor events and bodies as 'unknown' instead of 'any' (#12177) 2026-10-20 11:52:39 +09:00
Wonsuk Choi
5106c1b804
refactor(examples/angular/{devtools-panel,rxjs,simple}): rename the 'Response' interfaces so they do not shadow the global 'Response' type (#12176) 2026-10-20 11:44:37 +09:00
Wonsuk Choi
c41eb8d82a
refactor(examples/angular/infinite-query-with-max-pages): type 'nextId' and 'previousId' as 'number | null' to match the mock response (#12175) 2026-10-20 11:43:19 +09:00
Wonsuk Choi
683c869265
refactor(examples/angular/basic-persister): use 'output()' instead of '@Output()', remove the unused 'QueryClient', and align the components with the basic example (#12172) 2026-10-20 11:37:31 +09:00
Wonsuk Choi
35d21b2d1b
fix(examples/angular/optimistic-updates): throw an 'HttpErrorResponse' from the mock so the failing mutation rolls back in 'onError' (#12173) 2026-10-20 11:37:07 +09:00
Wonsuk Choi
48b599fa69
refactor(examples/angular/optimistic-updates): rename the 'onError' 'context' parameter to 'onMutateResult' and prefix the unused ones (#12174) 2026-10-20 11:36:57 +09:00
Wonsuk Choi
c87c0eafbc
fix(examples/angular/infinite-query-with-max-pages): disable the previous page button while fetching the previous page instead of the next page (#12167) 2026-10-20 10:59:06 +09:00
Wonsuk Choi
5490375a35
refactor(examples/angular/query-options-from-a-service): read the cached post with the service's 'queryKey' instead of an inline key (#12169) 2026-10-20 10:57:42 +09:00
Wonsuk Choi
4c9c4cf303
refactor(examples/angular/optimistic-updates): remove the unused 'clearMutation' that created a second add mutation (#12168) 2026-10-20 10:57:27 +09:00
Wonsuk Choi
542a134e03
refactor(examples/angular/basic-persister): make the 'postId' input required and remove the always-true 'enabled' in 'PostComponent' (#12171) 2026-10-20 10:56:08 +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
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
Wonsuk Choi
83b0831c27
fix(examples): rename the auto-refetching title from 'stale-time' to 'refetchInterval', which is the option it sets (#12051) 2026-10-17 04:01:34 +09: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
c87cdcb962
chore(examples/angular): add 'test:types' to type-check the examples in CI (#12015) 2026-10-15 09:51:32 +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
bbc8e95edf
chore(examples/angular): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint' (#11952)
* chore(examples/angular): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'

* refactor(examples/angular/{auto-refetching,optimistic-updates}): wrap the 'POST' case in a block
2026-10-11 01:32:52 +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
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
github-actions[bot]
e0f6c5542f
ci: Version Packages (#11525)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-21 11:29:33 +02:00
github-actions[bot]
c08f5766dd
ci: Version Packages (#11511)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 16:56:55 +02:00
github-actions[bot]
19ccf2794b
ci: Version Packages (#11339)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 09:03:53 +02:00
github-actions[bot]
2969edf32f
ci: Version Packages (#11316) 2026-08-28 01:03:02 +09:00
github-actions[bot]
2eb3c7c76f
ci: Version Packages (#11313)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-27 17:28:48 +09:00
github-actions[bot]
714df67ab1
ci: Version Packages (#11306)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 20:32:28 +02:00
github-actions[bot]
1836e61b8c
ci: Version Packages (#11303)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 10:56:25 +02:00
github-actions[bot]
51f12db919
ci: Version Packages (#11294)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-25 23:24:07 +02:00
Wonsuk Choi
8fbfc14d42
chore(examples,docs): replace deprecated 'prefetchQuery'/'fetchQuery' calls with 'query' (#11282) 2026-08-25 15:06:52 +09:00
github-actions[bot]
730b3aa06c
ci: Version Packages (#11276) 2026-08-25 04:21:47 +09:00