Skip to content

powersync-sqlite-core v0.2.1 #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Sep 5, 2024
Merged

powersync-sqlite-core v0.2.1 #289

merged 16 commits into from
Sep 5, 2024

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Sep 5, 2024

Update with the changes in powersync-ja/powersync-sqlite-core#21.

When using a self-hosted instance, this requires v0.5.0 or later of the image, to include these changes. The changes are already rolled out on all hosted instances.

Changes

  1. Add (X-)User-Agent header. Examples: powersync-js/1.16.2 powersync-web/1.6.0 Chrome/128 windows / powersync-js/1.16.2 powersync-react-native/1.11.0 react-native/0.78 android/34
  2. Add client_id parameter with an unique uuid per client.
  3. Persist lastSyncedAt.
  4. Emit update notifications on disconnectAndClear().
  5. Validate that the powersync-sqlite-core version number is in a compatible range of ^0.2.0.
  6. Always cast target_op to ensure it's an integer.
  7. Sync optimizations: Sync Optimizations powersync-sqlite-core#19

See similar dart SDK changes here: powersync-ja/powersync.dart#148

Copy link

changeset-bot bot commented Sep 5, 2024

🦋 Changeset detected

Latest commit: 447f979

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

This PR includes changesets to release 4 packages
Name Type
@powersync/common Minor
@powersync/react-native Minor
@powersync/web Minor
@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

stevensJourney
stevensJourney previously approved these changes Sep 5, 2024
Copy link
Collaborator

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm very happy with the changes. These are cool features.

@rkistner rkistner marked this pull request as ready for review September 5, 2024 14:49
@rkistner rkistner merged commit c600362 into main Sep 5, 2024
4 checks passed
@rkistner rkistner deleted the update-sqlite-core branch September 5, 2024 15:16
@rkistner rkistner mentioned this pull request Sep 5, 2024
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.

2 participants