Repository navigation
Open Sync 0.4.0
·
2 commits
to main
since this release
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/cronin a small entrypoint before dynamically importing normal server startup. Build withsplitting: 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.