Skip to content

0.10.2 - Fix frontmatter duplication and external-edit copy loop

Choose a tag to compare

@caaatto caaatto released this 17 May 11:13
· 6 commits to main since this release

Two fixes.

  • Frontmatter block duplicating itself: seeding used a fixed Yjs
    clientID, which corrupted the document when two clients seeded
    slightly different text. The seed id is now derived from the content,
    so identical content merges idempotently and different content merges
    cleanly instead of colliding.

  • Endless re-copying of externally edited notes: the plugin wrote open
    notes back to disk, which made Obsidian report "modified externally,
    merging automatically" and fed an endless merge loop. Open notes are
    now left to Obsidian's own editor persistence.

NOTE: notes already corrupted by the old fixed-clientID seeding do not
self-heal - their broken state is baked into the server document. Once
everyone is on 0.10.2, recreate each affected note (copy the body,
delete the note, create a new one, paste) so it gets a fresh clean room.