Skip to content

docs(releases): v17 升级指南收录两条 console 破坏性迁移,console 段 pin 区间推到 f995a452d2ca (#6106) - #6109

Merged
hotlong merged 1 commit into
mainfrom
claude/issue-6106-v17-guide-console-migrations
Aug 7, 2026
Merged

docs(releases): v17 升级指南收录两条 console 破坏性迁移,console 段 pin 区间推到 f995a452d2ca (#6106)#6109
hotlong merged 1 commit into
mainfrom
claude/issue-6106-v17-guide-console-migrations

Conversation

@hotlong

@hotlong hotlong commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #6106

rc.4 发布前置的 PR A(docs-only)。只改 content/docs/releases/v17.mdx 一个文件,不含任何代码/脚本改动,因此没有 changeset(走 skip-changeset)。这是 CLAUDE.md「不要在代码 PR 里改 content/docs/releases/」条款所指的那条正当路径:专门的 docs-only PR 修正该页的事实错误。

为什么现在改

PR #6097 把 console pin 推到 objectui f995a452d2ca,随之 vendored 进来两条 作者侧破坏性迁移。它们此前只活在 .changeset/(发布记录的输入层),整个 content/docs/ 下对 withFieldCarrier / FieldWidgetComponentProps / FlowNode.position / node.ui 零命中 —— rc.4 一发,正在升级的作者在文档站上读不到,这是新用户第一眼撞上的坑。

改了什么(三处 hunk)

1. 「Breaking changes & migration」新增两条 ### 条目

插在 ### Dead spec clusters removed### Smaller breaking changes 之间(不动任何既有条目顺序)。格式对齐同章节里唯一的 objectui 来源前例 ### An action param's picker target is 'reference', and only 'reference' (objectui#3203):声明句式标题 + 源链接括注、diff 迁移块、加粗小结句。

  • ### Field widgets receive their metadata on one key, 'field' (objectui#3233) —— FieldWidgetComponentProps 不再声明 schema;两个生产者收敛,约 30 处 field || schema 消失。给出两段机械迁移:读法去掉 fallback;能被 SchemaRenderer 派发的 widget 用 withFieldCarrier 包一次注册。点名受影响者(第三方 widget 继续读 props.schema 会拿到 undefined 并静默渲染空态),并保留源 changeset 的两条「没变的东西」——宿主元数据(SDUI JSON)不变、schema 仍是非 field-widget 组件的通用 SDUI prop。
  • ### Flow node geometry is the spec's 'FlowNode.position' (objectui#3172) —— 三处写入点统一写 position: { x, y },画布在首个 patch 上把遗留 ui 抬到 position 并删键。保留源 changeset 的关键定性:这是行为修复而非改名(FlowNodeSchema未知键静默剥离仍是全仓默认:把 #3405 的 strict 收紧从一个 schema 推广到整个可授权面(ADR-0078 完整性闸门) #4001.strict(),uiunrecognized_keys,服务端 422 —— 拖一下节点就存不了流程);读取侧向后兼容(manualPosition() 优先 position、回落遗留 ui),但那是迁移路径不是第二契约。

两条正文均取自 objectui@f995a452d2ca 的源 changeset(field-widget-single-metadata-carrier.md / flow-node-geometry-is-spec-position.md)与 objectui#3233 / objectui#3172。

2. console 段 pin 区间行(原第 1969 行)

- ### New in Console — bundled objectui advanced `4a4829d0ef39 → 785b8a5d432c`
+ ### New in Console — bundled objectui advanced `4a4829d0ef39 → f995a452d2ca`

并在该段说明后补四行(既有的 143 commits / five pin moves 叙述原样保留,不重写):

+ Two later pin moves carried the bundle on to `f995a452d2ca` — 129 further
+ commits, enumerated in `console-f5bc4c78be76` and `console-f995a452d2ca`. The
+ two author-facing breaking migrations in that range are documented under
+ *Breaking changes & migration* above.

数字是实测的,不是估的:git rev-list --count --no-merges 785b8a5d432c..f995a452d2ca = 129,与两份 pin changeset 自报的 31 + 98 non-merge commits 吻合;git merge-base --is-ancestor 确认该区间内的 pin 落点只有 f5bc4c78be76f995a452d2ca 两次(其余 console changeset 的 sha 都不在 785b8a5d432c 之后)。

3. rc.1 窗口开头的同一陈旧事实(独立 hunk,可单独回退)

Issue 只点名了第 2 处,但那句话与它是同一个事实的另一处落点;只改标题行会让该页在一屏之内自相矛盾(上面说推进到 f995a452d2ca,下面说 pin unchanged785b8a5d432c)。故按事实更正,行数不变(5 行换 5 行):

- and docs). The Console pin is **unchanged** at `785b8a5d432c`, so the objectui
- delta rc.2 bundles is the one already documented in the section above; there is
- no new Console delta this round. (If `scripts/bump-objectui.sh` advances the pin
- before the cut, that range needs its own section — objectui `main` has moved
- past `785b8a5d432c`.)
+ and docs). The Console pin was `785b8a5d432c` when this window was written and
+ has since advanced to `f995a452d2ca` in two moves; that delta is carried by the
+ range on *New in Console* above and enumerated in the two pin changesets. Its
+ two author-facing breaking migrations are documented with the other breaking
+ changes above.

