Skip to content

Tags: alecf/react-query

Tags

v3.33.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(devtools): improve devtools a11y (TanStack#2947)

* fix(devtools): improve devtools container a11y

default element changes to aside from footer because aside
represents a portion of a document whose content is only indirectly
related to the document's main content.
aria-label is also added to replace the text "generic" in a11y tree.

* fix(devtools): add aria to devtools toggle button

aria-expanded indicates open/closed of the menu
aria-haspopup indicates this is a menu button
aria-controls to link to the menu, also added aria-label on the menu to
label it.

Read more: https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-links.html

* fix(devtools): menuitem are visible in a11y tree in closed devtools

This is because the element is just hidden visually, but is still inside
the DOM. The added conditional display only affects the inner container,
which means the animation of opening/closing is reserved.

v3.33.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(useMutation): meta for mutations (TanStack#2906)

v3.32.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(useQuery): don't throw error if errorBoundary has just been reset (

…TanStack#2935)

the fix for disabled queries was wrong, because disabled queries still need to throw if they are fetching due to some other means, like `refetch`. However, if a query has just been reset, we want to skip throwing for one render cycle. The useEffect that clears the reset will then make sure that further errors will be thrown

v3.32.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(useQuery): make sure that disabled queries in error state don't t…

…hrow (TanStack#2933)

v3.32.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): Export the `Mutation` type and change default `TVariables…

…` from `void` to `unknown` (TanStack#2892)

v3.32.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(persistQueryClient): try to clean the old persistented data when…

… storage full (TanStack#2851)

v3.31.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(persistQueryClient): add optional functions to serialize and des…

…erialize from Storage Persistors (TanStack#2864)

v3.30.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(useQuery): Provide AbortSignal to queryFn (TanStack#2782)

v3.29.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): expose `CancelOptions` & `SetDataOptions` (TanStack#2855)

v3.29.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(useQuery): add meta field (TanStack#2818)