Skip to content

Open Sync 0.4.0

Choose a tag to compare

@massimoalbarello massimoalbarello released this 02 Oct 17:15
· 2 commits to main since this release
500b8ca

Open Sync now checks for due sync work every half hour through Bun's OS cron integration. The same scheduler works in the standalone app and embedded binaries, and wakes a sleeping nibrun app. Scheduled checks use the existing worker and wait for it to finish; overlapping requests share the active run.

This release also includes Google Calendar sync in the standalone dashboard.

Upgrading embedding applications

  • Use Bun 1.4.0 or newer and await sync.start() before accepting requests.
  • Compiled applications must call runOpenSyncCron() from @context-use/open-sync/cron in a small entrypoint before dynamically importing normal server startup. Build with splitting: true; see the embedding example.
  • Linux hosts need a running cron service; Bun uses launchd on macOS. Polling and retries can wait until the next half-hourly check.

Install the package with bun add @context-use/open-sync@0.4.0, or use the attached Linux x86_64 binary for the standalone app.

Changes: #49, #51, #52.