Wonsuk Choi
646f04ef08
test(angular-query-persist-client/withPersistQueryClient): move 'effect' into 'constructor' to follow Angular convention ( #10538 )
2026-04-21 02:53:09 +09:00
Wonsuk Choi
e3ecdc525f
test(angular-query-experimental/injectQueries): move 'effect' into 'constructor' to follow Angular convention ( #10537 )
2026-04-21 02:40:18 +09:00
Wonsuk Choi
4ae65fa20d
test(angular-query-experimental/injectQueries): add test for 'combine' option ( #10536 )
2026-04-21 02:02:05 +09:00
Wonsuk Choi
cd6a274356
test(vue-query/vueQueryPlugin): rename 'testIf' helper to 'itIf' for consistency with 'it' convention ( #10533 )
...
* test(vue-query/vueQueryPlugin): rename 'testIf' helper to 'itIf' for consistency with 'it' convention
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 00:58:55 +09:00
Wonsuk Choi
fc0462bff7
chore(svelte-query*/package.json): include 'tests' directory in 'test:eslint' scope ( #10532 )
2026-04-20 23:55:12 +09:00
Wonsuk Choi
0655128b92
test(svelte-query-persist-client): remove unused 'svelte-ignore' directives from test components ( #10531 )
2026-04-20 23:36:50 +09:00
Wonsuk Choi
6b6667e5fb
test(*): migrate 'test' to 'it' and enforce 'vitest/consistent-test-it' rule ( #10528 )
...
* test(*): migrate 'test' to 'it' and enforce 'vitest/consistent-test-it' rule
* ci: apply automated fixes
* chore(preact-query): revert unintended removal of 'eslint-disable' comments from 'src' files
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-20 23:09:37 +09:00
Wonsuk Choi
799952fa94
test(angular-query-experimental/injectQueries): add test for not fetching when 'isRestoring' is true ( #10526 )
...
* test(angular-query-experimental/injectQueries): add test for not fetching when 'isRestoring' is true
* test(angular-query-experimental/inject-queries): wrap 'isRestoring' test in 'describe' block for consistency with 'inject-query.test.ts'
2026-04-20 20:48:37 +09:00
Wonsuk Choi
599e51d922
test(vue-query): replace hardcoded query keys with 'queryKey()' utility ( #10524 )
2026-04-20 14:08:40 +09:00
Wonsuk Choi
5b5d1db9c3
ci(nx.json): add '^compile' dependsOn to 'test:types' target ( #10519 )
2026-04-20 00:13:03 +09:00
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