github TanStack/db @tanstack/query-db-collection@1.0.26

latest releases: @tanstack/powersync-db-collection@0.1.33, @tanstack/angular-db@0.1.55, @tanstack/rxdb-db-collection@0.1.61...
7 hours ago

Patch Changes

  • Improve queryCollectionOptions type compatibility with TanStack Query option objects. (#1289)

    • Accept queryFn return types of T | Promise<T> instead of requiring Promise<T>.
    • Align enabled, staleTime, refetchInterval, retry, and retryDelay with QueryObserverOptions typing.
    • Support tagged queryKey values (DataTag) from queryOptions(...) spread usage.
    • Preserve runtime safety: query collections still require an executable queryFn, and wrapped responses still require select.
  • Updated dependencies [77b815e, ac4ce67]:

    • @tanstack/db@0.5.29

Don't miss a new db release

NewReleases is sending notifications on new releases.