Skip to content

v0.21.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 22:43

Breaking change for Oversqlite deployments

Upgrading from SQLiteNow 0.17.0 requires a coordinated cutover to Go-Oversync v0.5.0. Old and new protocol clients cannot sync against the same deployment during this cutover.

  1. While the old deployment is available, sync pending edits from every client, including devices that have been offline. Preserve any edits or other local data you need to recover separately.
  2. Stop sync traffic from old clients. Reset the PostgreSQL sync schema and deploy the compatible server.
  3. Recreate each participating client's Oversqlite database before enabling sync with the new client. Recreation discards the old outbox, checkpoints, retry state, and any remaining offline work.

The reset applies only to databases using Oversqlite. Applications using SQLiteNow Core alone can follow their ordinary migration process. Go-Oversync v0.5.0 release notes

Synchronized schema upgrades

Once on the new format, apps can declare an explicit OversqliteUpgradePlan for supported changes, including adding a synchronized table or a nullable relationship. Select the service, database and generation when opening a sync client. The client checks the discovered schema before making the database available. This release also bounds push and snapshot processing and improves recovery of pending changes after an interruption. Supported schema changes and opening a sync database

Resolving an edit after a remote deletion

If another client deletes a row you edited offline, KeepLocal and KeepMerged return an invalid-resolution error. The local edit remains available. With the default deferred resolver, the app can read the pending conflict again and choose AcceptServer to apply the deletion.

Swift and Dart

Swift apps that used the overlay generator or its app-specific Kotlin bridge must regenerate their database through the Swift product source or SwiftPM package workflow. Swift generator migration guide

Dart and Flutter support has been retired. This release ships Kotlin Multiplatform and Swift products.