---
summary: "ReDoS guards reject catastrophic-backtracking regex on obsidian_list_notes and obsidian_replace_in_note (#88); obsidian_manage_frontmatter / obsidian_manage_tags edits preserve comments, quoting, and plain dates (#89); tool description polish (#86); mcp-ts-core ^0.10.10"
breaking: false
security: true
---

# 3.2.9 — 2026-06-30

## Changed

- **Tool descriptions tightened** ([#86](https://github.com/cyanheads/obsidian-mcp-server/issues/86)) — `obsidian_patch_note` `applyIfContentPreexists` ("idempotent against retries", "Replace operations are never rejected") and `obsidian_search_notes` `query` / `logic` / `pathPrefix` wording (`pathPrefix` now states it filters after matching and does not narrow the search).
- **`obsidian_get_note` `format()`** ([#86](https://github.com/cyanheads/obsidian-mcp-server/issues/86)) — the section line drops the `(valueText/valueJson)` suffix and labels the rendered body with `**Value:**`.

### Dependency bumps

- `@cyanheads/mcp-ts-core` ^0.10.9 → ^0.10.10
- `js-yaml` ^4.2.0 → ^5.2.0
- `@types/js-yaml` ^4.0.9 → removed (v5 ships its own types)
- `yaml` → ^2.9.0 (new — backs the #89 fix)
- `@biomejs/biome` ^2.5.0 → ^2.5.1
- `@types/node` ^26.0.0 → ^26.0.1

## Fixed

- **Surgical frontmatter edits preserve formatting** ([#89](https://github.com/cyanheads/obsidian-mcp-server/issues/89)) — `obsidian_manage_frontmatter` key deletes and `obsidian_manage_tags` reconciles now parse the block with the `yaml` package's CST-backed `parseDocument` and edit nodes in place, instead of round-tripping through `js-yaml` `load`/`dump`. Comments, quoting, and scalar formatting on untouched keys survive verbatim — a plain `date: 2026-06-29` is no longer rewritten to an ISO timestamp.

## Security

- **ReDoS guard on user-supplied regex** ([#88](https://github.com/cyanheads/obsidian-mcp-server/issues/88)) — `obsidian_list_notes` (`nameRegex`, ≤256 chars) and `obsidian_replace_in_note` (`useRegex` search, ≤1024 chars) statically reject patterns that exceed the length cap or contain nested quantifiers (e.g. `(a+)+`) before compiling, throwing a `regex_unsafe` `ValidationError`. The shared `nameRegexSafetyIssue` helper gained a `maxLength` parameter so `obsidian_replace_in_note` rejects before the pattern runs over the note body.
- **`bun.lock` refreshed** — `bun audit` reports clean.
