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/db@0.2.0
Minor Changes
Enhanced Ref System with Nested Optional Properties (#386)
Comprehensive refactor of the ref system to properly support nested structures and optionality, aligning the type system with JavaScript's optional chaining behavior.
✨ New Features
employees.profile?.bio,orders.customer?.address?.street)RefProxy<T> | undefinedwith optionality outside the refisUndefined,isNullfor proper null/undefined checksIMPORTANT: Code that previously ignored optionality now requires proper optional chaining syntax.
Migration
Add
?.when accessing potentially undefined nested propertiesPatch Changes
fix count aggregate function (evaluate only not null field values like SQL count) (#453)
fix a bug where distinct was not applied to queries using a join (#510)
Fix bug where too much data would be loaded when the lazy collection of a join contains an offset and/or limit clause. (#508)
Refactored
selectimproving spread (...obj) support and enabling nested projection. (#389)fix a bug that prevented chaining joins (joining collectionB to collectionA, then collectionC to collectionB) within one query without using a subquery (#511)
Updated dependencies [
08303e6,0f6fb37,0be4e2c]:@tanstack/db-ivm@0.1.3
Patch Changes
fix count aggregate function (evaluate only not null field values like SQL count) (#453)
Hybrid index implementation to track values and their multiplicities (#489)
Replace JSON.stringify based hash function by structural hashing function. (#491)
@tanstack/electric-db-collection@0.1.14
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/query-db-collection@0.2.12
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/react-db@0.1.13
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/solid-db@0.1.13
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/svelte-db@0.1.13
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/trailbase-db-collection@0.1.13
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]:@tanstack/vue-db@0.0.46
Patch Changes
08303e6,bafeaa1,1814f8c,31acdf2,e41ed7e,51954d8]: