Skip to content

[pull] main from TanStack:main#49

Merged
pull[bot] merged 4 commits intoFairyWorld:mainfrom
TanStack:main
Apr 19, 2026
Merged

[pull] main from TanStack:main#49
pull[bot] merged 4 commits intoFairyWorld:mainfrom
TanStack:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

sukvvon and others added 4 commits April 19, 2026 16:51
…etryOnMount' is false and query is in error state (#10518)
#10465)

Fixes #10458

The enabled property in QueryOptions type was incorrectly restricted to only
accept getter functions (() => Enabled). This prevented using computed refs
and other Vue reactive values.

This change aligns QueryOptions.enabled type with UseQueryOptions.enabled,
allowing:
- boolean values
- Ref<boolean>
- ComputedRef<boolean>
- () => boolean getter functions
- (query) => boolean query predicates

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.