docs: add multilingual README documentation. docs: complete and validate README localizations fix: detect Obsidian interface language correctly fix: clarify cache entry retention labels refactor: replace cache retention with safe compaction feat: add all languages to plugin UI. fix: complete and unify UI localization fix: remove duplicate status bar tooltip docs: add feature GIF to READMEs chore: prepare 1.0.2 release
2.5 KiB
Release policy
This repository keeps readable TypeScript source in Git and generates the installed production bundle locally or in CI.
Source and generated output
- TypeScript source lives in
src-ts. - Root
main.jsis generated, ignored, and must not be tracked. npm run buildcreates a production-minified rootmain.jsfor local Obsidian development.dist-ts/main.jsis also generated and ignored.- The generated banner points reviewers to the readable repository source; minification is used for production size, not obfuscation.
Verification
npm run test:release:
- Runs lint, scanner, smoke, typecheck, manifest, license, and inline WASM checks against readable source and a review bundle.
- Builds the production-minified worker and root bundle.
- Rebuilds production output and requires byte-identical SHA-256 results.
- Runs
verify:root-tsto prove rootmain.jsequals the generated production artifact. - Recreates
build/from the explicit Obsidian install-file allowlist.
The production build has no source map and keeps WASM codecs inline, so users
do not need package dependencies, external binaries, or separate .wasm
files.
Release contract
Future releases use an exact numeric SemVer tag equal to manifest.json, for
example 1.0.0. A v prefix is rejected. Historical remote tags are not
rewritten.
GitHub release assets are exactly:
manifest.jsonmain.jsstyles.css
The release body is generated from the promoted PROD commit body. Promotion
creates .git/PROMOTION_COMMIT_MESSAGE.txt from DEV commit subjects, lets the
body be reviewed before commit, and the GitHub workflow turns that committed
body into release-notes.md.
versions.json remains tracked in the repository for compatibility metadata,
but it is not a GitHub Release asset.
The ignored build/ staging directory is recreated on every release. It must
not contain source workspaces, package metadata, caches, settings, backups,
QA output, or dependencies.
Releases are built, attested, and published by the tag-triggered GitHub Actions workflow. The workflow records GitHub artifact attestations for the staged install files before uploading them. Manual local release uploads are not part of the supported release process because they cannot establish build provenance from the repository workflow.
Version ownership
The current version must agree across manifest.json, versions.json, root
package.json, and the release tag. minAppVersion remains
1.4.0 while current API types are used only as a compile-time review
surface.