Releases: UnMarkdown/obsidian-unmarkdown
Releases · UnMarkdown/obsidian-unmarkdown
1.0.5
Fix: Revert setDestructive() to setWarning() for API compatibility setDestructive() was introduced after minAppVersion 1.7.2, causing an obsidianmd/no-unsupported-api error in the Community Portal scanner. setWarning() has been available since Obsidian 0.11.0 and is fully compatible with the declared minAppVersion. Deprecation recommendation is acceptable; API version error is not. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1.0.4
Fix: Add container.focus() and correct DOMParser node import Two bugs in the execCommand clipboard approach: 1. Missing container.focus() — without focus, execCommand copies from the active editor (raw markdown) instead of our hidden container (formatted HTML) 2. Appending parsed.body (HTMLBodyElement) to a div is invalid DOM and gets silently dropped; import parsed.body.childNodes instead Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1.0.3
Fix: Use execCommand for HTML clipboard copy in Obsidian
navigator.clipboard.write() with ClipboardItem does not reliably write
text/html in Electron's renderer process. Replace with DOMParser +
contentEditable + execCommand approach using Obsidian's preferred APIs:
- DOMParser instead of innerHTML (avoids scanner error)
- createDiv() and setCssStyles() instead of createElement/style.*
- activeDocument and activeWindow throughout
- execCommand('copy') on selected rich content (deprecated warning,
but the only reliable way to write text/html in Electron)
Fixes: formatted paste broken in all destinations (Google Docs, Word,
OneNote, Email) — pasting raw markdown instead of styled HTML.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1.0.2
What's new in 1.0.2
Scanner warning fixes — no user-facing changes.
Changes
- Replaced deprecated
setWarning()withsetDestructive()on the Disconnect button - Use
window.setTimeout()instead ofactiveWindow.setTimeout()for timer compatibility - Proper TypeScript types on all frontmatter callbacks (
Record<string, unknown>) - Cast
loadData()return value toPartial<UnmarkdownSettings>to eliminate unsafe any assignment - Updated Obsidian package to 1.13.1 for current type definitions
- Release workflow now generates GitHub artifact attestations for cryptographic provenance verification
1.0.1
What's new in 1.0.1
This release fixes all issues flagged by the Obsidian Community Portal scanner.
Changes
- Compatibility: Updated minimum Obsidian version to 1.7.2 to match the
Workspace.revealLeafAPI used by the published notes panel - Type safety: Replaced unsafe
anytype access in API response handling with proper TypeScript interfaces - Obsidian API compliance: Replaced
setTimeoutwithactiveWindow.setTimeoutfor popout window compatibility; replacedbuiltin-modulespackage with Node's built-inmodule.builtinModules
No user-facing changes
All fixes are internal. The plugin behaves identically to 1.0.0.
1.0.0
Initial release. Copy notes for 6 destinations, publish to the web with 62 templates.