Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@tanstack/angular-db@0.1.65
Patch Changes
232f228,232f228]:@tanstack/browser-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/capacitor-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/cloudflare-durable-objects-db-sqlite-persistence@0.1.9
Patch Changes
@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
Patch Changes
232f228,232f228]:@tanstack/electric-db-collection@0.3.3
Patch Changes
232f228,232f228]:@tanstack/electron-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/expo-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/node-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/offline-transactions@1.0.30
Patch Changes
232f228,232f228]:@tanstack/powersync-db-collection@0.1.43
Patch Changes
232f228,232f228]:@tanstack/query-db-collection@1.0.36
Patch Changes
232f228,232f228]:@tanstack/react-db@0.1.83
Patch Changes
232f228,232f228]:@tanstack/react-native-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/rxdb-db-collection@0.1.71
Patch Changes
232f228,232f228]:@tanstack/solid-db@0.2.19
Patch Changes
232f228,232f228]:@tanstack/svelte-db@0.1.82
Patch Changes
232f228,232f228]:@tanstack/tauri-db-sqlite-persistence@0.1.9
Patch Changes
@tanstack/trailbase-db-collection@0.1.83
Patch Changes
232f228,232f228]:@tanstack/vue-db@0.0.116
Patch Changes
232f228,232f228]:@tanstack/capacitor-db-sqlite-persistence-e2e-app@0.0.9
Patch Changes
232f228,232f228]:@tanstack/expo-db-sqlite-persistence-e2e-app@0.0.9
Patch Changes
232f228,232f228]:@tanstack/tauri-db-sqlite-persistence-e2e-app@0.0.9
Patch Changes
232f228,232f228]: