Skip to content

v0.14.0 — 窗 B 全收口(v1.0 stable 前最后一站)

Choose a tag to compare

@Tianbuyu-wwx Tianbuyu-wwx released this 03 Sep 00:03
· 8 commits to main since this release
033d015

v0.14.0 — 窗 B 全收口(v1.0 stable 前最后一站)

⚠️ 已被 v1.0.0 取代(npm deprecated)。请升级到 v1.0.0 stable(含 audit 修复)。

发布日期:2026-08-31 · npm @tianbuyu-wwx/dsh-formatforge@0.14.0 (deprecated) · 测试 566 passed / 0 fail
主题:完成 v0.14.0 计划全部 7 项(2 项 P0 + 5 项 P1)。v1.0 stable 直接复用此代码 + 窗 C 协议冻结。

⚠️ 重要:v1.0.0 已发布

v1.0.0 是首个 production-ready stable,包含 v0.14.0 stable 全部 + 5 项 audit 修复(4 bug + 1 性能)。

npm 上 v0.14.0 已 deprecate,请升级:

npm install @tianbuyu-wwx/dsh-formatforge@latest

API 完全向后兼容,无破坏性改动。

v0.14.0 内容(被 v1.0.0 包含)

2 项 P0(v0.14.0-rc.1 已发布)

  1. ff_formats 能力元数据 — 新增 data.details[] 含 capabilities(pdf[furniture_strip, ocr, table, two_column] 等)
  2. ff_diff 增量模式--against-dir DIR--since-mtime VAL 新增;_resolve_paths 容错

5 项 P1

  1. retention 通知降噪 — 清理事件只 log 不广播
  2. TTL 删除前 .ff.retired.log — sha256 + path + size + mtime + timestamp 写入
  3. 质量评分动态权重 — 按 file_type 加权(纯文本 table_accuracy 归零等)
  4. OCR enhance 漏判confidence < 0.5 OR ocr_confidence < 0.6 时 hint
  5. markdown --- 分段保护 — 多文件分隔符不切断(v1.0.0 升级到 <!-- ff-file-sep --> HTML 注释)

窗 C 协议冻结

新增 packages/dsh-formatforge/protocol/v1/:6 个 schema snapshot + README,v1.x 内向后兼容。

测试基线

  • v0.14.0: 566 passed(基线 538 → 566,+28)
  • 跨语言 truncate 一致性:11/11(v1.0.0 升级到 13/13)
  • ruff ✓ / format ✓ / mypy ✓

查看 v1.0.0 release notes