Files
marqdo-lint/CHANGELOG.md
T

32 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
## 0.2.0
### Changed
- 适配 Marqdo `3.0.0-rc.4` 的公共 Analysis revision 3 与 CLI Tool revision 1。
- 只执行一次 `check ENTRY --emit PATH`;删除每个模块的 `inspect --ast` 机器
调用和第二套 Markdown 解析。
- 唯一源码改为 `modules[].source`,并在信任 span 前校验
`sha256(source) == source_digest`。
- 标题、模式、完整 section range 和函数归属只来自 `units`;`heading_span`
只表示标题本身。
- 引用规则改为读取 `references[].state`,区分 `missing`、`not_loaded`、
`ambiguous`、`external`、`invalid` 和 `outside_scope`。
- 调用规则读取 `calls[].state/target_kind/target_owner/reason`;动态/未绑定
调用只作信息提示。
- Tool manifest 改为 `requires: {api_revision: 1, analysis: 3}`,删除旧字段。
- 版本门槛改为 SemVer `>=3.0.0-rc.4,<4.0.0`。
### Removed
- 旧 Analysis 字段集合、旧核心分支、旧门禁脚本和旧 fixture。
- 运行期 `comrak` 依赖;渲染示例保留在 dev-dependency。
- 运行时对 `inspect`、协议协商环境变量和旧 Tool manifest 的支持。
### Added
- 新增 `MQD-LINK-001/002/003` 和 `MQD-CALL-001`。
- 新增 `scripts/check-no-legacy.sh`、单核心验收 manifest 和 Woodpecker CI。
- 新增旧 revision 3、坏摘要、坏 span、坏 Tool manifest 的 fail-closed 测试。