Repository navigation
v4.0.2 — Argument checks for vault_edit and vault_update_frontmatter, Windows lock wait
LatestA patch release with two fixes. Read the 4.0.0 notes for what 4.0 brings and how to upgrade from 3.x.
Fixed
vault_editrefuses a missingnew_string, or one that isn't a string, instead of writing the textundefinedinto the note and reporting success. An empty string still deletes the match.vault_update_frontmatterrefuses a missingfields, or one that isn't an object, instead of reporting success without changing anything.- On Windows, a write no longer fails with
EPERMwhen another session releases the note's lock at that moment. Windows refuses to create a file another process has just deleted until the last handle to it closes. The plugin now waits for it as it waits for a held lock, for up to 15 seconds, and reportsEPERMonly if it lasts that long. The same applies to the guard file used to take over a lock left by a crashed process.
Full changelog: CHANGELOG.md · v4.0.1...v4.0.2