Skip to content

@tanstack/vue-query@5.99.2

Choose a tag to compare

@github-actions github-actions released this 19 Apr 10:59
· 11 commits to main since this release
a3ec7b3

Patch Changes

  • fix(vue-query): allow computed ref and other reactive values as enabled property in queryOptions (#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