docs(changeset): vendored console 条目里给 flow 几何迁移补回 BREAKING (v17) 标注 (#6106) - #6110
Merged
Merged
Conversation
…6106) .changeset/console-f995a452d2ca.md 的 flow 节点几何条目(objectui 6e794a19e / objectui#3172)在源 changeset 里确实声明了破坏性,但那句陈述在正文靠后段落, 而 digest 只读首段,于是 vendored 条目丢了标注 —— 编译出的发布记录里它读起来 像一次普通行为修复。同文件的 widget 条目(042e09d77)首段自带标注,两条并排时 差异尤其误导。 本次只把源头真相还原到这一行:前缀补 `**BREAKING (v17)** — `,与 widget 条目的 标注样式逐字节一致。⛔ 不改 digest 脚本(那是 #6099 的机制问题,另案),不重新 生成文件,不调整条目顺序,frontmatter 原样不动。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BDmDsu2575gDxeMCxXhDE3
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This was referenced Aug 7, 2026
hotlong
marked this pull request as ready for review
August 7, 2026 02:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6106 (PR B of 2 — closes via PR A)
rc.4 发布前置的 PR B。改动面是一个文件一行:
.changeset/console-f995a452d2ca.md。为什么
同一份 vendored changeset 里并排躺着两条 v17 破坏性迁移,标注却只有一条:
042e09d77/ objectui#3233)—— 源 changeset 首段就写了**BREAKING (v17)**,digest 读首段,所以标注跟着进来了;6e794a19e/ objectui#3172)—— 源 changeset 同样声明了破坏性(「Breaking for anyone readingnode.uioff a flow draft: after the author's first edit the key is gone and the coordinates live undernode.position.」),但那句在正文靠后段落,digest 读不到 ⇒ vendored 条目丢了标注,编译出的发布记录里它读起来像一次普通行为修复。本 PR 只做一件事:把源头已经声明过的真相还原到这一行。
改动(before → after)
前缀与同文件 widget 条目逐字节一致(实测,非目测):
(
e28094= U+2014 EM DASH,两侧各一个半角空格。)边界
scripts/objectui-changeset-digest.mjs)—— 「digest 只读首段」是 objectui pin bump 生成的 console changeset 对破坏性变更零标注 —— digest 只认major声明级别,而 objectui 在 v17 窗口内把破坏性声明为minor+ 正文标注 #6099 记录的机制盲区,属另案;本 PR 只修这一处已落地的静态文本。"@objectstack/console": minor)。objectui-changeset-digest.mjs只在自测的临时仓里写console-*.md,不读校验仓内已落地的那份。Check Changeset 的实际判定(已实跑,不是推断)
首跑 红。读日志而非猜测,原因是判定条件为「本 PR 新增了几个 changeset」而不是「本 PR 是否改动了 changeset 文件」:
本 PR 修的是一份已经 pending 的 changeset 的正文措辞,
ADDED = 0,所以门禁按设计判红。两条路里只有 route 2 是对的:再pnpm changeset新增一份,等于凭空给@objectstack/console多声明一次发布,那才是错的。故已按门禁自述加skip-changeset标签并重跑该 job,重跑 绿。(顺带记录:issue #6106 里「本 PR 改的就是 changeset 文件,无需 skip-changeset」的预判不成立 —— 判定看的是新增数,不是文件面。)
验证
node scripts/check-empty-changeset.mjs --self-test21 assertions over real temp git repos (real scan() path)node scripts/check-empty-changeset.mjsNo empty-frontmatter changeset introduced by this diff (0 declaring changeset(s) added).node scripts/check-changeset-no-major.mjsmajor声明,已实测而非假设(输出里的 pending-major notice 全部来自既有的其它 changeset,本文件不在其中)node scripts/check-changeset-fixed.mjs.changeset/config.json "fixed" group is in sync with 69 public workspace packages.pnpm check:objectui-changesetobjectui-range --self-test: all checks passed)node scripts/check-nul-bytes.mjsOK (scanned 5857 tracked text file(s) … no raw ASCII control bytes).CI:ESLint / TypeScript Type Check / Check Changeset(重跑)均 success。改动面:
1 file changed, 1 insertion(+), 1 deletion(-)。关联
content/docs/releases/v17.mdx收录这两条迁移 + console 段 pin 区间行更新。major声明级别,而 objectui 在 v17 窗口内把破坏性声明为minor+ 正文标注 #6099 —— 机制修复(digest 只认首段)另案。