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
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
315e8fbf18
docs(vue/reactivity): fix the garbled sentence about intentionally non-reactive queries ( #12159 )
2026-10-20 03:55:52 +09:00
Wonsuk Choi
a760a82631
docs(vue/guides/paginated-queries): move the 'Ref' type import after the value imports and sort the 'vue-query' members ( #12158 )
2026-10-20 03:54:40 +09:00
Wonsuk Choi
69839fe2fd
docs(vue/guides/paginated-queries): use 'import type' for 'Ref' ( #12157 )
2026-10-20 03:51:54 +09:00
Wonsuk Choi
054c244e75
docs(vue/reactivity): clarify that every query option accepts refs while only 'queryKey' and 'enabled' resolve getters ( #12156 )
2026-10-20 03:50:37 +09:00
Wonsuk Choi
5b6042cef9
docs(*): document the 'hideDisabledQueries' devtools option and its 'false' default ( #12155 )
2026-10-20 03:49:02 +09:00
Wonsuk Choi
a78393551c
docs(vue/plugins/createPersister): use 'localStorage' instead of the undefined 'AsyncStorage' in the examples ( #12154 )
2026-10-20 03:45:45 +09:00
Wonsuk Choi
341948658a
docs(vue/plugins/createPersister): document the 'removeQueries' function of the query persister ( #12153 )
2026-10-20 03:45:08 +09:00
Wonsuk Choi
9c80d0f4ce
docs(vue/reactivity): wrap the 'useQuery' options in an object, use 'toValue' for the 'MaybeRef' in 'enabled', and fix typos ( #12152 )
2026-10-20 03:43:17 +09:00
Wonsuk Choi
31041be074
docs(vue/guides/mutations): fix the error reset and paused mutations snippets that did not compile ( #12151 )
2026-10-20 03:39:13 +09:00
Wonsuk Choi
234eae8c3f
docs(vue/guides/dependent-queries): replace the removed 'isIdle' with 'status' and 'fetchStatus' and guard the undefined 'userIds' ( #12150 )
2026-10-20 03:37:09 +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
f83e0d5d9c
docs(vue/guides/testing): add a testing guide for composables with Vue Test Utils ( #12149 )
2026-10-20 03:32:55 +09:00
Wonsuk Choi
b2442d2bc4
docs(vue/guides/custom-client): pass the client to the devtools when using a custom 'queryClientKey' ( #12148 )
2026-10-20 03:32:11 +09:00
Wonsuk Choi
f275427cd0
docs(vue/installation): link to 'vuejs.org' instead of 'staging.vuejs.org' for '<script setup>' ( #12147 )
2026-10-20 03:21:35 +09:00
Wonsuk Choi
de6ac8e4ec
docs(vue/guides/custom-client): pass the client from 'useQueryClient' instead of the removed 'queryClientKey' query option ( #12145 )
2026-10-20 03:15:16 +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
46744e5b05
refactor(examples/svelte/playground): edit the 'initialFilter' prop directly in 'TodosList' to remove the 'state_referenced_locally' warning ( #12125 )
2026-10-20 02:42:34 +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 )
...
release-2026-10-19-1659
@tanstack/svelte-query@6.3.5
@tanstack/preact-query@5.104.5
@tanstack/react-query@5.104.5
@tanstack/solid-query@5.104.5
@tanstack/react-query-persist-client@5.104.5
@tanstack/react-query-next-experimental@5.104.5
@tanstack/svelte-query-devtools@6.3.5
@tanstack/react-query-devtools@5.104.5
@tanstack/svelte-query-persist-client@6.3.5
@tanstack/angular-query-experimental@5.104.5
@tanstack/query-sync-storage-persister@5.104.5
@tanstack/query-broadcast-client-experimental@5.104.5
@tanstack/solid-query-persist-client@5.104.5
@tanstack/solid-query-devtools@5.104.5
@tanstack/query-persist-client-core@5.104.5
@tanstack/lit-query@0.2.30
@tanstack/query-devtools@5.104.5
@tanstack/preact-query-devtools@5.104.5
@tanstack/vue-query-devtools@6.3.5
@tanstack/preact-query-persist-client@5.104.5
@tanstack/vue-query@5.104.5
@tanstack/eslint-plugin-query@5.104.5
@tanstack/query-core@5.104.5
@tanstack/query-async-storage-persister@5.104.5
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
Dominik Dorfmeister 🔮
f608f933a3
fix(query-core): use supplied options for optimistic fetches ( #12131 )
2026-10-19 18:42:05 +02:00
autofix-ci[bot]
8c3f218b13
ci: apply automated fixes
2026-10-19 10:58:53 +00:00
Dominik Dorfmeister 🔮
1f8d134ea3
fix(react, preact): recompute mutation state snapshots ( #12117 )
...
* fix(react-query): recompute mutation state snapshots
* test(react-query): assert visible mutation counts
* fix(react-query): preserve mutation result references across renders
* fix(react-query): cache snapshots for non-plain selector results
* fix(preact-query): recompute mutation state snapshots
* Apply suggestion from @TkDodo
* fix: remove useMemo
2026-10-19 12:57:16 +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