v0.8.6
禹都 AI 解决方案助手 v0.8.6
中文更新说明
本版本重点修复 Mermaid 图在 Word 导出中的显示问题,并优化全局任务提示的位置与本地导出说明。
Mermaid 本地导出
- Mermaid 图的预览与 Word 图片转换均在客户端本地完成,不再调用
mermaid.ink等第三方图片转换服务。 - 使用 Electron Chromium 渲染并截图 Mermaid 图,修复导出后节点变黑、框内文字消失、时序图文字与箭头错位等问题。
- 针对流程图与时序图的不同 SVG 坐标系分别处理尺寸,避免长图被裁切或时序图导出为空白。
- 修复连续导出多张 Mermaid 图时偶发空白的问题,并清理本地渲染窗口的加载监听器。
- 增加 Mermaid 流程图、时序图及 SVG 样式转换回归验证,覆盖文字、节点颜色、箭头和连续导出场景。
界面与提示
- 将全局任务运行提示移至内容区左上方,避免与右上角界面风格切换控件重叠。
- 更新正文生成配置和 Word 导出进度文案,明确 Mermaid 转图在本地完成、无需联网。
发布说明
- macOS 与 Windows 安装包仍未进行代码签名,首次打开时可能出现操作系统安全提示。
English Release Notes
This release focuses on fixing Mermaid rendering in Word exports, improving the global task indicator placement, and clarifying that Mermaid image conversion runs locally.
Local Mermaid Export
- Mermaid preview and Word image conversion now run entirely on the local client without calling third-party conversion services such as
mermaid.ink. - Mermaid diagrams are rendered and captured with Electron Chromium, fixing black nodes, missing node labels, and displaced text or arrows in sequence diagrams.
- Flowcharts and sequence diagrams now use coordinate-aware sizing to prevent cropped long diagrams and blank sequence-diagram exports.
- Fixed intermittent blank images when exporting multiple Mermaid diagrams consecutively and cleaned up render-window load listeners.
- Added regression coverage for Mermaid flowcharts, sequence diagrams, SVG class styles, text visibility, node colors, arrows, and repeated exports.
Interface and Messaging
- Moved the global running-task indicator to the upper-left of the content area so it no longer overlaps the theme-style switcher.
- Updated content-generation and Word-export messages to state that Mermaid conversion is local and does not require network access.
Distribution Note
- macOS and Windows packages remain unsigned, so operating-system security warnings may appear on first launch.
Full Changelog: v0.8.5...v0.8.6