Skip to content

0.1.41

Choose a tag to compare

@Manoo07 Manoo07 released this 14 Oct 16:21
· 6 commits to main since this release

Sign out and switch accounts

There was no way to use a different account on a device short of deleting the plugin's data file by hand. Settings now has Use a different account → Sign out.

It clears the device's key pair along with the token. That key is this device's identity to the server, so keeping it while signed into another account would leave two accounts believing they own the same device.

Your notes are never touched. Nothing is removed server-side either, so the old account still lists this device until you revoke it from somewhere else — the same contract Disconnect already had. If you have edits that haven't uploaded yet, the confirmation tells you how many, since those are the one thing that can't be recovered.

Disconnect no longer leaves the old vault's state behind

A real bug, found while adding the above. Disconnect cleared which vault you were on, but kept the sync cursor and file records — and those belong to the vault you just left.

The cursor is a position in that vault's history. Carried into a different vault, the device asks for changes after a sequence the new vault has never reached, finds nothing, and reports itself fully synced over an empty folder.

This is the same symptom as the vault mix-up fixed in 0.1.40, reached by a different route. Both paths now clear that state properly.