github-actions[bot]
ee47993724
ci: Version Packages ( #11998 )
...
release-2026-10-15-0754
@tanstack/react-query-persist-client@5.104.3
@tanstack/query-core@5.104.3
@tanstack/svelte-query@6.3.3
@tanstack/svelte-query-persist-client@6.3.3
@tanstack/svelte-query-devtools@6.3.3
@tanstack/vue-query@5.104.3
@tanstack/solid-query@5.104.3
@tanstack/solid-query-persist-client@5.104.3
@tanstack/solid-query-devtools@5.104.3
@tanstack/angular-query-experimental@5.104.3
@tanstack/eslint-plugin-query@5.104.3
@tanstack/lit-query@0.2.28
@tanstack/preact-query-devtools@5.104.3
@tanstack/preact-query-persist-client@5.104.3
@tanstack/preact-query@5.104.3
@tanstack/query-async-storage-persister@5.104.3
@tanstack/react-query@5.104.3
@tanstack/query-devtools@5.104.3
@tanstack/query-broadcast-client-experimental@5.104.3
@tanstack/query-persist-client-core@5.104.3
@tanstack/query-sync-storage-persister@5.104.3
@tanstack/react-query-devtools@5.104.3
@tanstack/react-query-next-experimental@5.104.3
@tanstack/vue-query-devtools@6.3.3
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
autofix-ci[bot]
acd8bbc984
ci: apply automated fixes
2026-10-15 07:39:46 +00:00
Sviat Barbutsa
0f15bc925d
fix(query-core): preserve union narrowing in setQueryData updaters ( #11935 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-15 09:36:14 +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
eea734d168
chore(examples/react): add the missing 'react' prefix to package names ( #12028 )
2026-10-15 13:42:43 +09: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
27346620ad
docs(*): exclude members declared in 'node_modules' from generated reference docs ( #12014 )
2026-10-15 10:09:02 +09:00
Wonsuk Choi
98451e1b3c
chore(examples/react): add 'test:types' to type-check the examples in CI ( #12020 )
...
* chore(examples/react): add 'test:types' to type-check the examples in CI
* chore(examples/react): run 'next typegen' before 'tsc' in the remaining Next.js examples
2026-10-15 10:01:28 +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
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
6768f4e0bf
chore(examples/lit): move the type check from 'build' to 'test:types' ( #12017 )
2026-10-15 09:52:08 +09:00
Wonsuk Choi
dc90144cd0
chore(examples/preact): add 'test:types' to type-check the example in CI ( #12016 )
2026-10-15 09:51:46 +09: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
8d88a1725d
chore(nx.json): build the dependencies before 'test:types' ( #12021 )
2026-10-15 09:08:15 +09:00
Wonsuk Choi
a8af0e243a
refactor(examples/lit/ssr): replace the deprecated 'prefetchQuery' with 'query' in the server render ( #11992 )
2026-10-14 11:59:25 +09:00
Wonsuk Choi
5959fdb80f
fix(examples/react/eslint-plugin-demo): pass the dependencies as arguments so the 'allowlist' demo is checked by 'exhaustive-deps' ( #12012 )
2026-10-14 11:42:31 +09:00
Wonsuk Choi
e3e6b466a9
refactor(examples/react/batching): rename the parsed 'ids' in 'onChange' to 'parsedIds' to avoid shadowing the state ( #12013 )
2026-10-14 11:23:20 +09:00
Wonsuk Choi
d5b265a547
chore(examples/react/playground): replace the legacy '.eslintrc' with a flat config and run 'test:eslint' ( #12011 )
...
* chore(examples/react/playground): replace the legacy '.eslintrc' with a flat config and run 'test:eslint'
* refactor(examples/react/playground): fix lint errors
2026-10-14 11:07:53 +09:00
Wonsuk Choi
6a4bfe5192
fix(examples/react/playground): keep only the edited fields as local state and apply the initial query defaults on creation ( #11985 )
...
* fix(examples/react/playground): keep only the edited fields as local state and apply the initial query defaults on creation
* fix(examples/react/playground): use 'defaultValue' for the numeric controls so they can be cleared while editing
2026-10-14 10:27:00 +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
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
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
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
1836f7924c
chore(examples/react): replace the legacy '.eslintrc' with a flat config and run 'test:eslint' ( #11995 )
...
* chore(examples/react): replace the legacy '.eslintrc' with a flat config and run 'test:eslint'
* refactor(examples/react): fix lint warnings
2026-10-13 09:54:26 +09:00
Wonsuk Choi
668847f1a3
chore(deps): update '@typescript-eslint/parser' and '@typescript-eslint/rule-tester' catalog to '^8.71.1' ( #11996 )
2026-10-13 09:44:24 +09:00
Dami Oyeniyi
67705fd6ad
fix(vue-query-devtools): update client when prop changes ( #11413 )
2026-10-12 21:59:13 +02:00
Max Freedom Pollard
ed4d849731
fix(query-persist-client-core/createPersister): await 'storage.setItem' when persisting a query ( #11410 )
2026-10-12 21:54:43 +02:00
Wonsuk Choi
70c652b8e4
chore(examples/react/eslint-legacy): add 'plugin:@typescript-eslint/recommended' and declare the packages used by '.eslintrc' ( #11994 )
2026-10-13 00:50:38 +09:00
Wonsuk Choi
fd814043dd
refactor(examples/react/suspense): share the project queries between prefetching and 'useSuspenseQuery' with 'queryOptions' ( #11990 )
2026-10-13 00:49:51 +09:00
Wonsuk Choi
1aeece38a2
refactor(examples/react/nextjs): share the posts query between 'getStaticProps' and 'usePosts' with 'queryOptions' ( #11989 )
2026-10-13 00:32:18 +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
Wonsuk Choi
06dbbd8aeb
refactor(examples/lit/ssr): replace the 'satisfies CreateQueryOptions' annotation with 'queryOptions' ( #11987 )
2026-10-13 00:30:32 +09:00
Wonsuk Choi
0a3dfa0f0d
refactor(examples/react): move 'QueryClient' into '_app' with 'React.useState' ( #11993 )
2026-10-12 23:38:45 +09:00
Wonsuk Choi
1ea8928639
chore(examples/react): remove the 'eslint' option that Next.js 16 no longer supports from 'next.config.js' ( #11991 )
2026-10-12 22:26:07 +09:00
autofix-ci[bot]
6dc69dd265
ci: apply automated fixes
2026-10-12 12:14:45 +00:00
Wonsuk Choi
d2f0536386
chore(deps): update '@types/node' to '^24.19.2' to match Node 24 in '.nvmrc' ( #11978 )
2026-10-12 21:13:34 +09:00
Wonsuk Choi
4968f16e77
chore(.nvmrc): update Node to 'v24.21.0' (Krypton LTS) ( #11979 )
2026-10-12 14:11:16 +09:00
github-actions[bot]
b699b52d60
ci: Version Packages ( #11849 )
...
release-2026-10-11-1936
@tanstack/react-query@5.104.2
@tanstack/query-async-storage-persister@5.104.2
@tanstack/query-devtools@5.104.2
@tanstack/query-sync-storage-persister@5.104.2
@tanstack/query-core@5.104.2
@tanstack/vue-query@5.104.2
@tanstack/vue-query-devtools@6.3.2
@tanstack/svelte-query@6.3.2
@tanstack/react-query-devtools@5.104.2
@tanstack/svelte-query-persist-client@6.3.2
@tanstack/angular-query-experimental@5.104.2
@tanstack/svelte-query-devtools@6.3.2
@tanstack/eslint-plugin-query@5.104.2
@tanstack/solid-query@5.104.2
@tanstack/lit-query@0.2.27
@tanstack/solid-query-persist-client@5.104.2
@tanstack/preact-query-devtools@5.104.2
@tanstack/solid-query-devtools@5.104.2
@tanstack/preact-query-persist-client@5.104.2
@tanstack/query-persist-client-core@5.104.2
@tanstack/preact-query@5.104.2
@tanstack/react-query-persist-client@5.104.2
@tanstack/query-broadcast-client-experimental@5.104.2
@tanstack/react-query-next-experimental@5.104.2
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
okxint
a16e71c7a8
fix(mutation-observer): snapshot mutateOptions before dispatching callbacks ( #11945 )
...
* fix(mutation-observer): snapshot mutateOptions before dispatching callbacks
When mutate() is called inside an onSuccess handler, this.#mutateOptions
is overwritten before the subsequent onSettled call in #notify(). This
causes onSettled to fire with the next mutation's callbacks but the
current mutation's data and variables.
Fix by snapshotting mutateOptions at the top of #notify() before any
callbacks execute, so all three callbacks (onSuccess/onError/onSettled)
see the same consistent options for the mutation that settled.
Fixes #11451
* ci: apply automated fixes
---------
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-11 21:24:46 +02:00
Wonsuk Choi
98fd5936f0
chore(examples/react): add '@types/node' to the Next.js examples that relied on the root copy ( #11977 )
2026-10-12 03:40:40 +09:00
Wonsuk Choi
3a0e92744d
chore(examples/react): add '.stackblitzrc' so StackBlitz runs the 'dev' script in the Next.js examples ( #11976 )
2026-10-12 03:35:35 +09: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
d81b4e41d6
fix(examples/react/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions' ( #11973 )
...
* fix(examples/react/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions'
* fix(examples/react/offline): type the movie list response with only 'id' and 'title'
2026-10-12 02:34:19 +09:00
Wonsuk Choi
a6a46a2eab
fix(examples/react/react-native): type the movie list items as 'Movie' ( #11971 )
2026-10-12 02:26:02 +09:00
Jovi De Croock
a94c7caeec
feat(preact-query*): support Preact v11 ( #11711 )
...
* feat(preact-query*): support Preact v11
* fix(preact-query*): pass an initial value to 'useRef' and flush deferred unmount effect cleanups in tests for Preact v11
* chore(preact-query*): develop and test against Preact 11
Bump the preact catalog and the preact example to ^11.0.1, and
preact-render-to-string to ^6.8.0 (Preact 11 peers on >=6.7.0).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 18:17:07 +01:00
Wonsuk Choi
d2d3e064a0
chore(examples/react): raise 'target' from 'ES5' to 'ES2017' in the Next app examples ( #11969 )
2026-10-12 01:53:40 +09:00
Wonsuk Choi
3ae9fb0c3c
fix(examples/react/algolia): compute the next page from 'lastPageParam' and the optional 'nbPages' ( #11967 )
2026-10-11 23:41:43 +09:00