v1.4.2
·
0 commits
to 4a70cfe8d09db67eb7d4de5a08758f497f81722d
since this release
zh-CN
v1.4.2 是一个稳定性与跨平台体验升级版本:扩展 Mermaid 图表能力,修复 macOS 输入法、编辑器交互与 Linux 安装运行等多项关键问题。
✨ 新增功能
- Mermaid 图表能力扩展:升级至 Mermaid 11,新增 8 种图表类型 — 架构图、块图、Wardley 战略地图、时间线、象限图、XY 图表、桑基图、C4 架构图。可通过编辑器顶部「图表」下拉菜单或
mermaidarch等代码片段一键插入;浮动助手在architecture-beta/C4Context等新代码块内会显示对应图表类型的工具与提示。
⚡ 体验提升
- macOS 中文输入法:解决在编辑器中输入时偶发的字符重影问题,打字更稳定。
- 编辑区视觉细节(分栏模式):长段落折行的末字不再贴到右侧分隔线,文字与分隔线之间留出适度视觉缓冲。
🐛 修复
/与?可在编辑器内正常输入:先前这两个按键在编辑文档时会被全局快捷键拦截,现已修正——快捷键仅在编辑器外触发。- DOCX 导出剥离 frontmatter:与 HTML / PDF 导出保持一致,导出文档不再在顶部出现
tags:/status:等元数据行。 - C4 与新版架构图导出:修复
C4Context等图表在 PDF / DOCX / HTML 导出时渲染失败、保留代码块源码的问题。 - DOCX 宽屏图导出尺寸:修复在部分 Pandoc 版本下宽度百分比被忽略、导致大图撑爆页面的问题。
🐧 Linux 安装与启动
- deb / AppImage 安装后无法启动:修正 deb 依赖包名以适配新版 WebKitGTK;AppImage 默认嵌入 FUSE3 兼容运行时,Ubuntu 22.04+ 用户无需手动安装
libfuse2。 - 新版 Linux 发行版下白屏 / 卡 loading / 点击不重绘:在 Ubuntu 24.04 + Wayland 等较新环境下,AppImage 现在自动启用 WebKitGTK 兼容渲染选项,开箱即用。
- 系统需已安装
libwebkit2gtk-4.1-0(Ubuntu 22.04+ / Fedora 38+ / Arch 等主流发行版默认满足)。
- 系统需已安装
🛡️ 安全与维护
- 核心依赖升级:升级 Mermaid 11、收敛 lodash-es 等含已知漏洞的间接依赖,修复若干上游 CVE 公告。
en-US
v1.4.2 is a stability and cross-platform experience release: expanded Mermaid diagram coverage, plus fixes for macOS IME input, editor interaction and Linux installation/runtime issues.
✨ Features
- Expanded Mermaid diagram support: Upgraded to Mermaid 11 and added 8 new diagram types — Architecture, Block, Wardley, Timeline, Quadrant, XY Chart, Sankey and C4. Insert them via the editor's "Diagrams" dropdown or snippet prefixes such as
mermaidarch. The floating Mermaid assistant now correctly identifiesarchitecture-beta/C4Contextand other new code blocks and surfaces matching tools and hints.
⚡ Improvements
- macOS IME (Chinese / Japanese input): Resolved occasional character ghosting while typing in the editor — input is now stable across compositions.
- Editor visual polish (split mode): Wrapped long paragraphs no longer touch the right divider; the editor leaves a deliberate visual gutter between text and the splitter.
🐛 Bug Fixes
/and?are usable inside the editor again: These keys were previously intercepted by global shortcuts while typing in a document. They now only trigger shortcuts outside the editor.- DOCX export strips frontmatter: Aligned with HTML / PDF export — exported documents no longer carry
tags:/status:etc. at the top. - C4 and new Architecture diagram export: Fixed rendering failures where
C4Contextand similar Mermaid 11 diagrams reverted to source code in PDF / DOCX / HTML exports. - Wide-image sizing in DOCX export: Fixed cases where some Pandoc versions ignored percentage widths and let oversized diagrams overflow the page.
🐧 Linux Install & Startup
- deb / AppImage failing to launch after install: Corrected the deb dependency names for the modern WebKitGTK ABI; the AppImage now ships with a FUSE3-compatible runtime, so Ubuntu 22.04+ users no longer need to install
libfuse2manually. - White screen / loading hang / unresponsive UI on newer distributions: On environments such as Ubuntu 24.04 + Wayland, the AppImage now enables WebKitGTK compatibility flags out of the box.
- The system must have
libwebkit2gtk-4.1-0installed (default on Ubuntu 22.04+ / Fedora 38+ / Arch).
- The system must have
🛡️ Security & Maintenance
- Core dependency upgrades: Mermaid 11; tightened transitive dependencies including
lodash-es; resolved several upstream CVE advisories.