Skip to content

Update core extension - #1049

Draft
simolus3 wants to merge 8 commits into
mainfrom
update-core
Draft

Update core extension#1049
simolus3 wants to merge 8 commits into
mainfrom
update-core

Conversation

@simolus3

@simolus3 simolus3 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This updates the core extension to version 0.5.1. It follows the usual checklist of updating wa-sqlite, sql-js, node, react-native and capacitor. For sql-js, this also refactors update notifications to use the core extension instead of JavaScript callbacks.

Breaking changes in the core extension update are:

  1. Time values are now encoded as microsecond timestamps (instead of seconds). Closes @powersync/common: clarify or preserve SyncStreamStatus.subscription.lastSyncedAt precision #945.
  2. The $local bucket has been replaced with the powersync_control('target_checkpoint_request_id') interface.
  3. Initialization and schema-update functions must be called in transactions. We already fixed this in the JS SDK because implicit transactions also broke the OPFS writeahead VFS, there was just one missing case in a test.

This also makes @journeyapps/wa-sqlite a regular instead of a peer-dependency, meaning that users won't have to worry about keeping these packages in sync. We depend on an exact version of wa-sqlite now, allowing us to land subsequent core extension updates without another major bump on that package.

@changeset-bot

changeset-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3c80898

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@powersync/capacitor Patch
@powersync/nuxt Patch
@powersync/web Patch
@powersync/adapter-sql-js Patch
@powersync/node Patch
@powersync/react-native Patch
@powersync/shared-internals Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@powersync/common: clarify or preserve SyncStreamStatus.subscription.lastSyncedAt precision

1 participant