1.8.1
Review cleanup. Addresses the recommendations and warnings from the Obsidian Community automated review (which had passed with no errors). No user-facing behavior changes — pop-out windows aside.
Fixed
- Pop-out window correctness (audit §2.11). All DOM creation now uses Obsidian's
activeDocument(or, in the purecore/render, aDocumentinjected by the adapter) instead of the globaldocument, and element type checks use Obsidian's cross-window-safeNode.instanceOf. Rendering a JSON view in a detached window now works correctly. (Resolves ~70prefer-active-doc+ 3instanceofreview warnings.)
Changed
- Replaced the
builtin-modulesbuild dependency with Node's built-inmodule.builtinModules(one fewer dependency). - Removed
!importantfrom the stylesheet (uses selector specificity instead); made SettingsonChangehandlers non-async (no-misused-promises); dropped redundant type assertions.
Added
- Build-provenance attestations for the release assets (
actions/attest-build-provenance), so users can cryptographically verify the assets were built from this repo.
Documentation
SECURITY.mddiscloses Ajv'snew Functionschema-compilation (opt-in only; no plugin code useseval/new Function) and the clipboard copy behavior.