Skip to content

3.23.0

Choose a tag to compare

@tmoosting tmoosting released this 27 Nov 21:20
· 81 commits to main since this release
1ccb042

Download world no longer loses text you typed in an open note, and Paste world and hidden notes keep a copy of what they replace.

Text typed in an open note and not yet saved to disk (Obsidian saves about two seconds after the last key) was lost when a Download replaced the note: it was in no copy and not in the note afterwards. Now Download saves an open editor of the note first, so that text is in the copy in Kept edits, in the world's folder.

Also: Paste world copies a note it replaces into Kept edits, finds the note anywhere in the world as Download does, and does not record the pasted text as sent, so the next Download copies it too. A note that turns into a "known of" or hidden stub is copied first. A write replaces only the bytes that were copied: text typed while the copy is written is in the copy or stays in the note. A note Download cannot write is named and left as it was; the other notes still land, and the next Download tries again. Paste world says when a write fails. Notes in Kept edits no longer count as element notes for a first download.

Not covered: Paste world does not save an open editor first, so text typed in the last seconds under a note it replaces is not in the copy. An editor open in two panes, a hover preview or a Canvas card is not saved first.

Walked in a real Obsidian on the released bytes (main.js sha256 97332dadb506ecda): with a note open and typed into, a Download keeps the typed text in a copy on this build and loses it on 3.22.1; the pull, upload, save, own-property, auto-sync and import walks are green (16, 10, 18, 14, 12, 30, 16 and 29 rows). 1109 unit tests. Not walked: iOS, Android, macOS, Linux.