Skip to content

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 13 Apr 06:35
· 2 commits to main since this release

What's New

  • Error boundary — React crashes now show an error screen with stack trace and a recovery button, rather than a blank white window. Uncaught renderer exceptions are surfaced and logged instead of silently wrecking the app.
  • Fewer ways to crash on close-all-tabs — Closing the last tab now fully resets edit state (editMode, editContent, editDirty, editFilePath) so no orphaned draft data can trigger a subsequent render crash.
  • Cmd+W no longer closes the whole window — preventDefault() now fires unconditionally on Cmd/Ctrl+W, ahead of the settings/editing guards, so Electron never falls through to native "Close Window". Cmd+W still closes the active tab while typing in the editor.
  • Print from edit mode works reliably — Replaced an inline display: none on the preview with a CSS class so the @media print override wins the cascade cleanly. Prints the rendered preview instead of the editor textarea.
  • 10 new close-all-tabs E2E tests — Covers collapsible mode, mixed fold states across files, links panel, mermaid diagrams, themes, rapid close, and edit-mode scenarios.

Reviews

Four rounds of multi-agent review (Gemini + Codex + Claude) with ship/no-ship verdict. Unanimous SHIP after addressing two findings:

  • Codex caught that the original Cmd+W preventDefault() was bypassed by the settingsOpen and isEditing early returns — fixed by hoisting it above the guards.
  • Gemini caught that hoisting it naively would silently discard unsaved drafts while editing — fixed by whitelisting the tab-close path in the isEditing block.

Downloads

Platform File Notes
macOS (Apple Silicon) .dmg / .zip Signed and notarised
macOS (Intel) .dmg / .zip Signed and notarised
Linux .AppImage / .deb —

Windows

Windows build is not included. See v1.7.0 notes for details, or build from source:

```bash
git clone https://github.com/globalroo/markdown-viewer.git
cd markdown-viewer
npm install
npm run dist
```