updated 2026-11-26·2 min read
TypeScript API: Versioning & Compatibility
Semantic and four-part versioning, minAppVersion compatibility gating, API stability guarantees across core surfaces, and feature-detection deprecation guidance.
Noether uses Semantic Versioning (MAJOR.MINOR.PATCH / x.y.z) and extended four-part versioning (MAJOR.MINOR.PATCH.BUILD / x.y.z.w / x.y.zw) to guarantee API compatibility and prevent breaking changes from affecting installed community extensions and themes.
1. The minAppVersion Field
Extensions specify their minimum required host application version in manifest.json:
{
"minAppVersion": "0.2.0"
}
Metadata & Registry Defaults
minAppVersionis stored in the extension manifest and registry metadata; the desktop loader does not blockonload()or show an incompatibility badge when a mismatch occurs.- When publishing an extension without
minAppVersion, the publish endpoint falls back to"0.4.0"(while the manifest schema helper defaults to"0.1.0").
2. API Version Stability Table
| API Surface | Stability Guarantee | Breaking Change Policy |
|---|---|---|
Extension Base Class | Stable | Guaranteed backwards-compatible across minor versions. |
app.workspace | Stable | Deprecated methods provide a 2-minor-version grace period. |
app.vault | Stable | Asynchronous atomic file operations remain stable. |
app.events (EventBus) | Stable | Event payloads are strictly additive. |
this.defineTable (SQLite) | Stable | Columns automatically migrate with non-destructive ALTERs. |
this.registerTool (MCP) | Stable | Compliant with Model Context Protocol standards. |
3. Deprecation Best Practices
When an API is marked for deprecation:
- Noether logs a runtime warning in the developer console.
- The method remains functional until the next major version bump (
1.0.0). - Extensions can feature-detect capabilities:
if (typeof this.app.workspace.openInputDialog === 'function') {
this.app.workspace.openInputDialog({ title: 'Enter Name' });
} else {
// Fallback for older versions
}