@tanstack/vue-query@5.99.2
TanStack/query@tanstack/vue-query@5.99.2Apr 19, 2026by github-actions[bot]
AI Summary
The main Vue Query package receives a patch update to restore support for reactive values in the `enabled` option of query options.
Key Highlights
- Restores support for computed refs and reactive values in `enabled`
- Fixes regression from #10452
- Supports boolean, Ref, ComputedRef, getters, and predicates
New Features
- Allow computed ref and other reactive values as enabled property
Full Release Notes
### Patch Changes
- fix(vue-query): allow computed ref and other reactive values as `enabled` property in queryOptions ([#10465](https://github.com/TanStack/query/pull/10465))
This fixes a regression introduced in #10452 where `queryOptions` only accepted getter functions for the `enabled` property, but not `computed` refs or other reactive values.
Now the `enabled` property in `queryOptions` correctly accepts:
- `boolean` values
- `Ref<boolean>`
- `ComputedRef<boolean>`
- `() => boolean` getter functions
- `(query) => boolean` query predicate functions
- Updated dependencies \[]:
- @tanstack/query-core@5.99.2