Skip to content

Tags: zhuanghongji/query

Tags

v4.0.0-beta.23

Toggle v4.0.0-beta.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(persist): introduce in-house synchronous Storage interface (TanSt…

…ack#3673)

v4.0.0-beta.22

Toggle v4.0.0-beta.22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: `replaceDeepEqual` special case for non-plain arrays (TanStack#3669

)

* Fix case where replaceDeepEqual was returning incorrect value for non-plain arrays

* fix pr comments

v4.0.0-beta.21

Toggle v4.0.0-beta.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: make InfiniteQueryObserver's type more robust (TanStack#3571)

Co-authored-by: 廖璇 <arthur.liao@huolala.cn>

v4.0.0-beta.20

Toggle v4.0.0-beta.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): remove non-void constraint from queryFn result (TanStack#…

…3666)

* fix(types): remove non-void constraint from queryFn result

* test(types): remove non-void tests, and add tests for handling fetch -> promise<any>

* test(types): remove ts-expect-error from query test file

v4.0.0-beta.19

Toggle v4.0.0-beta.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(persist): remove environment check (TanStack#3658)

because we can now pass in undefined for persisters during SSR, and the persisters themselves are not window related anymore, as we don't use window.localStorage directly

v4.0.0-beta.18

Toggle v4.0.0-beta.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): make sure queryClient.setQueriesData can return undefined…

… from the updater (TanStack#3657)

v4.0.0-beta.17

Toggle v4.0.0-beta.17's commit message
test: try to stabilize tests

v4.0.0-beta.16

Toggle v4.0.0-beta.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(infiniteQuery): do not consume AbortSignal unless user has consum…

…ed it (TanStack#3507)

* fix(infiniteQuery): do not consume AbortSignal unless user has consumed it

calling context.signal?.addEventListener did consume the signal

* fix(infiniteQuery): do not consume AbortSignal unless user has consumed it

fix formatting

* re-write test to reflect the reality

we want to continue fetching pages in the background even if the infinite query unmounts, unless the abort signal has been consumed. That is the documented behaviour, and also what useQuery is doing.

* fix test

v3.39.1

Toggle v3.39.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): change types for useMutation context in onSuccess (TanSta…

…ck#3654)

changes context to optional in onSuccess callback

v4.0.0-beta.15

Toggle v4.0.0-beta.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: make sure isDataEqual option is respected everywhere where we us…

…e structuralSharing (TanStack#3643)