Release & Review
Release flow
pnpm typecheck && pnpm testgreen + manual acceptance;- Bump the version (Versioning),
pnpm buildto refresh the root plugin package; - Commit, push, then tag (tag name = manifest version, no
vprefix, e.g.0.28.21); - Pushing the tag triggers the automated release workflow: CI build → Artifact Attestations (build provenance) → creates the release with
main.js/manifest.json/styles.cssassets; - The Obsidian official review passes automatically → published.
Store review checklist (before every revision)
- manifest
description≤ 250 chars and must not contain "Obsidian"; - release must attach all three assets (committing to the repo is not enough);
- minAppVersion compatibility: avoid APIs newer than minAppVersion (
workspace.revealLeafneeds 1.7.2 → usesetActiveLeaf;setDestructiveneeds 1.13 → usesetWarning;FileManager.trashFileneeds 1.6.6 — careful); - Settings headings via
Setting.setHeading(), never rawh4; - Rendering via the official
MarkdownRenderer(no innerHTML); - Style changes via CSS classes (textarea auto-grow uses
field-sizing: content); - Repository has a LICENSE (MIT);
versions.jsonincludes the current version.
Local pre-check
Run eslint-plugin-obsidianmd (recommended) + typescript-eslint — all Errors must be zero.