powersync-ja / powersync-service

Other
123 stars 9 forks source link

[Modules] Move Write Checkpoint APIs #110

Closed stevensJourney closed 2 weeks ago

stevensJourney commented 2 weeks ago

Overview

This builds on-top of https://github.com/powersync-ja/powersync-service/pull/105.

The Write Checkpoint mode can be dictated by the sync rules in some circumstances.

This moves most of the Write Checkpoint APIs to the SyncBucketStorage interface. See here for reference.

Moving the Write Checkpoint APIs to the SyncBucketStorage allow the sync rules to be parsed and the write checkpoint mode to be correctly configured before Write Checkpoints are created (or attempted to be created).

This also adds plan parameters to the PowerSync config file.

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 28fb524472727661d15b298f777d733d410e1ec5

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

This PR includes changesets to release 5 packages | Name | Type | | ---------------------------------- | ----- | | @powersync/service-core | Minor | | @powersync/service-module-mongodb | Patch | | @powersync/service-module-postgres | Patch | | @powersync/service-image | Patch | | test-client | 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