Lachlan Collins
df0779721b
ci: update actions/labeler ( #10278 )
...
* ci: update actions/labeler
* Remove unnecessary config
2026-03-18 00:05:48 +11:00
Lachlan Collins
4c87002dca
ci: add changeset version preview ( #10277 )
2026-03-17 23:41:26 +11:00
renovate[bot]
d4fd94177e
chore(deps): update dependency @angular/compiler to v20.3.18 [security] ( #10270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-15 05:50:19 +00:00
renovate[bot]
4b309c1421
chore(deps): update dependency @angular/core to v20.3.18 [security] ( #10271 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-15 01:31:18 +00:00
github-actions[bot]
489359a569
ci: Version Packages ( #10263 )
...
@tanstack/solid-query@5.90.26
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-12 13:36:10 +01:00
Birk Skyum
c3f5d6a547
fix(solid-router): useIsRestoring and useQueryClient ( #10262 )
2026-03-12 13:32:57 +01:00
github-actions[bot]
89a889da5f
ci: Version Packages ( #10261 )
...
@tanstack/solid-query@5.90.25
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-12 13:00:24 +01:00
Birk Skyum
5303191e66
fix(solid-query): allow both create/use syntax ( #10260 )
2026-03-12 12:57:11 +01:00
github-actions[bot]
0635a4ae9d
ci: Version Packages ( #10259 )
@tanstack/solid-query@5.90.24
2026-03-12 08:32:48 +01:00
wnhlee
8b936b3896
fix(solid-query): forward generic parameters in deprecated type aliases ( #10093 )
2026-03-12 08:09:16 +01:00
Wonsuk Choi
db663de69f
test(query-core/queryObserver): add test for rejecting promise when 'experimental_prefetchInRender' is disabled ( #10249 )
2026-03-11 22:55:23 +01:00
Wonsuk Choi
8670a49945
test(query-core/queryCache): add tests for 'build' with and without provided 'queryHash' ( #10252 )
2026-03-11 22:52:35 +01:00
Dominik Dorfmeister 🔮
67cf8b60d9
ref: ts cutoff ( #10253 )
...
* ref: update typescript versions
* check for tsgo
* drop 5.2 and 5.3
* docs
* ref: fix tsup config
* ref: use built-in NoInfer
* ci: apply automated fixes
* fix tsup config
* Revert "ref: use built-in NoInfer"
This reverts commit 45d428ce71 .
# Conflicts:
# packages/preact-query/src/useQuery.ts
* ref: remove tsgo for now
* fix builds
* fix: update svelte-check
* fix: svelte-check still needs ts 5.9
* fix: knip + ts rewrite
* ci: apply automated fixes
* fix: make ts 5.9 the tscurrent version
* fix custom conditions
* fix: coderabbit comments
* fix: lockfile
* revert docs
* fix: override eslint to 8.56.1
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-09 08:12:35 +01:00
Pavan Shinde
fe25edc2f9
docs(react): fix broken anchors in SSR and migration guides ( #10214 )
...
* docs(react): fix broken anchors in SSR and migration guides
* Update docs/framework/react/guides/ssr.md
---------
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-03-04 13:46:58 +01:00
Wonsuk Choi
8a59b2d6e9
test({react,preact}-query/useSuspenseQueries): add test for suspending when the faster query already has data ( #10210 )
2026-03-02 16:14:17 +01:00
Wonsuk Choi
0eca134efd
test({react,preact}-query/useSuspenseQueries): add test for not suspending but refetching when all queries have stale cached data ( #10209 )
2026-03-02 16:07:55 +01:00
renovate[bot]
391db367b3
chore(deps): update dependency svelte to v5.53.5 [security] ( #10201 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-02 14:08:35 +00:00
Dami Oyeniyi
234c16eeb8
fix(examples): guard missing mount target in preact simple example ( #10208 )
2026-03-02 10:30:14 +01:00
github-actions[bot]
f010bc516e
ci: Version Packages ( #10206 )
...
@tanstack/preact-query-devtools@5.92.0
@tanstack/preact-query-persist-client@5.92.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-02 08:52:09 +01:00
Wonsuk Choi
0aec57559b
test(svelte-query/queryOptions): add runtime test for identity function ( #10178 )
...
* test(svelte-query/queryOptions): add runtime test for identity function
* Update packages/svelte-query/tests/queryOptions/queryOptions.svelte.test.ts
* test(svelte-query/queryOptions): add explicit 'CreateQueryOptions' type annotation
* test(svelte-query/queryOptions): revert 'CreateQueryOptions' type annotation due to overload mismatch
2026-03-02 08:47:58 +01:00
Wonsuk Choi
b2dfe4f4e3
feat(svelte-query): add 'mutationOptions' ( #10175 )
...
* feat(svelte-query/mutationOptions): add 'mutationOptions' identity function for type-safe mutation configuration
* test(svelte-query/mutationOptions): add type and runtime tests for 'mutationOptions'
* docs(svelte-query/mutationOptions): add reference documentation for 'mutationOptions'
* chore(svelte-query): add changeset for 'mutationOptions'
* ci: apply automated fixes
* test(svelte-query/mutationOptions): use 'Accessor' type for props in BaseExample and wrap test values with arrow functions
* style(svelte-query/mutationOptions): remove blank lines between 'fireEvent' and assertion blocks
* refactor(svelte-query/mutationOptions): split BaseExample into BaseExample and MultiExample for single and multi mutation tests
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-02 08:47:12 +01:00
Wonsuk Choi
6af63a727e
test({react,preact}-query/useSuspenseQueries): add test for not suspending when all queries have fresh cached data ( #10202 )
2026-03-02 08:45:07 +01:00
Dami Oyeniyi
c654c36b4d
fix(examples): guard missing mount targets in solid examples ( #10205 )
2026-03-02 08:44:50 +01:00
Jovi De Croock
887541a2fa
Add preact persist plugin ( #10120 )
...
* Add preact persist plugin
* Add docs
* Add tests
* Fix type issue
* ci: apply automated fixes
* Fixes
* Update changeset for preact-query packages
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-03-02 08:43:33 +01:00
github-actions[bot]
561f76979e
ci: Version Packages ( #10200 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-02 07:14:21 +01:00
renovate[bot]
c0c8398cc1
chore(deps): update dependency @sveltejs/kit to v2.53.3 [security] ( #10204 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-02 01:11:20 +00:00
renovate[bot]
df928be908
chore(deps): update dependency @angular/core to v20.3.17 [security] ( #10203 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-01 21:02:32 +00:00
Jovi De Croock
8fb3a5a6f1
Add preact query devtools ( #10119 )
...
* Add preact query devtools
* chore(deps): update dependency @sveltejs/kit to v2.52.2 [security] (#10158 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* ci: apply automated fixes
* knip
* Another fix
* Update versioning for preact-query packages
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-03-01 19:07:24 +01:00
Dami Oyeniyi
54d9fc80f7
fix(examples): guard missing #app mount target in svelte simple example ( #10144 )
2026-03-01 18:35:47 +01:00
Wonsuk Choi
75fab824fe
test(preact-query/useQueries): add test for not fetching during restoring period when 'isRestoring' is true ( #10197 )
2026-03-01 17:39:16 +01:00
Wonsuk Choi
282cdc2333
test(react-query/useQueries): add test for not fetching during restoring period when 'isRestoring' is true ( #10196 )
...
test(react-query/useQueries): add test for 'isRestoring' to cover restoring period branch
2026-03-01 17:38:59 +01:00
Wonsuk Choi
a865c15c7a
test(preact-query/useSuspenseQueries): align cached data test with react-query to verify background refetch ( #10195 )
2026-03-01 17:37:38 +01:00
René Klomp
e505568f4d
feat(experimental_createQueryPersister): removeItem if deserialize fails ( #10190 )
...
* removeItem if deserialize fails
* changeset
* Use storageKeyPrefix
* Set storageKeyPrefix outside loop
* changeset is patch
2026-02-28 20:21:40 +01:00
Wonsuk Choi
0da627ba70
docs({solid,vue}-query/broadcastQueryClient): remove unnecessary 'replace' that doesn't match source content ( #10193 )
2026-02-26 17:06:46 +01:00
Roitium.
3f30619e7f
docs(react-native): fix example to include initial state ( #10172 )
...
* docs: fix expo-network example code block
* Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-26 15:14:24 +01:00
github-actions[bot]
4b0f51aa93
ci: Version Packages ( #10191 )
...
@tanstack/preact-query@5.91.1
@tanstack/query-async-storage-persister@5.90.23
@tanstack/query-persist-client-core@5.92.0
@tanstack/query-sync-storage-persister@5.90.23
@tanstack/react-query-persist-client@5.90.23
@tanstack/solid-query-persist-client@5.90.24
@tanstack/svelte-query-persist-client@6.0.21
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-26 15:05:26 +01:00
Pavan Shinde
bee96b7ca7
docs(angular): fix QueryClient field in paginated guide ( #10147 )
2026-02-26 15:04:59 +01:00
Wonsuk Choi
b5e88e05cc
refactor(preact-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection ( #10188 )
2026-02-26 14:55:46 +01:00
Wonsuk Choi
fef7988924
docs(angular/guides/caching): fix typo 'date' to 'data' ( #10189 )
2026-02-26 14:54:30 +01:00
Wonsuk Choi
74276f06ac
test({react,preact,angular}-query/{queryOptions,infiniteQueryOptions,mutationOptions}): replace 'toStrictEqual' with 'toBe' and add type annotations ( #10192 )
...
test({react,preact,angular}-query/{queryOptions,infiniteQueryOptions,mutationOptions}): replace 'toStrictEqual' with 'toBe' for identity function assertion and add explicit type annotations to 'mutationOptions'
2026-02-26 14:54:09 +01:00
Wonsuk Choi
1f2aef9897
test(svelte-query/infiniteQueryOptions): add runtime test for identity function ( #10177 )
...
* test(svelte-query/infiniteQueryOptions): add runtime test for identity function
* test(svelte-query/infiniteQueryOptions): replace type annotation with 'as const' for consistency
* Apply suggestions from code review
* test(svelte-query/infiniteQueryOptions): add explicit 'CreateInfiniteQueryOptions' type annotation
2026-02-26 14:53:34 +01:00
Wonsuk Choi
4784fb3fd4
test(react-query/useSuspenseQueries): add test for suspending only pending queries when some already have cached data ( #10126 )
...
* test(react-query/useSuspenseQueries): add test for suspending only pending queries when some already have cached data
* ci: apply automated fixes
* test(react-query/useSuspenseQueries): use different 'sleep' times and verify background refetch settles with fresh data
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-26 14:52:47 +01:00
Wonsuk Choi
82d97fba4e
test(query-core/queriesObserver): add test for 'trackResult' property tracking synchronization across all observers ( #10185 )
...
* test(query-core/queriesObserver): add test for 'trackResult' property tracking synchronization across all observers
* test(query-core/queriesObserver): remove unnecessary 'getCombinedResult' call in 'trackResult' test
2026-02-26 14:51:42 +01:00
Wonsuk Choi
d1485ddf54
test(query-core/mutationCache): add test for deleting scope when removing the only mutation in that scope ( #10181 )
2026-02-26 14:50:09 +01:00
Wonsuk Choi
0d38bb56bc
test(preact-query/useQuery): add test for not fetching during restoring period when 'isRestoring' is true ( #10180 )
2026-02-26 14:49:38 +01:00
Wonsuk Choi
520e787469
test(svelte-query/HydrationBoundary): add test for hydrating queries to the cache on context ( #10179 )
...
* test(svelte-query/HydrationBoundary): add test for hydrating queries to the cache on context
* refactor(svelte-query/HydrationBoundary): create 'QueryClient' inside component instead of receiving via props
2026-02-26 14:49:13 +01:00
Wonsuk Choi
e730c767e9
test(solid-query/useQuery): add test for string 'reconcile' option maintaining referential equality ( #10169 )
...
* test(solid-query/useQuery): add test for string 'reconcile' option maintaining referential equality
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-26 14:46:56 +01:00
Wonsuk Choi
aa0e242bd9
test(solid-query/useQuery): add test for 'isRestoring' transition from true to false triggering refetch ( #10168 )
...
* test(solid-query/useQuery): add test for 'isRestoring' transition from true to false triggering refetch
* test(solid-query/useQuery): add 'fetchStatus' assertion after restoring completes
2026-02-26 14:45:17 +01:00
Wonsuk Choi
377aaa265c
test(solid-query/useQuery): add test for refetching query when 'queryClient' changes ( #10167 )
...
* test(solid-query/useQuery): add test for refetching query when 'queryClient' changes
* ci: apply automated fixes
* test(solid-query/useQuery): isolate explicit client accessor from provider context
* test(solid-query/useQuery): remove unnecessary 'QueryClientProvider' wrapper from explicit client test
* test(solid-query/useQuery): replace 'Accessor<QueryClient>' with '() => QueryClient' type annotation
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-26 14:44:23 +01:00
Wonsuk Choi
808d84aa3b
test(react-query/useQuery): add test for not fetching during restoring period when 'isRestoring' is true ( #10166 )
...
* test(react-query/useQuery): add test for not fetching during restoring period when 'isRestoring' is true
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-26 14:43:59 +01:00