Skip to content

Commit 20931d1

Browse files
hotlongclaude
andauthored
feat(scripts): digest 把「无 changeset 的 commit」从计数升级为按 subject 逐条点名 (#6174) (#6358)
console changeset 正文此前只把漏声明 changeset 的 commit 写成一个数字 (`omitted: N commits carrying no changeset`),具体是哪些 commit,发布记录 里读不出来。实测 pin bump 区间 `f995a452d2ca..7dfbeb704e1e`(#6159 / PR #6173)的 20 条里,19 条是 release commit / dependabot / docs·ci·scripts, 另有 1 条是 objectui#3518 `0e50440e8 fix(form): bind previous for field rules…` —— 26 个文件、5 个包、全部十个 locale pack 的用户可见表单行为变更。 在数字 20 里,它和 `Bump postcss` 无从分辨。 改动只在呈现层:把 `classifyRange` 已经产出的 `noChangesetCommits` 原样 渲染进正文,行格式沿用 `objectui-range.mjs --all` 的 `- _(no changeset)_ …` 词汇,使两个产物读起来是同一套。判据、收录集、分类、accounting 行一律未动 (实测两个真实区间的 diff 为纯插入,零删除)。 规模护栏:点名清单与 releasing 清单各自独立套用 `max`(默认 100),截断时 输出真实总数与取全量的命令,绝不静默截断(#4731)。零条时不打新行。 与 #6175 的 stderr 回落句是相邻但不同的事实——那句讲工具怎么读文件,这段 讲哪些 commit 进了 build 却没声明,故落点在正文。 self-test 新增 12 条独立成组的断言(45 → 57);#4731 一条既有断言的实现 方式(整体 body 子串)已不再表达其原意,改为在 releasing 集合与渲染行两层 断言,原意与精确计数均不变。 Claude-Session: https://claude.ai/code/session_01BDmDsu2575gDxeMCxXhDE3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent bbd2d8d commit 20931d1

1 file changed

Lines changed: 338 additions & 11 deletions

File tree

0 commit comments

Comments
 (0)