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

5,168 commits

Author SHA1 Message Date
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
Wonsuk Choi
c2ece73848
test(svelte-query/createMutation): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9414)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-12 23:55:08 +09:00
Wonsuk Choi
0cd4e7d2c6
test(svelte-query/createInfiniteQuery): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9413)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-12 23:50:45 +09:00
Wonsuk Choi
c5bd08352a
test(solid-query/useInfiniteQuery): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9411) 2025-07-12 23:48:24 +09:00
Wonsuk Choi
4349e75aed
test(solid-query/useMutation): remove 'vi.waitFor', replace 'findByText' with 'getByText', and add 'advanceTimersByTimeAsync', 'expect' (#9409) 2025-07-11 20:33:51 +02:00
Tanner Linsley
390424bcdd release: v5.83.0 v5.83.0 2025-07-11 17:00:39 +00:00
Dominik Dorfmeister
23c8908086
feat(core): QueryObserver returns isEnabled flag (#9408)
* feat(core): QueryObserver returns isEnabled flag

* test: solid and svelte
2025-07-11 18:57:28 +02:00
Wonsuk Choi
0569891b77
test(solid-query/suspense): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9407) 2025-07-11 13:08:35 +02:00
Wonsuk Choi
d6930fdd74
test(svelte-query/createMutation): switch to fake timers, replace 'waitFor' with 'vi.waitFor', and add 'expect' (#9382)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 09:17:54 +02:00
Wonsuk Choi
ab7fd72802
test(svelte-query/createQueries): switch to fake timers, and replace 'waitFor' with 'vi.waitFor' (#9383) 2025-07-11 09:17:37 +02:00
Wonsuk Choi
2212fff59e
test(svelte-query/createQuery): switch to fake timers, replace 'waitFor' with 'vi.waitFor', and add 'expect' (#9384) 2025-07-11 09:17:23 +02:00
Wonsuk Choi
06cb8ebfe3
test(svelte-query/useIsFetching): switch to fake timers, add 'expect', 'vi.waitFor', and replace 'findByText' with 'getByText' (#9386) 2025-07-11 09:17:15 +02:00
Wonsuk Choi
9ecfbf79d0
test(solid-query/useIsMutating): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9404) 2025-07-11 09:16:56 +02:00
Wonsuk Choi
89f948322a
test(solid-query/useMutationState): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9405) 2025-07-11 09:16:44 +02:00
Wonsuk Choi
daad8e30f9
test(solid-query/useQueries): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9406) 2025-07-11 09:16:10 +02:00
Wonsuk Choi
b32904cd21
test(svelte-query/createInfiniteQuery): switch to fake timers, and replace 'waitFor' with 'vi.waitFor' (#9381)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 14:00:48 +09:00
Wonsuk Choi
e2bcbe8411
test(solid-query/useIsFetching): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9403)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 13:47:39 +09:00
Wonsuk Choi
eb1cab795f
test(solid-query/transition): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync' (#9402)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 13:41:52 +09:00
Wonsuk Choi
93978d326d
test(solid-query/QueryClientProvider): remove 'vi.waitFor', and add 'advanceTimersByTimeAsync', 'expect' (#9401)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 13:35:00 +09:00
Wonsuk Choi
32467aa330
test(svelte-query/useMutationState): switch to fake timers, and replace 'waitFor' with 'vi.waitFor' (#9388)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 13:30:46 +09:00
Wonsuk Choi
c597f76e56
test(svelte-query/useIsMutating): switch to fake timers, add 'expect', 'vi.waitFor', and replace 'findByText' with 'getByText' (#9387)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 11:59:10 +09:00
Wonsuk Choi
bce4d7ea51
test(solid-query/useIsFetching): switch to fake timers, replace 'waitFor' with 'vi.waitFor' and 'findByText' with 'getByText' (#9377)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 11:51:06 +09:00
Wonsuk Choi
c0fd94e50d
test(svelte-query/QueryClientProvider): switch to fake timers, replace 'waitFor' with 'vi.waitFor', and add 'expect' (#9385)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 11:46:25 +09:00
Wonsuk Choi
f7c83c2045
test(solid-query/useQueries): switch to fake timers and replace 'waitFor' with 'vi.waitFor' (#9380)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2025-07-11 11:31:28 +09:00