Repository navigation
Releases
Releases · play2003/best-mermaid
1.0.4
发布 1.0.4:三处版本号对齐 + 发布版本门禁 1.0.3 的 Release 里 manifest.json 版本写的是 1.0.2——三处版本号未对齐, CI 照常打包发布,用户拿到的 manifest 与实际版本不符。 - manifest.json / package.json / versions.json 统一 bump 到 1.0.4 - 新增 scripts/check-version.mjs:校验三处一致且与 tag 一致 - release.yml 构建前执行该门禁,不一致直接 fail 本次同时包含 Obsidian 1.15 的内置渲染器同步接管修复(sortOrder)。 Co-Authored-By: Claude <noreply@anthropic.com>
1.0.3
CI:npm ci 使用 legacy-peer-deps(layout-elk peer 声明为 mermaid@12)
Best Mermaid 1.0.2
Fixes and polish.
- Settings gallery no longer duplicates cards after repeated updates
- Performance log is now hidden from settings (diagnostic use; enable "perfLog": true in the plugin's data.json)
- Concurrent batch rendering: diagrams sharing the same config initialize once and render in parallel
Best Mermaid 1.0.1
Review fixes for the community directory.
- Replace direct style assignments with setCssStyles; use instanceOf and createEl helpers
- Remove unsafe context-fragment parsing and explicit-any; typed Node require
- Adopt the declarative settings API (Obsidian 1.13+); minAppVersion raised to 1.13.0
- Upgrade transitive katex to 0.19.0 (GHSA-238p-pmpm-9mq7)
- Minified production bundle (12.3 MB → 5.3 MB); console.debug stripped from bundled libs
Best Mermaid 1.0.0
First public release.
- Take over mermaid rendering in reading view with theme-aware styling
- Four built-in style packs (Follow theme, Midnight, Paper, Terracotta) with per-diagram overrides via
%% bm-style: <id> %% - Pan & zoom (Ctrl+scroll anchored at cursor), double-click to reset
- PNG export with dialog: editable file name, 1x–4x quality, native save dialog
- dagre or elk layout engines (Paper uses elk orthogonal routing)
- Readable error boxes instead of blank blocks
- Fully offline: mermaid and elk are bundled
Requires Obsidian 1.4.0+ (desktop only).