Skip to main content

sync_pilot 0.1.1 copy "sync_pilot: ^0.1.1" to clipboard
sync_pilot: ^0.1.1 copied to clipboard

Database-agnostic, offline-first sync engine for Dart and Flutter with outbox compaction, 3-way conflict resolution, and delta sync.

0.1.1 #

  • Shortened pubspec.yaml package description to fit within the 60-180 character convention for full pub.dev score.
  • Updated lints dev dependency constraint to support latest 6.x releases.

0.1.0 #

  • Initial release of sync_pilot.
  • Added SyncPilotEngine<T> for database-agnostic, offline-first synchronization.
  • Added OutboxQueue with automatic operation compaction (squashing redundant creates, updates, and deletes while offline).
  • Added optimistic temporary ID mapping (temp_123 -> srv_999) with automatic rewriting of local records, subsequent outbox mutations, and cross-table foreign keys via SyncCoordinator.
  • Added batch push support (enableBatchPush, pushBatchSize, and RemoteSyncAdapter.pushBatch).
  • Added pluggable ConflictResolver<T> with built-in strategies:
    • ServerWins
    • ClientWins
    • LastWriteWins
    • FieldLevelMerge (3-way and changed-field JSON merging)
    • Custom callback resolver
  • Added ready-to-use storage and transport adapters:
    • RestSyncAdapter<T> (REST/Dio/HTTP with partial PATCH, 409 Conflict parsing, and retry classification)
    • SqlSyncStore<T> and SqlOutboxStorage (SQLite/sqflite/sqlite3/Drift)
    • KeyValueSyncStore<T> and JsonStringOutboxStorage (Hive/SharedPreferences)
  • Added SyncPayloadCodec (custom, xorBase64, chained / .then()) for at-rest encryption and compression of local store and outbox payloads.
  • Added paginated delta synchronization (RemoteDeltaPage) with checkpoint persistence.
  • Added RetryPolicy with configurable exponential backoff and jitter.
  • Added reactive streams for data observation (watchAll, watchById), engine status (statusStream), ID mappings (idMappingStream), and per-record sync state (getRecordSyncState).
6
likes
160
points
521
downloads

Documentation

API reference

Publisher

verified publisherrobiulsuny.com

Weekly Downloads

Database-agnostic, offline-first sync engine for Dart and Flutter with outbox compaction, 3-way conflict resolution, and delta sync.

Repository (GitHub)
View/report issues

Topics

#sync #offline-first #local-first #database #cache

License

MIT (license)

More

Packages that depend on sync_pilot