0.0.8
DocFerry 0.0.8
This release addresses the remaining Obsidian Community automated review feedback.
Compatibility:
- Minimum Obsidian version is now
1.13.0(was1.4.0). This matches thePlugin.settingsAPI and the deprecatedSettingTabAPIs used by the settings UI.
Code-quality fixes:
- Replaces
window.confirmwith an ObsidianModal-based confirmation dialog. - Uses
activeDocumentinstead ofdocumentfor hidden preview rendering and theme CSS capture, improving popout-window compatibility. - Tightens TypeScript catch-variable typing with
useUnknownInCatchVariablesand removes unused_errorbindings. - Adds
as unknowncasts aroundJSON.parseto satisfy strict ESLint rules. - Removes redundant type assertions (
as string,as HTMLElement). - Avoids passing the plugin instance as a
ComponenttoMarkdownRenderer.render; rendering now uses a dedicated, short-livedComponent. - Binds translator callbacks before passing them into
ConfirmModal, avoiding unbound-method warnings. - Removes unnecessary
asyncfrom event handlers and keepsSettingcallbacks 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.jsmanifest.jsonstyles.css