Skip to content

0.0.8

Choose a tag to compare

@github-actions github-actions released this 18 Jun 08:00

DocFerry 0.0.8

This release addresses the remaining Obsidian Community automated review feedback.

Compatibility:

  • Minimum Obsidian version is now 1.13.0 (was 1.4.0). This matches the Plugin.settings API and the deprecated SettingTab APIs used by the settings UI.

Code-quality fixes:

  • Replaces window.confirm with an Obsidian Modal-based confirmation dialog.
  • Uses activeDocument instead of document for hidden preview rendering and theme CSS capture, improving popout-window compatibility.
  • Tightens TypeScript catch-variable typing with useUnknownInCatchVariables and removes unused _error bindings.
  • Adds as unknown casts around JSON.parse to satisfy strict ESLint rules.
  • Removes redundant type assertions (as string, as HTMLElement).
  • Avoids passing the plugin instance as a Component to MarkdownRenderer.render; rendering now uses a dedicated, short-lived Component.
  • Binds translator callbacks before passing them into ConfirmModal, avoiding unbound-method warnings.
  • Removes unnecessary async from event handlers and keeps Setting callbacks in block bodies.

Behavior notes:

  • Vault access is limited to the active note and the files directly referenced by it; the plugin does not enumerate the whole vault.
  • Clipboard access is write-only and triggered only by explicit user actions (publishing or copying a share link).

Release assets:

  • main.js
  • manifest.json
  • styles.css