0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,191 commits

Author SHA1 Message Date
Wonsuk Choi
552fe4bd08
test(solid-query/useIsMutating): simplify 'mutationFn' and add 'expect' for 'isMutating' state transitions (#9486) 2025-07-23 22:57:12 +09:00
Wilson
fba2c868f7
docs: add signal to queryFn for cancelQueries to work properly (#9475)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 04:13:20 +09:00
Wonsuk Choi
6bc45b88ac
test(react-query/useSuspenseQueries): simplify 'queryFn' and add 'expect' for 'loading' text (#9477)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 04:01:18 +09:00
Wonsuk Choi
039d214977
test(solid-query/suspense): simplify 'queryFn' and add 'expect' for 'loading' text (#9479)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:49:52 +09:00
Wonsuk Choi
bf9f9dc7e9
test(solid-query/useInfiniteQuery): add 'sleep', remove 'Number' in 'queryFn', and simplify it (#9484)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:45:07 +09:00
Wonsuk Choi
9041b41565
test(react-query/useIsFetching): simplify 'queryFn' and add 'expect' using 'toBeInTheDocument (#9478)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:41:36 +09:00
Wonsuk Choi
c2e833006b
test(solid-query/useIsFetching): simplify 'queryFn' and add 'expect' for 'isFetching' state transitions (#9480)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:40:30 +09:00
Wonsuk Choi
937683508a
test(react-query/HydrationBoundary): use precise time in 'advanceTimersByTimeAsync', add 'expect' using 'toBeInTheDocument', and simplify 'queryFn' (#9472)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:37:39 +09:00
Wonsuk Choi
cb9ab1eaee
test(react-query/suspense): add 'sleep' in 'queryFn', and add 'expect' for 'loading' text (#9468)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:33:56 +09:00
Wonsuk Choi
72c2a4cdb1
test(react-query/ssr): simplify 'queryFn' and add 'sleep' for accurate testing (#9471)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:29:59 +09:00
Wonsuk Choi
db6281e1cc
test(react-query/useSuspenseQuery): add 'sleep' in 'queryFn', simplify it, and add 'expect' for 'loading' text (#9469)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-23 03:23:37 +09:00
Wonsuk Choi
d7af6544d9
test(react-query/useInfiniteQuery): remove 'Number' in 'queryFn', and simplify it (#9470) 2025-07-23 03:17:56 +09:00
Wonsuk Choi
ac5d8584ca
test(react-query/useSuspenseQueries): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9450)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 13:09:02 +09:00
Wonsuk Choi
ff13c2eacd
test(react-query/usePrefetchInfiniteQuery): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9447)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 13:02:06 +09:00
Wonsuk Choi
efb14d6d21
test(react-query/useInfiniteQuery): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9446)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 12:56:12 +09:00
Wonsuk Choi
05c62a0923
test(react-query/useSuspenseQuery): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9455)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 10:36:05 +09:00
Wonsuk Choi
e349d85aa6
test(react-query/QueryResetErrorBoundary): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9456)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 10:29:24 +09:00
Wonsuk Choi
63bc828ef6
test(react-query/usePrefetchQuery): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9448)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 10:24:45 +09:00
Wonsuk Choi
e2ce12c817
test(react-query/useMutation): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9458)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 10:20:27 +09:00
Wonsuk Choi
ed90d1a9b1
test(react-query/useQueries): replace inline 'Promise' delays with 'sleep', and add 'expect' using 'toBeInTheDocument' (#9466)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-20 10:14:51 +09:00
DavidPfl
76211bbd31
docs(react-query): change comma to sentence period (#9459)
Co-authored-by: David <pflaegingd@gmail.com>
2025-07-19 10:50:12 +02:00
Lachlan Collins
a2ff8333ff
ci: enable prettier experimental CLI (#9465) 2025-07-19 11:56:57 +10:00
renovate[bot]
53a2eaef9d
chore(deps): update marocchino/sticky-pull-request-comment digest to 28d58c4 (#9013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-19 11:35:09 +10:00
Lachlan Collins
9133c101c8
chore: manually update dependencies (#9464)
* chore: update packages

* Fix typescript-eslint type mismatch

* Pin vitest

* Update prettier
2025-07-19 11:23:28 +10:00
차승하
3bcaa417ac
docs: add text regarding local environment recommendations for symlinks (#9451) 2025-07-18 15:04:15 +02:00
Wonsuk Choi
bf77ab7e48
test(angular-query-experimental/providers): replace 'runAllTimersAsync' with 'advanceTimersByTimeAsync' (#9436)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-17 11:21:52 +09:00
Wonsuk Choi
2d71a22c19
test(angular-query-experimental/inject-mutation-state): replace 'runAllTimersAsync', 'advanceTimersByTime' with 'advanceTimersByTimeAsync' (#9438)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-17 11:03:14 +09:00
Wonsuk Choi
7c58392877
test(react-query/fine-grained-persister): use precise time in 'advanceTimersByTimeAsync', and add 'expect' using 'toBeInTheDocument' (#9441)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-17 10:58:21 +09:00
Wonsuk Choi
958b0f0387
test(react-query/QueryClientProvider): add 'expect' using 'toBeInTheDocument' (#9442)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-17 10:53:53 +09:00
Wonsuk Choi
bfcff0b51c
test(react-query/ssr): replace 'advanceTimersByTimeAsync' with 'sleep' in 'queryFn', remove 'await' from 'fetchQuery' and related methods (#9443)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-17 10:49:44 +09:00
Wonsuk Choi
4daf6949ae
test(react-query/suspense): change 'queryFn' to return a 'Promise', replace 'advanceTimersByTime' with 'advanceTimersByTimeAsync', and add 'expect' (#9444) 2025-07-17 10:45:57 +09:00
Wonsuk Choi
4d8bbbfc2c
test(query-core/queryCache): remove redundant 'advanceTimersByTimeAsync' (#9433)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:29:38 +09:00
Wonsuk Choi
b4a847e34c
test(angular-query-experimental/inject-query): use precise time in 'advanceTimersByTimeAsync' (#9435)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:26:11 +09:00
Wonsuk Choi
b67caee13b
test(angular-query-experimental/inject-mutation): use precise time in 'advanceTimersByTimeAsync' (#9434)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:21:36 +09:00
Wonsuk Choi
343501c7bb
test(query-core/queryObserver): use precise time in 'advanceTimersByTimeAsync' (#9432)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:15:59 +09:00
Wonsuk Choi
c65869e9f1
test(query-core/queriesObserver): use precise time in 'advanceTimersByTimeAsync' (#9429)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:11:02 +09:00
Wonsuk Choi
9dcd5885bf
test(angular-query-experimental/inject-is-mutating): separate 'injectionContext' from testing, and add more 'expect' (#9425)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-15 21:07:48 +09:00
jt_fox
35d5d55aa7
docs(solid): fix incorrect link to state managers guide (#9430)
Fix broken navigation where clicking "Does this replace state managers?"
in Solid docs incorrectly redirected to Angular guide instead of the proper Solid guide page.
2025-07-14 10:25:12 +02:00
Wonsuk Choi
d7f16213b7
test(svelte-query/useIsMutating): replace incorrect usage of 'fetching' with 'mutating' (#9424)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-14 07:05:38 +09:00
Wonsuk Choi
d5a4d359df
test(query-core/infiniteQueryBehavior): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' in infinite loop on retry test (#9426)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-14 06:53:43 +09:00
Wonsuk Choi
357bafb306
test(query-core/mutations): replace 'runAllTimersAsync' with 'advanceTimersByTimeAsync', and use precise time in 'advanceTimersByTimeAsync' (#9427) 2025-07-14 06:47:29 +09:00
Wonsuk Choi
f8a20ac143
test(svelte-query/createQuery): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9416)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 17:31:02 +09:00
Wonsuk Choi
431784dff9
test(svelte-query/useMutationState): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9420)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 17:26:54 +09:00
Wonsuk Choi
5a783b1b39
test(angular-query-experimental/inject-infinite-query): use precise time in 'advanceTimersByTimeAsync' (#9422)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 17:19:18 +09:00
Wonsuk Choi
8e77701e04
test(vue-query/useQuery): switch to fake timers, and replace 'sleep' with 'advanceTimersByTimeAsync' (#9421)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 17:14:03 +09:00
Wonsuk Choi
91bbf4888f
test(angular-query-experimental/inject-is-fetching): replace 'advanceTimersByTime' with 'advanceTimersByTimeAsync', and add 'expect' 'isFetching' to equal 0 (#9423)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 17:10:50 +09:00
Wonsuk Choi
77a358ae0b
test(svelte-query/useIsMutating): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9419)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 14:29:19 +09:00
Wonsuk Choi
5062c59a29
test(svelte-query/useIsFetching): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9418)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 14:04:36 +09:00
Wonsuk Choi
f285dee368
test(svelte-query/QueryClientProvider): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9417)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-13 13:59:15 +09:00
Wonsuk Choi
a5c71cc9e9
test(svelte-query/createQueries): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9415)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-12 23:57:43 +09:00