This release removes major performance bottlenecks during incremental sync. Previously, incremental sync would have overhead proportional to the number of synced rows, which typically caused noticeable latency when syncing around 10-100k+ rows. Now, the overhead is only proportional to the number of buckets synced.
The performance improvements required a restructure in the data storage format. Data is migrated automatically, and an app can downgrade back to v0.2.0 or v0.2.1 of powersync-sqlite-core.
Changes:
Persist checksums to improve incremental sync performance.
Restructure persistence of REMOVE operations to further improve incremental sync performance.
Create internal views on powersync_init() instead of extension init, to support SQLCipher.
Release notes: https://github.com/powersync-ja/powersync-sqlite-core/releases/tag/v0.3.0