Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 May 14:11

mdr v0.3.0

First release that brings main CI back to green since February, and that ships four contributions from @njreid.

✨ New (thanks @njreid!)

  • Syntax highlighting in the webview backend via highlight.js 11.11.1 embedded at compile time, with GitHub light/dark themes selected via prefers-color-scheme, injected only when fenced code blocks are present (#35)
  • Fullscreen overlay for images and Mermaid diagrams in the webview backend, with a hover button, double-click, and Esc to close (#34)
  • User config file at ~/.config/mdr/config.kdl (KDL v2), with --init to scaffold a default config and --config PATH to override (#36)
  • system-ui added to the default font stack for a native desktop look on every OS (#36)

🐛 Fixed

  • Webview on Linux/Wayland: no more the window handle kind is not supported crash — the Linux build path now uses wry's GTK-native API (WebViewBuilderExtUnix::build_gtk), so the same binary works on X11 and Wayland (#33, closes #28)
  • Windows CI: the tui backend no longer hangs forever in event::poll when stdout is not a TTY. This was the root cause of every main CI run being cancelled at the 6h timeout since February (#39)

🔧 Internals

  • Cargo dependencies bumped (drop-in majors): comrak, mermaid-rs-renderer, resvg/usvg, tiny-skia, wry/tao/muda, ratatui-image (#40)
  • timeout-minutes: 90 added on the CI check job so the next hang fails fast instead of burning 6h of runner time

📦 Artifacts

Pre-built binaries for: macOS (aarch64, x86_64), Linux x86_64, Windows x86_64, .deb, .rpm.
Also published to: crates.io, Homebrew tap, Snap Store, Scoop, Chocolatey.

Full changelog: v0.2.8...v0.3.0