Skip to content
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

powersync-sqlite-core v0.2.1 #148

Merged
merged 27 commits into from
Sep 5, 2024
Merged

powersync-sqlite-core v0.2.1 #148

merged 27 commits into from
Sep 5, 2024

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Aug 20, 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. Customize User-Agent header. Before: Dart/3.4 (dart:io). Now: powersync-dart/1.6.4 (Dart/3.4.2; linux)
  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.
  6. Always cast target_op to ensure it's an integer.
  7. Sync optimizations: Sync Optimizations powersync-sqlite-core#19

@rkistner rkistner changed the title Update powersync-sqlite-core usage powersync-sqlite-core v0.2.0 Aug 22, 2024
@rkistner rkistner marked this pull request as ready for review August 29, 2024 09:12
@rkistner rkistner requested a review from mugikhan August 29, 2024 09:13
@rkistner rkistner changed the title powersync-sqlite-core v0.2.0 powersync-sqlite-core v0.2.1 Sep 2, 2024
Copy link
Contributor

@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.

LGTM

@rkistner rkistner merged commit 521bb7b into main Sep 5, 2024
4 checks passed
@rkistner rkistner deleted the update-core-lib branch September 5, 2024 15:16
@rkistner rkistner mentioned this pull request Sep 6, 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