---
summary: "Markdown-Patch-Version: 1 pinned on every PATCH and document-map fetch, restoring section-targeted writes against Local REST API v5.x (#94); bare heading leaves resolve to a unique full path or reject as ambiguous_section (#75); bunfig.toml gains a 3-day release-age guard and Socket scanner; mcp-ts-core ^0.11.1"
breaking: false
security: true
---

# 3.2.10 — 2026-08-02

## Added

- **`ambiguous_section` error** on `obsidian_patch_note`, `obsidian_append_to_note`, and `obsidian_write_note` — a bare heading leaf matching several headings in a note is rejected with a `Conflict`, `error.data.candidates` listing every matching full path.
- **`sectionTarget` output field** on `obsidian_append_to_note` and `obsidian_write_note`; `obsidian_patch_note`'s `section` output now echoes the resolved locator. All three surface where a bare leaf write actually landed.

## Changed

- **`ObsidianService.patchNote`** resolves a heading target against the note's document map before writing: an exact map entry is used as-is, a leaf matching exactly one heading expands to its full `Parent::Child` path, an unmatched leaf passes through untouched so `createTargetIfMissing` still creates it.
- **README** documents the supported Local REST API plugin range (v4.0.0 through v5.x — v6.0 removes the markdown-patch 1.x format this server pins, tracked in #102) and that periodic-note targets additionally need plugin v5.0.1 or earlier (v5.0.2 removed the `/periodic/` routes).
- **`.mcpbignore`-unreachable bundle strip** (`scripts/clean-mcpb.ts`, `scripts/lint-packaging.ts` check 8) now also removes platform-specific `@duckdb/node-bindings-*` native binaries, not just dependency-shipped agent docs — an unstripped binding locked a bundle to its build platform and could push it past the 25 MB registry cap (#274).
- **`scripts/check-dependency-specifiers.ts`** now scans `overrides` for floating specifiers, alongside the existing four `package.json` dependency sections.
- **`scripts/devcheck.ts`** Outdated check no longer flags a row held at its current version by `bunfig.toml`'s `minimumReleaseAge` guard, or a `peerDependencies` range (a floor, not a version to track).
- **`.gitignore`** anchors `data/` to the repo root (`/data/`) so a nested `data/` directory elsewhere in the tree isn't inadvertently ignored.
- **`package.json`** author field normalized to `Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)`.

### Dependency bumps

- `@cyanheads/mcp-ts-core` ^0.10.10 → ^0.11.1
- `@modelcontextprotocol/sdk` (transitive) ^1.29.0 → ^1.30.0
- `typescript` ^6.0.3 → ^7.0.2
- `@biomejs/biome` ^2.5.1 → ^2.5.6
- `undici` ^8.5.0 → ^8.9.0
- `js-yaml` ^5.2.0 → ^5.2.2
- `tsc-alias` ^1.8.17 → ^1.9.1
- `@types/node` ^26.0.1 → ^26.1.2
- `vitest` ^4.1.9 → ^4.1.10
- `ignore` ^7.0.5 → ^7.0.6
- `@socketsecurity/bun-security-scanner` ^1.1.2 (new dev dependency, backs the Socket scanner below)
- `bun` packageManager 1.3.11 → 1.3.14; `engines.bun` floor relaxed `>=1.3.11` → `>=1.3.0`

## Fixed

- **Section-targeted writes against Local REST API v5.x** ([#94](https://github.com/cyanheads/obsidian-mcp-server/issues/94)) — `ObsidianService` now sends `Markdown-Patch-Version: 1` on every PATCH and on the document-map fetch. Plugin v5.0.0 made format 2.0 the default and rejects header-driven PATCH targeting outright without a pinned version; plugin v4.x only reads headers it knows by name, so the pin is inert there and one unconditional value covers v4.0.0 through v5.x.
- **Bare heading-leaf writes reach the section a matching read would** ([#75](https://github.com/cyanheads/obsidian-mcp-server/issues/75)) — `obsidian_get_note` with `format: "section"` matches a heading leaf at any depth, but PATCH targeting wanted the full `Parent::Child` chain, so a write built from a read's locator could silently create a new top-level heading via `createTargetIfMissing` instead of touching the existing one. Resolution now runs before the write, not as a retry after failure.

## Security

- **`bunfig.toml` supply-chain guard** — `minimumReleaseAge = 259200` (3 days) blocks installing a package version published within the last 3 days, with `@cyanheads/mcp-ts-core` excluded for same-day framework adoption. Versions already in `bun.lock` are unaffected.
- **Socket scanner** — `[install.security] scanner = "@socketsecurity/bun-security-scanner"` scans every package for malware, typosquats, and known CVEs before install.
