dsh-md-studio 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/client.js +261 -261
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
本项目所有显著变更都记录在此文件中。格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本遵循语义化版本。
|
|
4
4
|
|
|
5
|
+
## [1.3.2] - 2026-11-05
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
|
|
9
|
+
- **聊天侧裸 SVG 代码块不渲染**(v1.3.0 回归):observer 的调度入口只放行 mermaid 块,导致"内容以 `<svg` 开头即渲染为组件卡片"的分支成为死代码——模型不用 `mds-diagram` 围栏、直接输出无语言 SVG 块时永远显示为源码。入口条件现在同时放行 mermaid 块与 SVG 块,由定时器回调统一分流。
|
|
10
|
+
- **文档侧宽容匹配**:无语言围栏、内容为内联 SVG 文档的代码块,同样水合为组件卡片(兜底模型省略围栏语言的情况)。
|
|
11
|
+
|
|
12
|
+
### 测试
|
|
13
|
+
|
|
14
|
+
- 新增回归用例:聊天侧无语言 SVG 块 → 组件卡片(标题取自 `<title>`,净化生效);普通代码块不受影响;文档侧显式 `mds-diagram` 围栏与裸 SVG 围栏双双水合。
|
|
15
|
+
|
|
5
16
|
## [1.3.1] - 2026-11-01
|
|
6
17
|
|
|
7
18
|
### 性能(社区贡献 [@lizi87](https://github.com/lizi87),PR [#2](https://github.com/BioAIEvolu/dsh-md-studio/pull/2))
|