Skip to content

Open Sync 0.3.0

Choose a tag to compare

@massimoalbarello massimoalbarello released this 23 Sep 17:10
· 13 commits to main since this release
7d71c02

Open Sync 0.3.0 is a breaking beta release focused on a smaller headless engine and explicit source/destination contracts.

  • Register host-owned sources and destinations by name. Configured syncs replace installations; implementation versioning is removed.
  • Sources return atomic steps with complete records, checkpoints and captured asset references. Records use explicit data, Markdown content, preview and source timestamps.
  • Destinations receive an original deliverable containing records, asset descriptors and fresh asset streams. Acceptance is at least once; destinations own durable storage, replay safety and any reference rewriting.
  • Resync restarts from the initial checkpoint and redelivers every returned record, then resumes normal change detection.
  • Keep engine tables private and expose scoped management APIs, including cursor-paginated polling history and pending deliverables.
  • Remove asset receipts, persistent upload mappings, generic rendering, implementation versioning, per-sync quotas and unused hooks. Keep atomic checkpoint/outbox commits, lease fencing, ordered retries and delivery-owned asset cleanup.

Requires Bun 1.4.0 or newer. Start with a fresh engine data directory; 0.2.x database and authoring API compatibility is intentionally not provided. Replace configured syncs when changing a source checkpoint or destination contract incompatibly. The host owns provider authorization policy and durable destination data.

Install: bun add @context-use/open-sync@0.3.0