Skip to content

Tags: newdaveespionage/react-query

Tags

v3.13.12

Toggle v3.13.12'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 mutationFn to UseMutationOptions (TanStack#2182)

v3.13.11

Toggle v3.13.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): use MutationKey in UseMutationOptions (TanStack#2164)

v3.13.10

Toggle v3.13.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: Add TQueryKey to QueryFunction generic type in QueryOptions, rem…

…ove ensureArray from Query (TanStack#2074)

* Add TQueryKey to QueryFunction generic type in QueryOptions

* Fix typing in souurce

* Fix inner typings, add test

* Avoid "as unknown" hack

* Remove ensureArray

v3.13.9

Toggle v3.13.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: useInfiniteQuery suspense bug (TanStack#2119)

* fix useInfiniteQuery suspense bug

* real fix

* move fix to infiniteQueryObserver

v3.13.8

Toggle v3.13.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(hydration): import useQueryClient directly from react-query (TanS…

…tack#2121)

v3.13.7

Toggle v3.13.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(devtools): import useQueryClient directly from react-query (TanSt…

…ack#2113)

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