Repository navigation
0.1.31 (beta)
Pre-releaseTwo security fixes. Please read the warning before upgrading.
Signing out now revokes your sign-in
Sign out (and Disconnect) now tell Copal to revoke the sign-in, instead of only deleting it from this vault's plugin data.
That matters because the plugin data lives inside the vault. If you sync the vault with iCloud, Obsidian Sync or git, your sign-in travels with it, and before this build every one of those copies could keep renewing itself for up to 14 days after you signed out. The settings pane's advice to "sign out on devices you no longer use" now does what it says.
Revocation is best-effort: if Copal cannot be reached you are still signed out here, and the plugin tells you the sign-in was not revoked rather than claiming a clean sign-out. An access token already issued can take up to an hour to lapse.
Local note history is kept per Copal vault
Obsidian loads every vault window from one origin, so two folders linked to different Copal vaults or different accounts were sharing one set of local documents. Notes could cross between accounts, two notes at the same path merged into one, and disconnecting one folder wiped the other's history.
⚠️ This build discards local merge history once, on first load
In a folder that had shared its local documents there is no way to tell which vault each one belonged to, and keeping them would make the mixing permanent. So they are discarded.
- Your Markdown files are untouched. Nothing is uploaded or deleted on the server, and no note text is lost.
- Sync rebuilds from the server plus what is on disk.
- What is lost is merge lineage: an edit made offline on two devices at the same time is resolved more coarsely than it would have been.
You may see (conflicted copy) files, and that is this change doing its job. Without the lineage, the plugin can no longer tell a file that is merely out of date from one it has never seen. So the first time you open a note that was edited somewhere else while this device was closed, you get the up-to-date note plus a (conflicted copy) holding the older local text, rather than a silent merge. One copy per note that had drifted; delete them once you have looked. The alternative was to push this device's older text up on upgrade, which would overwrite newer edits made elsewhere, so keeping both is deliberate.
Also
- A sign-out during a token renewal can no longer undo itself.
- A sync socket can no longer open after the sign-out that stopped it.