Skip to content

Releases: UnMarkdown/obsidian-unmarkdown

1.0.5

18 Jun 05:25

Choose a tag to compare

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

18 Jun 05:17

Choose a tag to compare

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

18 Jun 05:12

Choose a tag to compare

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

18 Jun 04:50

Choose a tag to compare

What's new in 1.0.2

Scanner warning fixes — no user-facing changes.

Changes

  • Replaced deprecated setWarning() with setDestructive() on the Disconnect button
  • Use window.setTimeout() instead of activeWindow.setTimeout() for timer compatibility
  • Proper TypeScript types on all frontmatter callbacks (Record<string, unknown>)
  • Cast loadData() return value to Partial<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

18 Jun 04:24

Choose a tag to compare

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.revealLeaf API used by the published notes panel
  • Type safety: Replaced unsafe any type access in API response handling with proper TypeScript interfaces
  • Obsidian API compliance: Replaced setTimeout with activeWindow.setTimeout for popout window compatibility; replaced builtin-modules package with Node's built-in module.builtinModules

No user-facing changes

All fixes are internal. The plugin behaves identically to 1.0.0.

1.0.0

24 Feb 19:40

Choose a tag to compare

Initial release. Copy notes for 6 destinations, publish to the web with 62 templates.