lietzsche;noether
Pages

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

  • minAppVersion is stored in the extension manifest and registry metadata; the desktop loader does not block onload() 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 SurfaceStability GuaranteeBreaking Change Policy
Extension Base ClassStableGuaranteed backwards-compatible across minor versions.
app.workspaceStableDeprecated methods provide a 2-minor-version grace period.
app.vaultStableAsynchronous atomic file operations remain stable.
app.events (EventBus)StableEvent payloads are strictly additive.
this.defineTable (SQLite)StableColumns automatically migrate with non-destructive ALTERs.
this.registerTool (MCP)StableCompliant with Model Context Protocol standards.

3. Deprecation Best Practices

When an API is marked for deprecation:

  1. Noether logs a runtime warning in the developer console.
  2. The method remains functional until the next major version bump (1.0.0).
  3. Extensions can feature-detect capabilities:
if (typeof this.app.workspace.openInputDialog === 'function') {
  this.app.workspace.openInputDialog({ title: 'Enter Name' });
} else {
  // Fallback for older versions
}

Search wiki and portfolio

type to search across all entries.