Skip to content

0.15.1

Choose a tag to compare

@waynehoover waynehoover released this 22 Oct 22:29
· 66 commits to main since this release

Fixes to settings sync found by a durability audit of Apply, and an honest first-sync count. Upgrade the server to 0.14.1 first if you sync plugin settings: it is what lets a plugin settings conflict's copy sync. Otherwise this plugin works with trewd 0.14.0 as 0.15.0 did.

Fixed

  • "Use the server's" holds even when the first sync is interrupted. Turning on settings sync and choosing the server's settings could end with this device's settings sent to every other device instead, if the first sync stopped part way, for example because you typed in the open note while it ran. The choice now stays until every setting has been decided.
  • A setting removed by Apply stays removed. If Obsidian or a plugin wrote the old setting back before the reload, that old copy was sent to every device, undoing the removal. It is now held and offered for Apply again.
  • A plugin settings conflict keeps both versions where you can see them. The other device's version goes in a copy beside the plugin's settings that syncs (with server 0.14.1), appears in Review conflicts, and is named in the Apply dialog.
  • Apply can't be cut short. Unlinking the vault while Apply runs is refused, and the Apply dialog stays open until Obsidian reloads.
  • The first-sync count is right. It no longer counts deleted files, settings waiting for Apply or files waiting to retry as downloads, and no longer counts one file twice. "Downloading 0 of N" on an ordinary sync is gone.
  • The Apply dialog counts a plugin once, whether or not a conflict copy of its settings is waiting too.
  • Apply writes only what its dialog listed, even when the list was empty.

Install

Update through BRAT, or download main.js, manifest.json and styles.css into .obsidian/plugins/trew-sync/ in the vault. Check them against SHA256SUMS, or with gh attestation verify FILE --repo waynehoover/trewsync.