Repository navigation
chore: version packages - #256
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
November 19, 2026 20:33
3cbcb3c to
29c5bc9
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 19, 2026 21:05
29c5bc9 to
c7b8e88
Compare
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 publish to npm yourself or setup this action to publish 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
zero-rust@0.5.0
Minor Changes
Zero::prepare(schema, context, mutators, options)opens the client's SQLite store and reads its replica on a thread of its own, andZero::from_prepared(prepared, scheduler, socket_factory)makes the client from it on the app's thread. Callprepareas early as the app knows its options, andfrom_preparedwhere the first frame needs the client: it waits for whatever is left, and the client and its views have their rows at once, as withZero::new. At launch, Zero then takes 5.6 ms of the app's thread on a Mac for a replica of 8,000 rows instead of 17.8 ms, and 2.8 ms instead of 7.1 ms for 2,000. Loading the replica into the query sources and hydrating the first views stay on the app's thread.Zero::newandmaterializedon't change.Patch Changes
Zero::newtakes less time on a replica of thousands of rows: on a Mac, 19.0 ms instead of 23.0 ms for 8,000 rows, and 7.0 ms instead of 7.6 ms for 2,000. The replica goes into the query sources without a diff against an empty one, the first report of its queries and mutation results reads only those keys, and a diff of two whole copies of the replica walks them once instead of sorting their keys.zero-swift@0.10.0
Minor Changes
Zero.prepare(schema:context:mutators:options:queries:)opens the client's store, reads its replica, and hydrates the queries the app's first frame shows, off the main actor, andZero(prepared)takes the result over on the main actor. Callprepareas early as the app knows its options, such as inApp.init, and make the client where the first frame needs it: it waits for whatever is left, and the views of the prepared queries have their rows at once, as withZero.init. At launch, Zero then takes about 2 ms of the main thread on a Mac however large the replica is, instead of 10 ms for a replica of 2,000 rows and 25 ms for 8,000.Zero.initandmaterializedon't change.Patch Changes