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
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
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
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
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
Kirby
69e114aecf
fix(vue-query): export MutationResult type ( #11796 )
...
`UseMutationReturnType` uses `MutationResult` as the default for its
`TResult` parameter, but the alias was not exported. Projects that emit
declarations could not name the inferred return type of a `useMutation`
wrapper and failed with TS2883. Export it from the package root.
Fixes #11769
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ciarán Curley <ciaran.curley.11.11@gmail.com>
2026-10-09 12:17:10 +01:00
Tiago Vilas Boas
03e8c3955d
fix(query-core): start queued scoped mutations while the window is not focused 🤖 🤖 🤖 ( #11679 )
...
fix(query-core): start queued scoped mutations while the window is not focused
A mutation queued behind another one in the same scope is started later
through retryer.continue(), which only resumes when canContinue() is true.
canContinue() requires the window to be focused, so with an unfocused tab
the next mutation stayed paused until the window got focus again.
Resume the initial start pause with canStart() instead, which is the same
check used to start the retryer right away. Retry pauses still use
canContinue().
Fixes #11642
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-03 20:25:15 +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
Ciarán Curley
ec060b6f74
fix(query-devtools): isolate signals on devtools instances ( #11799 )
...
* fix(query-devtools): isolate mounted devtools instances
* refactor(query-devtools): encapsulate instance cache subscriptions
* refactor(query-devtools): inline provider state with explicit interfaces
* refactor(query-devtools): separate contexts and providers
* chore: update query devtools
2026-10-02 11:57:30 +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
a0ee654cd8
chore(angular-query): migrate to tsdown ( #11649 )
...
* chore(angular-query): migrate to tsdown
* Add changeset
* Fix types
* Fix attw
2026-09-26 09:59:39 +10:00
Lachlan Collins
d86ac36663
chore(query-devtools): update dependencies ( #11648 )
...
* chore(query-devtools): update dependencies
* Add changeset
* Fix build
2026-09-26 08:45:38 +10:00
Lachlan Collins
1c9693eac7
fix(codemods): update codemods build script ( #11647 )
...
* fix(codemods): update codemods build script
* Add changeset
2026-09-26 07:47:49 +10:00
Lachlan Collins
6ebffacbe7
fix(solid-query): useBaseQuery SSR cleanup ( #11628 )
...
* fix(solid-query): useBaseQuery SSR cleanup
* Add changeset
2026-09-26 06:18:00 +10:00
Wonsuk Choi
d03806572a
fix(svelte-query/{createQuery,queryOptions}): correct the overload selected for 'initialData' ( #11592 )
...
* fix(svelte-query/{createQuery,queryOptions}): correct the overload selected for 'initialData'
* test(svelte-query/queryOptions): use a non-literal condition instead of a wrapper function in the optional 'initialData' object test
2026-09-24 20:01:04 +10:00
Lachlan Collins
6a762c790f
ci: update to changesets v3 ( #11583 )
2026-09-23 07:12:56 +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
Wonsuk Choi
535cd61221
fix(svelte-query-devtools): update the devtools instance when options change after mount ( #11009 )
...
* fix(svelte-query-devtools): update the devtools instance when options change after mount
* test(svelte-query-devtools/Devtools): add missing 'setTheme' mock and coverage
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2026-09-22 20:46:19 +10: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
Simon H
1490a4b2ae
fix: support async Svelte ( #9810 )
...
* fix: support async Svelte
Svelte 5 now supports async await in components. One behavior there is that when a component is created as part of a boundary that has pending async work, its `$effect`s will not run until that async work is done.
The way the code is written right now means you can end up in an infinite pending state: If you do `await someQuery.promise`, the `$effect` for the subscription will never run, and therefore the `await` will never resolve. This PR fixes it.
* lint
* fix
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2026-09-21 20:10:05 +10:00
Dami Oyeniyi
847f471e37
feat(svelte-query-devtools): add theme option ( #10636 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2026-09-21 20:09:29 +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
Lazizbek Ergashev
322152569e
fix(broadcast-client): don't overwrite an existing query's data on an incoming 'added' message ( #11392 )
...
* fix(broadcast-client): don't overwrite an existing query's data on an incoming 'added' message
* test(query-broadcast-client-experimental): drop test that duplicates existing 'added' build coverage
2026-09-21 10:50:04 +02:00
곽지욱
8a28904aac
fix(query-core): ignore stale query removals ( #11524 )
2026-09-17 10:22:10 +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
곽지욱
8330b2f2d4
fix(query-core): handle plain objects with constructor fields ( #11512 )
...
fix(query-core): handle plain objects with constructor fields
2026-09-16 15:42:44 +02:00
곽지욱
3212966a36
fix(query-core): preserve null streamed query results ( #11510 )
...
fix(query-core): preserve null streamed query results
2026-09-16 11:36:14 +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
곽지욱
4c7cdbb86d
fix(query-persist-client-core): restore falsy storage values ( #11509 )
...
fix(query-persist-client-core): restore falsy storage values
2026-09-16 08:16:20 +02:00
곽지욱
cbf77bf8e1
fix(query-core): reject longer partial array keys ( #11502 )
...
* fix(query-core): reject longer partial array keys
* test(query-core): clarify partial key regression
2026-09-15 20:24:59 +02:00
Dominik Dorfmeister 🔮
9567367dd9
fix: declare devtools dependencies and enforce strict workspace checks ( #11501 )
2026-09-15 20:03:10 +02:00
Ahmet Tınastepe
12027efd5c
fix(vue-query): widen 'queryOptions' input to match 'useQuery' ( #11439 )
...
* fix(vue-query): widen 'queryOptions' input to match 'useQuery'
* chore: generate-docs
* chore: changeset
---------
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-09-15 09:00:40 +02:00
Bart Spaans
2bc8ecf39b
fix(vue-query): re-export core filter types ( #11287 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-09-14 16:12:52 +02:00
Wonsuk Choi
e57f8163b1
docs(query-core): add JSDoc across the package and expose it in generated reference docs ( #11438 )
...
* docs(query-core): add JSDoc across the package and expose it in generated reference docs
* docs(config.json): add sidebar entries for newly generated query-core reference docs
* docs(query-core): migrate remaining prose from the legacy 'docs/reference' pages into JSDoc
* docs(query-core): remove legacy 'docs/reference' pages superseded by the generated reference
* docs(query-core): regenerate reference docs after merging main
* docs(query-core): document missing default values for MutationOptions, combine, and QueryFilters.type
* fix(query-devtools): drop unnecessary 'query-core' project reference
* docs(query-core): document missing default values and normalize 'Defaults to' spacing
* docs(query-core): fix 'environmentManager' JSDoc example
2026-09-07 18:22:38 +02:00
Dominik Dorfmeister 🔮
a1119e5a3f
ref(hydration): remove outdated dehydratedAt fallback ( #11436 )
...
* ref(hydration): remove outdated dehydratedAt fallback
* ref: remove two more unnecessary dehydratedAt undefined checks
* fix constructing PersistedClient in test
2026-09-06 18:09:10 +02:00
Wonsuk Choi
f6ae1ccdf7
feat(svelte-query): add 'DefinedInitialDataInfiniteOptions' overload for 'createInfiniteQuery'/'infiniteQueryOptions' ( #11356 )
...
* feat(svelte-query): add 'DefinedInitialDataInfiniteOptions' overload for 'createInfiniteQuery'/'infiniteQueryOptions'
* chore(.changeset): use conventional commits pattern for changeset entry
* ci: apply automated fixes
* docs(svelte-query): regenerate reference docs for infinite-query initialData overload and update changeset entry
* docs(svelte-query): regenerate reference docs after merging main's JSDoc examples
* docs(svelte-query): revert unrelated line-number-only doc diffs
* docs(svelte-query): drop generated reference doc changes from this type-only PR
* chore(.changeset): match changeset entry to the PR title/commit subject
* docs(svelte-query): regenerate reference docs for the new infinite-query overloads
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-01 21:59:20 +09:00
Scott Cooper
fdae2ce4e5
ref(query-core): Reuse refetch interval resolver ( #11332 )
...
* perf(query-core): Reuse refetch interval resolver
Reuse the generic query option resolver added in #11302 for refetch intervals. Keeps callback and nullish fallback behavior while dropping the duplicate branch.
Co-Authored-By: OpenAI Codex <noreply@openai.com>
* test(query-core): Remove redundant interval test
Drop the cast-heavy timer spy coverage and keep the existing behavioral tests plus the disabled observer timer assertion.
Co-authored-by: OpenAI Codex <noreply@openai.com>
* ref: another instance for resolveQueryValue
---------
Co-authored-by: OpenAI Codex <noreply@openai.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-30 20:52:14 +02:00
github-actions[bot]
2969edf32f
ci: Version Packages ( #11316 )
2026-08-28 01:03:02 +09:00
Wonsuk Choi
6c27607d7f
fix(preact-query/useQueries): keep unsubscribed idle ( #11315 )
2026-08-27 21:02:01 +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
Wonsuk Choi
67fddee631
fix(preact-query): propagate falsy errors to the error boundary ( #11309 )
2026-08-27 16:38:51 +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
alex-js-ltd
ac2b61230e
fix(react-query): propagate falsy errors to the error boundary ( #11305 )
...
* test(react-query): cover falsy errors with throwOnError in useQuery
* test(react-query): show falsy errors silently skip the error boundary
* fix(react-query): throw falsy errors from useQueries to the error boundary
* chore: add changeset
2026-08-26 15:27: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
Dominik Dorfmeister 🔮
ef1eff1b62
fix(query-devtools): remove solid-js import from declarations ( #11300 )
...
* fix(query-devtools): remove solid-js import from declarations
Move public devtools types into a Solid-free module so declaration
generation does not emit a side-effect import for solid-js.
* add integration regression test
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-26 10:50:02 +02:00
Dominik Dorfmeister 🔮
578e5c26e8
ref: bundle-size improvements ( #11302 )
...
* ref: bundle-size improvements
* revert size limit for better comparison
* spyOn setInterval
2026-08-26 10:49:36 +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