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

372 commits

Author SHA1 Message Date
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
959f65e2dd
refactor(examples/svelte/optimistic-updates): move the fetchers into 'src/lib/api.ts' and share the todos query with 'queryOptions' (#12124) 2026-10-19 10:39:17 +09:00
Wonsuk Choi
2653d67fd4
refactor(examples/svelte/load-more-infinite-scroll): type the planets response and move the query into 'src/lib/api.ts' with 'infiniteQueryOptions' (#12123) 2026-10-19 10:26:57 +09:00
Wonsuk Choi
ff47e18732
fix(examples/svelte/load-more-infinite-scroll): show 'Loading more...' only while fetching the next page instead of on any background refetch (#12121) 2026-10-19 10:15:53 +09:00
Wonsuk Choi
9e6e51c73c
refactor(examples/svelte/optimistic-updates): infer the 'onError' parameter types instead of 'any' and rename 'context' to 'onMutateResult' (#12120) 2026-10-19 10:15:41 +09:00
Wonsuk Choi
9423149102
fix(examples/svelte/{basic,ssr}): remove the '!postId' check that kept 'Loading...' next to the error for non-numeric post ids (#12119) 2026-10-19 10:15:30 +09:00
Wonsuk Choi
adb932ea11
refactor(examples/svelte/star-wars): type the API responses and share the queries with 'queryOptions' (#12116) 2026-10-19 02:31:54 +09:00
Wonsuk Choi
ae6266d571
fix(examples/svelte/playground): show 'Saved!' only after a successful mutation instead of while idle (#12114) 2026-10-19 02:22:15 +09:00
Wonsuk Choi
a8fe350b8a
fix(examples/svelte/star-wars): throw on non-ok 'fetch' responses in the API functions (#12113) 2026-10-19 02:20:01 +09:00
Wonsuk Choi
3119e0c6a0
refactor(examples/svelte/ssr): read the cached post with 'postQueryOptions(id).queryKey' instead of a hard-coded key (#12112) 2026-10-19 02:13:15 +09:00
Wonsuk Choi
86c01185a0
refactor(examples/svelte/auto-refetching): move the fetchers into 'src/lib/api.ts' and share the todos query with 'queryOptions' (#12111) 2026-10-19 02:11:36 +09:00
Wonsuk Choi
69457a9e57
fix(examples/svelte/optimistic-updates): render 'Background Updating...' instead of a leftover JSX ternary (#12107) 2026-10-19 02:09:49 +09:00
Wonsuk Choi
d8ab863425
refactor(examples/svelte/basic): share the post queries with 'queryOptions' in 'src/lib/queries.ts' (#12110) 2026-10-19 02:09:21 +09:00
Wonsuk Choi
306fcda84d
fix(examples/svelte/optimistic-updates): throw on non-ok responses so a failed create rolls back the optimistic update (#12106) 2026-10-19 02:07:38 +09:00
Wonsuk Choi
d0a1dff1ba
fix(examples/svelte): throw on non-ok 'fetch' responses in the query and mutation functions (#12109) 2026-10-19 02:03:47 +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
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
a21e17b5e2
chore(examples/svelte/playground): add a flat config and run 'test:eslint' (#12029)
* chore(examples/svelte/playground): add a flat config and run 'test:eslint'

* refactor(examples/svelte/playground): fix lint errors
2026-10-15 15:22:16 +09:00
Wonsuk Choi
9cce260056
fix(examples/svelte/playground): keep unsaved edits out of the query cache and apply the 'staleTime' and 'gcTime' inputs (#11986) 2026-10-15 14:31:10 +09:00
Wonsuk Choi
682e00144f
chore(examples/svelte): add 'test:types' to type-check the examples in CI (#12019) 2026-10-15 09:53:04 +09:00
Wonsuk Choi
8818228c52
fix(examples/svelte/star-wars): type route params with 'PageProps' instead of 'page.params' (#12009) 2026-10-14 10:15:41 +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
0fbbc62136
chore(examples/svelte): add a flat config and run 'test:eslint' (#12002)
* chore(examples/svelte): add a flat config and run 'test:eslint'

* refactor(examples/svelte): fix lint errors

* chore(examples/svelte): run 'svelte-kit sync' before 'eslint' in 'test:eslint'
2026-10-13 11:59:48 +09:00
Wonsuk Choi
542a6f03e7
refactor(examples/svelte/ssr): share the post queries between 'load' and components with 'queryOptions' (#11988) 2026-10-13 00:31: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
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
f00aad602e
chore(deps): update dev dependencies (#11640)
chore(deps): update many dev dependencies
2026-09-26 07:30:31 +10:00
Lachlan Collins
57f40eb05b
chore(deps): update non-major dependencies (#11625)
* chore(deps): update non-major dependencies

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-25 15:15:46 +10:00
github-actions[bot]
8884f1a4d9
ci: Version Packages (#11582)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-22 15:35:37 +02:00
github-actions[bot]
413ba6e30b
ci: Version Packages (#11566)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-21 20:28:35 +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
github-actions[bot]
96f2da6353
ci: Version Packages (#11271)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-24 15:20:40 +02:00
github-actions[bot]
388bbaf181
ci: Version Packages (#11265)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 19:57:36 +02:00
github-actions[bot]
bc423b37ef
ci: Version Packages (#11261)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 12:57:01 +02:00
github-actions[bot]
5743468462
ci: Version Packages (#11206)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-22 20:52:42 +02:00
github-actions[bot]
86bb8a6fb2
ci: Version Packages (#11094)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-21 15:00:30 +02:00
github-actions[bot]
181ea826cb
ci: Version Packages (#11089)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-20 14:01:04 +02:00