Skip to content

v3.6.0

Choose a tag to compare

@AdrianV101 AdrianV101 released this 31 Mar 14:36
· 195 commits to master since this release

Pre-Marketing Audit — 38 findings resolved

Comprehensive 11-agent audit followed by 8 fix batches. 530 → 573 tests, all passing.

Added

  • npx obsidian-pkm doctor diagnostic command — validates Node version, vault path, templates, API keys, and native dependencies
  • Stale VAULT_PATH detection in session-start hook — warns when settings.json differs from running server
  • tools.js — tool definitions extracted from index.js for clarity (index.js: 595 → 176 lines)
  • .nvmrc file (Node 20)
  • Section separators in handlers.js for navigability
  • 43 new tests across all modules

Changed

  • README: defined MCP on first use, documented skills/commands/agents as features, clarified prebuild coverage, added test badge, video fallback, task enum docs
  • CONTRIBUTING: added native prereqs, single-test examples, "add a tool" walkthrough, cli.js/init.js in architecture
  • Replaced @inquirer/prompts umbrella with 3 individual packages (10 unused subpackages removed)
  • search() delegates to searchRaw() (eliminated ~50 lines of duplicated pipeline)
  • blendWithGraph() helper extracted (eliminated duplicated blending logic)
  • Hooks import from main modules instead of reimplementing utilities

Fixed

  • 7 ENOENT handlers that leaked absolute vault paths in error messages
  • Symlink following in getAllMarkdownFiles (vault escape prevention)
  • rewriteWikilinks case-insensitive matching (matches Obsidian behavior)
  • Non-md embeds no longer reported as broken links in vault_link_health
  • WAL checkpoint on shutdown (cleans up sidecar files for Obsidian Sync)
  • OpenAI API error body truncated to 200 chars
  • DANGEROUS_KEYS check in vault_query custom_fields
  • GitHub Actions pinned to SHA hashes
  • Input validation: vault_read lines param, vault_append empty content, vault_edit empty old_string
  • note.md template default tag (was [], now [note])
  • package-lock.json version synced

Security

  • Activity log data retention documented in SECURITY.md
  • Symlink traversal prevention in file enumeration
  • OpenAI error body truncation prevents sensitive data leakage