github-actions[bot]
a3ec7b30cc
ci: Version Packages ( #10520 )
...
release-2026-04-19-1059
@tanstack/angular-query-experimental@5.99.2
@tanstack/eslint-plugin-query@5.99.2
@tanstack/preact-query-devtools@5.99.2
@tanstack/preact-query-persist-client@5.99.2
@tanstack/preact-query@5.99.2
@tanstack/query-async-storage-persister@5.99.2
@tanstack/query-broadcast-client-experimental@5.99.2
@tanstack/query-core@5.99.2
@tanstack/query-devtools@5.99.2
@tanstack/query-persist-client-core@5.99.2
@tanstack/query-sync-storage-persister@5.99.2
@tanstack/react-query-devtools@5.99.2
@tanstack/react-query-next-experimental@5.99.2
@tanstack/react-query-persist-client@5.99.2
@tanstack/react-query@5.99.2
@tanstack/solid-query-devtools@5.99.2
@tanstack/solid-query-persist-client@5.99.2
@tanstack/solid-query@5.99.2
@tanstack/svelte-query-devtools@6.1.18
@tanstack/svelte-query-persist-client@6.1.18
@tanstack/svelte-query@6.1.18
@tanstack/vue-query-devtools@6.1.18
@tanstack/vue-query@5.99.2
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-19 12:55:14 +02:00
Byungsker
c2d0dfff57
fix(vue-query): allow computed ref as enabled property in queryOptions ( #10465 )
...
Fixes #10458
The enabled property in QueryOptions type was incorrectly restricted to only
accept getter functions (() => Enabled). This prevented using computed refs
and other Vue reactive values.
This change aligns QueryOptions.enabled type with UseQueryOptions.enabled,
allowing:
- boolean values
- Ref<boolean>
- ComputedRef<boolean>
- () => boolean getter functions
- (query) => boolean query predicates
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2026-04-19 12:38:13 +02:00
Wonsuk Choi
08a4d2b283
test(query-core/queryObserver): add test for skipping refetch when 'retryOnMount' is false and query is in error state ( #10518 )
2026-04-19 18:43:26 +09:00
Wonsuk Choi
430e988db9
test(query-core/queryObserver): add test for not tracking error prop when 'throwOnError' is not set ( #10517 )
2026-04-19 16:51:58 +09:00
github-actions[bot]
69d2757c98
ci: Version Packages ( #10514 )
...
release-2026-04-18-1812
@tanstack/angular-query-experimental@5.99.1
@tanstack/eslint-plugin-query@5.99.1
@tanstack/preact-query-devtools@5.99.1
@tanstack/preact-query-persist-client@5.99.1
@tanstack/preact-query@5.99.1
@tanstack/query-async-storage-persister@5.99.1
@tanstack/query-broadcast-client-experimental@5.99.1
@tanstack/query-core@5.99.1
@tanstack/query-devtools@5.99.1
@tanstack/query-persist-client-core@5.99.1
@tanstack/query-sync-storage-persister@5.99.1
@tanstack/react-query-devtools@5.99.1
@tanstack/react-query-next-experimental@5.99.1
@tanstack/react-query-persist-client@5.99.1
@tanstack/react-query@5.99.1
@tanstack/solid-query-devtools@5.99.1
@tanstack/solid-query-persist-client@5.99.1
@tanstack/solid-query@5.99.1
@tanstack/svelte-query-devtools@6.1.17
@tanstack/svelte-query-persist-client@6.1.17
@tanstack/svelte-query@6.1.17
@tanstack/vue-query-devtools@6.1.17
@tanstack/vue-query@5.99.1
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-18 20:07:19 +02:00
jemin
709971dd2c
fix(eslint-plugin-query): fix no-void-query-fn false positive on enums for TS 6 ( #10460 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-04-18 14:23:36 +02:00
Wonsuk Choi
608706ee36
test(query-core/queriesObserver): add test for returning cached combined result when nothing has changed ( #10513 )
2026-04-18 09:18:30 +09:00
Wonsuk Choi
cc97e9a8b7
test(query-core/queriesObserver): add test for skipping 'trackResult' when 'notifyOnChangeProps' is set ( #10512 )
2026-04-18 09:07:19 +09:00
Wonsuk Choi
658d32b982
test(query-core/queriesObserver): add test for 'combineResult' fallback when called without raw argument ( #10511 )
2026-04-18 08:47:09 +09:00
Wonsuk Choi
dbee9ebdc1
test(query-core/queriesObserver): add test for recalculating combined result when 'combine' function changes ( #10508 )
2026-04-17 00:34:51 +09:00
sourena kazemi
63909c76e3
docs(react): small grammar fix in advanced-ssr docs ( #10507 )
2026-04-16 20:53:27 +09:00
Wonsuk Choi
c47c67132d
test(svelte-query/useMutationState): add type tests for default 'MutationState' and 'select' inference ( #10504 )
2026-04-15 17:39:31 +09:00
Wonsuk Choi
da62c8a404
test(svelte-query/createInfiniteQuery): add type tests for page params, 'initialData', 'select', and 'Accessor<QueryClient>' ( #10503 )
2026-04-15 17:03:11 +09:00
Wonsuk Choi
df77d8cd8b
test(svelte-query/createMutation): add type tests for generic type inference and callbacks ( #10502 )
2026-04-15 16:47:54 +09:00
Wonsuk Choi
7ffa1ed0b0
test({react,preact,solid}-query/useQueries): fix test description from 'useQuery' to 'useQueries' ( #10499 )
2026-04-15 02:09:42 +09:00
Wonsuk Choi
75551135de
test(solid-query/useQueries): add type tests for 'initialData', explicit generics, 'throwOnError', 'skipToken', 'combine', and 'Accessor<QueryClient>' ( #10498 )
...
* test(solid-query/useQueries): add type tests for 'initialData', explicit generics, 'throwOnError', 'skipToken', 'combine', and 'Accessor<QueryClient>'
* test(solid-query/useQueries): add type tests for 'initialData', explicit generics, 'throwOnError', 'skipToken', 'combine', and 'Accessor<QueryClient>'
2026-04-15 02:00:35 +09:00
Wonsuk Choi
663931dd58
test(solid-query/useQueries): rename 'createQueries.test-d.tsx' to 'useQueries.test-d.tsx' ( #10497 )
2026-04-15 01:32:30 +09:00
autofix-ci[bot]
396869171f
ci: apply automated fixes
2026-04-14 13:13:23 +00:00
Nirbhay Singh
cea9347717
docs: Update preact-query version in examples ( #10483 )
...
* docs(examples): update preact-query version in simple example
* docs(examples): update preact-query version in simple example
2026-04-14 15:12:08 +02:00
Wonsuk Choi
7a3bf3177a
test(solid-query/useInfiniteQuery): add type tests for page params, 'initialData', 'select', and 'Accessor<QueryClient>' ( #10496 )
2026-04-14 21:20:54 +09:00
Wonsuk Choi
2e144da49f
test(solid-query/useMutation): add type tests for generic type inference and callbacks ( #10495 )
2026-04-14 14:22:32 +09:00
Wonsuk Choi
bc83d370e8
test({react,preact}-query/useMutation): unify destructuring pattern in complex scenario tests ( #10494 )
...
test({react,preact}-query/useMutation): apply destructuring pattern to complex scenario tests
2026-04-14 10:35:08 +09:00
Wonsuk Choi
aad1bd59d8
test({react,preact}-query/useMutation): add parallel 'mutateAsync' tests with 'Promise.all' and 'Promise.allSettled' ( #10493 )
...
* test({react,preact}-query/useMutation): add parallel 'mutateAsync' tests with 'Promise.all' and 'Promise.allSettled'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 10:04:07 +09:00
Wonsuk Choi
d7643b54fd
test({react,preact}-query/useMutation): add optimistic update tests with success and rollback on error ( #10492 )
2026-04-14 04:41:28 +09:00
Wonsuk Choi
cd89d6f706
test({react,preact}-query/useMutation): add conditional handling and retry tests using 'mutate' callbacks ( #10491 )
...
* test({react,preact}-query/useMutation): add conditional handling and retry tests using 'mutate' callbacks
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 04:22:42 +09:00
Wonsuk Choi
6e15fe62d2
test({react,preact}-query/useMutation): add chained 'mutateAsync' tests for sequential mutation calls ( #10490 )
...
* test({react,preact}-query/useMutation): add chained 'mutateAsync' tests for sequential mutation calls
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 04:01:03 +09:00
Wonsuk Choi
792d3a5b32
test({react,preact}-query/useMutation): add callback tests when 'useMutation' has no callbacks ( #10489 )
...
* test({react,preact}-query/useMutation): add callback tests when 'useMutation' has no callbacks
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 03:26:49 +09:00
Wonsuk Choi
1b661b34ec
test({react,preact}-query/useMutation): add single callback tests for 'mutateAsync' ( #10488 )
...
* test({react,preact}-query/useMutation): add single callback tests for 'mutateAsync'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 02:54:52 +09:00
Wonsuk Choi
eccac7cfdf
test({react,preact}-query/useMutation): add single callback tests for 'onSuccess', 'onError', and 'onSettled' ( #10487 )
...
* test({react,preact}-query/useMutation): add single callback tests for 'onSuccess', 'onError', and 'onSettled'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 02:27:49 +09:00
Wonsuk Choi
224c07388b
test({react,preact}-query/useMutation): add 'mutate' callback override tests ( #10486 )
2026-04-14 02:03:27 +09:00
Wonsuk Choi
9bd8b25ef2
test({react,preact}-query/useMutation): add 'throwOnError' false case tests ( #10485 )
2026-04-14 01:45:30 +09:00
Wonsuk Choi
ffa4164af0
test({react,preact}-query): add type tests for 'useMutation' ( #10482 )
...
* test(react-query/useMutation): add type tests for 'useMutation'
* test(preact-query/useMutation): add type tests for 'useMutation'
2026-04-14 01:02:25 +09:00
Wonsuk Choi
479b9a597b
test(svelte-query): remove 'Example' suffix from test component file names and rename 'QueryChild' to 'Child' ( #10480 )
...
test(svelte-query): remove 'Example' suffix from test component file names
2026-04-13 23:43:28 +09:00
Wonsuk Choi
8826b43bf2
test(vue-query/mutationOptions): reorder getter tests to group by feature and unify test descriptions ( #10478 )
...
test(vue-query/mutationOptions): reorder getter tests to group by feature
2026-04-13 13:57:18 +09:00
Wonsuk Choi
aaeefaea78
test(svelte-query/createMutation): rename 'OnSuccessExample' to 'SuccessExample' ( #10477 )
2026-04-13 13:34:55 +09:00
Wonsuk Choi
c9109b6310
test(vue-query/mutationOptions): add reactive 'mutationKey' test for getter overload ( #10474 )
2026-04-13 13:22:24 +09:00
Wonsuk Choi
4c489e4249
test(vue-query/mutationOptions): add shallow ref test for getter overload ( #10473 )
2026-04-13 12:11:33 +09:00
Wonsuk Choi
c8de088b6e
test(vue-query/mutationOptions): add 'useMutationState' tests for getter overloads ( #10472 )
2026-04-13 12:01:54 +09:00
Wonsuk Choi
8fc02cc3f6
test(vue-query/mutationOptions): add 'queryClient.isMutating' tests for getter overloads ( #10471 )
2026-04-13 11:49:32 +09:00
Wonsuk Choi
70a216d8e2
test(vue-query/mutationOptions): add 'useIsMutating' tests for getter overloads ( #10469 )
2026-04-13 10:57:51 +09:00
Wonsuk Choi
7d3b86c162
test(vue-query/mutationOptions): add identity tests for getter overloads ( #10468 )
2026-04-13 10:43:26 +09:00
Wonsuk Choi
6384368099
test(vue-query/mutationOptions): add type tests for getter overloads ( #10466 )
...
* test(vue-query/mutationOptions): add type tests for getter overloads
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 10:22:46 +09:00
Wonsuk Choi
24de260ad2
docs(solid-query): add 'mutationOptions' to config.json navigation ( #10455 )
2026-04-11 20:15:20 +02:00
github-actions[bot]
adc2543ade
ci: Version Packages ( #10454 )
...
release-2026-04-11-1758
@tanstack/angular-query-experimental@5.99.0
@tanstack/eslint-plugin-query@5.99.0
@tanstack/preact-query-devtools@5.99.0
@tanstack/preact-query-persist-client@5.99.0
@tanstack/preact-query@5.99.0
@tanstack/query-async-storage-persister@5.99.0
@tanstack/query-broadcast-client-experimental@5.99.0
@tanstack/query-core@5.99.0
@tanstack/query-devtools@5.99.0
@tanstack/query-persist-client-core@5.99.0
@tanstack/query-sync-storage-persister@5.99.0
@tanstack/react-query-devtools@5.99.0
@tanstack/react-query-next-experimental@5.99.0
@tanstack/react-query-persist-client@5.99.0
@tanstack/react-query@5.99.0
@tanstack/solid-query-devtools@5.99.0
@tanstack/solid-query-persist-client@5.99.0
@tanstack/solid-query@5.99.0
@tanstack/svelte-query-devtools@6.1.16
@tanstack/svelte-query-persist-client@6.1.16
@tanstack/svelte-query@6.1.16
@tanstack/vue-query-devtools@6.1.16
@tanstack/vue-query@5.99.0
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-11 19:54:13 +02:00
Wonsuk Choi
f279ad2488
feat(vue-query): add 'mutationOptions' ( #10381 )
...
* feat(vue-query): add 'mutationOptions'
* ci: apply automated fixes
* chore(.changeset): add changeset for 'mutationOptions' in vue-query
* feat(vue-query/mutationOptions): add getter support and fix test descriptions to match actual behavior
* refactor(vue-query): rename 'VueMutationOptions' to 'MutationOptions'
* docs(vue-query): add 'mutationOptions' reference page
* test(vue-query/mutationOptions): add runtime test for getter without 'mutationKey'
* docs(vue-query): add 'mutationOptions' to config.json navigation
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-11 19:49:32 +02:00
Wonsuk Choi
012d323b9b
test(svelte-query): unify all test descriptions with 'should' ( #10453 )
2026-04-12 01:24:06 +09:00
github-actions[bot]
6040278e75
ci: Version Packages ( #10451 )
...
release-2026-04-11-1610
@tanstack/angular-query-experimental@5.98.0
@tanstack/eslint-plugin-query@5.98.0
@tanstack/preact-query-devtools@5.98.0
@tanstack/preact-query-persist-client@5.98.0
@tanstack/preact-query@5.98.0
@tanstack/query-async-storage-persister@5.98.0
@tanstack/query-broadcast-client-experimental@5.98.0
@tanstack/query-core@5.98.0
@tanstack/query-devtools@5.98.0
@tanstack/query-persist-client-core@5.98.0
@tanstack/query-sync-storage-persister@5.98.0
@tanstack/react-query-devtools@5.98.0
@tanstack/react-query-next-experimental@5.98.0
@tanstack/react-query-persist-client@5.98.0
@tanstack/react-query@5.98.0
@tanstack/solid-query-devtools@5.98.0
@tanstack/solid-query-persist-client@5.98.0
@tanstack/solid-query@5.98.0
@tanstack/svelte-query-devtools@6.1.15
@tanstack/svelte-query-persist-client@6.1.15
@tanstack/svelte-query@6.1.15
@tanstack/vue-query-devtools@6.1.15
@tanstack/vue-query@5.98.0
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-11 18:06:24 +02:00
Damian Osipiuk
29e80d9f79
fix(vue-query): fix type of queryOptions to allow plain properies or getters ( #10452 )
2026-04-11 18:01:35 +02:00
thalassophilia
b97513f288
feat(vue-query): add usePrefetchQuery and usePrefetchInfiniteQuery ( #10372 )
...
* feat(vue-query): add prefetch composables
- Add usePrefetchQuery and usePrefetchInfiniteQuery to vue-query.
- Includes runtime and type tests, plus a changeset
* docs(vue-query): document prefetch composables
* revert unrelated change
* ci: apply automated fixes
---------
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-11 15:27:47 +02:00
semimikoh
0c2bf1ebe0
fix(vue-query-devtools): only register cleanup after mount ( #10439 )
...
* fix(vue-query-devtools): only register cleanup after mount
* chore(changeset): add vue-query-devtools patch release note
2026-04-11 14:52:22 +02:00