Merged
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.24
Patch Changes
75470a8]:@tanstack/db@0.4.19
Patch Changes
Significantly improve localStorage collection performance during rapid mutations (#760)
Optimizes localStorage collections to eliminate redundant storage reads, providing dramatic performance improvements for use cases with rapid mutations (e.g., text input with live query rendering).
Performance Improvements:
lastKnownData) instead of reading from storage on every mutationWhat Changed:
acceptMutations) optimized to use in-memory cacheBefore: Each mutation performed 3 I/O operations:
loadFromStorage()- read + JSON parsesaveToStorage()- JSON stringify + writeprocessStorageChanges()- another read + parse + diffAfter: Each mutation performs 1 I/O operation:
saveToStorage()- JSON stringify + writeSafety:
lastKnownDatacache kept in sync with storage through initial load, mutations, and cross-tab eventsThis optimization is particularly impactful for applications with:
@tanstack/electric-db-collection@0.1.43
Patch Changes
75470a8]:@tanstack/offline-transactions@0.1.2
Patch Changes
75470a8]:@tanstack/powersync-db-collection@0.1.2
Patch Changes
75470a8]:@tanstack/query-db-collection@0.2.42
Patch Changes
75470a8]:@tanstack/react-db@0.1.42
Patch Changes
75470a8]:@tanstack/rxdb-db-collection@0.1.30
Patch Changes
75470a8]:@tanstack/solid-db@0.1.41
Patch Changes
75470a8]:@tanstack/svelte-db@0.1.41
Patch Changes
75470a8]:@tanstack/trailbase-db-collection@0.1.41
Patch Changes
75470a8]:@tanstack/vue-db@0.0.74
Patch Changes
75470a8]:@tanstack/db-example-paced-mutations-demo@0.0.6
Patch Changes
75470a8]:@tanstack/db-example-react-todo@0.1.22
Patch Changes