Repository navigation
3.24.4
Obsidian plugin 3.24.4 release notes
Export as OnlyWorlds folder refuses an unsafe id whatever the element's name, and Upload keeps a note's group marks where it keeps the note's mark. Please update if you export worlds to a folder.
What changes:
- An id is checked as a file name by itself. The export now asks whether
<id>.jsonis a name a disk would take, whether or not the element has a name. Before, only the final name (the name's slug and the id's last characters) was checked, so an element named Bob with the idconwas written asbob--con.json, and one whose id held a refused character before its last eight was written too. Such an element is now left out and named in the report, with its id. The folder format's three published case files (the tail, the unsafe ids, the case-folded pairs) are replayed through the export by a test and all pass. - When every element is refused for its id, the message says which came first and that other notes were left out before it (a duplicate id, no id, a note outside a type folder). Before, it said no element could be read.
- Upload world keeps a note's group marks where it keeps the note's mark. The marks that record what the world holds for a note's own properties were cleared on an upload even when the note's own mark was kept, so the next Download copied more notes into Kept edits/ than it needed to. No text is lost either way.
What you will notice: a world with ordinary ids (a UUID, a number, letters and dashes) exports exactly as before. An id with one of < > : " | ? *, a control character, half of a character, or a Windows device name (con, nul, com1) is left out and named, even with a name.
Known limits: Paste world still accepts any id; it is the export that refuses what a file cannot be named after. The check follows the folder format's name rule as it is published; a device name written with a trailing space (con ) passes it.
Tried in a real vault on Windows before release: an export of a world holding the ids above, named and not (every refused element named with its id, the good ones written; 3.24.3 side by side wrote bob--con.json), the earlier export paths and names, four-notes, local-chapter and made-import worlds, and the upload walks on a real account world. Not tried on iOS, Android, macOS or Linux, and not in the folder picker's own destination (the unit tests cover that sink).