Skip to content

Tags: jvanaert/react-query

Tags

v3.13.6

Toggle v3.13.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): Add `undefined` return type in onMutate (TanStack#2089)

* onMutate callback add void in return type

* Add core type

* return type void to undefined

* onMutate return type change 'Promise<TContext> | Promise<undefined> | TContext | undefined'

v3.13.5

Toggle v3.13.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): adds queryKey generic to queryClient functions (TanStack#…

…2100)

* fix(types): adds queryKey generic to queryClient functions

* test(clientQuery): adds tests for type-errors when using strict keys

v3.13.4

Toggle v3.13.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(useQuery): type of initialData now corresponds to the type return…

…ed by the query-fn (TanStack#2069)

v3.13.3

Toggle v3.13.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(useQuery): let type of queryKey for the QueryContext be inferred …

…from the key passed to useQuery (TanStack#2047)

* fix(useQuery): let type of queryKey for the QueryContext be inferred from the key passed to useQuery

* fix(useInfiniteQuery): let type of queryKey for the QueryContext be inferred from the key passed to useInfiniteQuery

* fix(useQuery): pass TQueryKey down to queryObserver

for more type safety and to make queryKeyHashFn generic as well

v3.13.2

Toggle v3.13.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): onlineManager: setup function needs to accept the online …

…boolean, and the cleanup function shouldn't (TanStack#2053)

* fix(types): setup function needs to accept the online boolean, and the cleanup function shouldn't

* fix(types): assign listener to a function so that we can properly unsubscribe

v3.13.1

Toggle v3.13.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(devtools): only subscribe to the queryCache while the devtools ar…

…e open (TanStack#2045)

this will stop unnecessary and sometimes costly updates while they are closed

v3.13.0

Toggle v3.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add useIsMutating hook (TanStack#1971)

* feat: add find/findAll functions to mutationCache, add useIsMutating hook

* docs: add useIsMutating reference

* fix import cycle

* use mutationCache in useIsMutating

* add useIsMutating test and document MutationFilters

* fix broken links

v3.12.3

Toggle v3.12.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(queryObserver): re-run selector if it throws error (TanStack#1875)

v3.12.2

Toggle v3.12.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: Do not default to `false` on `refetchInactive` (TanStack#1934)

Co-authored-by: Manuel J. Thomsen <mjt@magnetix.dk>

v3.12.1

Toggle v3.12.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: disable context sharing per default (TanStack#1912)