Skip to main content

deltasync_sync 1.0.2 copy "deltasync_sync: ^1.0.2" to clipboard
deltasync_sync: ^1.0.2 copied to clipboard

Synchronization orchestration for DeltaSync.

1.0.2 #

  • Restore pending outbox changes in one ordered Delta application, avoiding a full replica fork/adopt for every retained entry in a large backlog.
  • Preserve validation, atomic adoption, change ordering, clocks, local sequence, pending delivery and historical snapshot readers. No API or wire-format changes.
  • Raise internal dependency minimums to ^1.0.2 for the coordinated release.

1.0.1 #

Upgrade review required: this intentionally breaking patch consolidates the source previously labeled 2.0.0. Update all DeltaSync packages together and read the migration guide before upgrading from 1.0.0. Dart ^3.13.0 is required. Package renumbering does not change JSON/schema or remove historical readers.

  • Require Dart ^3.13.0; align formatter with the declared language version.
  • Add commitsFor and isolated processed-address metadata for local/batch/remote commits. Require addresses in non-const SyncCommitEvent; external event implementations must add its getter. Keep existing observation variants and derive commits/errors from the same asynchronous broadcast source.
  • Expose SyncEngine.query after start and LocalBatch.query during the callback; distinguish absent/present/deleted without changing commit, outbox or ACK.
  • Add SyncEngine.batch and scoped LocalBatch for all eight CRDTs. Reject empty, async or failed callbacks; close escaped editors and preserve rollback.
  • Add queued pendingSummary queries with lifecycle and query-error propagation.
  • Require ReplicaStorage in SyncEngine and remove store, set and remove aliases. Keep withStorage and historical restoration; commit and ACK use one storage path.
  • Assemble outbox changes in one pass, preserving ID conflict checks and order while avoiding repeated prefix merges for large offline batches.

Retained capabilities #

These capabilities already existed at the 1.0.0 baseline. They are retained, not new format changes or new runtime validation performed for this renumbering.

  • Integrate durable mutations and reconciliation for all eight CRDTs.
  • Separate commits from network waits; restore state/outbox before accepting edits.
  • Add receiveEnvelope, addressed valueAt queries and broadcast sync observations.
  • Preserve manual retry and fixed-peer ACK semantics without a background scheduler.
0
likes
140
points
913
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Synchronization orchestration for DeltaSync.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

deltasync_core, deltasync_storage, deltasync_transport

More

Packages that depend on deltasync_sync