Skip to content

4.1.6

Choose a tag to compare

@github-actions github-actions released this 11 Jul 02:18
  • Fixes a 500 error when PATCHing a document whose YAML frontmatter contains
    values valid in Obsidian but invalid per strict YAML 1.2 (e.g. an unquoted
    colon in a scalar). The REST PATCH endpoints and MCP vault_patch tool now
    return HTTP 400 with error code 40005 (InvalidFrontmatter) so callers know
    the document's frontmatter needs to be fixed.
  • Bumps markdown-patch from 1.0.0 to 1.1.0, which adds FrontmatterParseError,
    fixes silent ignoring of rejectIfContentPreexists for application/json table
    content, handles empty frontmatter blocks, and fixes a bare Error thrown on
    type mismatch.

This is a re-release of 4.1.5. That release contained a TypeScript compilation
error caused by ErrorCode.InvalidFrontmatter being added to the enum without a
corresponding entry in ERROR_CODE_MESSAGES. The underlying behavior is otherwise
identical. Recurrence is prevented by a new constants.test.ts that asserts every
ErrorCode value has a message entry, and by adding typecheck + test steps to the
release CI workflow.