若维护者认为这一处应留给 rc.4 的发布记录统一处理,这是独立的第三个 hunk,单独 revert 不影响前两处。

验证

纯文本改动,没有反向验证可做(不存在会因这次改动翻转的断言);跑的是 CI 对 content/docs/** 实际会跑的门禁,全绿:

门禁 结果
pnpm check:release-notes OK — every released major has a curated, navigable release page.
pnpm check:doc-authoring self-test 通过 + 363 files clean — no bare metadata literals.
pnpm check:docs-audit-scope 178 hand-written doc(s) 同步 + 9 page(s) under content/docs/releases/ review-only
pnpm check:adr-anchors OK (34 anchored file(s), every governing ADR still referenced).
pnpm check:nul-bytes OK (scanned 5857 tracked text file(s) … no raw ASCII control bytes).
pnpm check:prerelease-pins self-test 通过 + No stable release yet for 11 prerelease pin(s)
MDX 可解析性 apps/docsfumadocs-mdx 重新生成通过;另用 @mdx-js/mdx@3.1.1 直接 compile(v17.mdx, { format: 'mdx' })MDX COMPILE OK

改动面:1 file changed, 90 insertions(+), 6 deletions(-),只有 content/docs/releases/v17.mdx

关联


Generated by Claude Code

…a452d2ca (#6106)

「Breaking changes & migration」章节此前完全不含 PR #6097 带进来的两条作者侧
破坏性迁移(widget 元数据单载体 objectui#3233、flow 节点几何 objectui#3172),
它们只活在 .changeset/ 这一发布记录的输入层;rc.4 一发,正在升级的作者在文档站
上读不到。本次按该页既有条目格式补两条 ### 条目(what broke / who is affected /
机械迁移 diff / 源链接),并把 console 段标题的 pin 区间行由
`4a4829d0ef39 → 785b8a5d432c` 更新为 `→ f995a452d2ca`。

同页 rc.1 窗口开头「The Console pin is **unchanged** at 785b8a5d432c」是同一个
陈旧事实的另一处落点 —— 若只改标题行,该页会在一屏之内自相矛盾,故一并按事实
更正(独立 hunk,可单独回退)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BDmDsu2575gDxeMCxXhDE3
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Aug 7, 2026 2:11am

Request Review

@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Aug 7, 2026
@hotlong hotlong added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 7, 2026 — with Claude
@hotlong
hotlong marked this pull request as ready for review August 7, 2026 02:22
@hotlong
hotlong added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit 0ce4e46 Aug 7, 2026
25 of 26 checks passed
@hotlong
hotlong deleted the claude/issue-6106-v17-guide-console-migrations branch August 7, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants