Releases: TanStack/db
@tanstack/offline-transactions@1.0.30
@tanstack/node-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/expo-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/electron-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/electric-db-collection@0.3.3
@tanstack/db@0.6.5
Patch Changes
-
fix: pass child where clauses to loadSubset in includes (#1471)
Pure-child WHERE clauses on includes subqueries (e.g.,
.where(({ item }) => eq(item.status, 'active'))) are now passed through to the child collection'sloadSubset/queryFn, enabling server-side filtering. Previously only the correlation filter reached the sync layer; additional child filters were applied client-side only. -
fix: lazy load includes child collections in on-demand sync mode (#1471)
Includes child collections now use the same lazy loading mechanism as regular joins. When a query uses includes with a correlation WHERE clause (e.g.,
.where(({ item }) => eq(item.rootId, r.id))), only matching child rows are loaded on-demand viarequestSnapshot({ where: inArray(field, keys) })instead of loading all data upfront. This ensures the sync layer'squeryFnreceives the correlation filter inloadSubsetOptions, enabling efficient server-side filtering.
@tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/cloudflare-durable-objects-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/capacitor-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9
@tanstack/browser-db-sqlite-persistence@0.1.9
Patch Changes
- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.9