Skip to content

Commit eaa9e54

Browse files
docs(releases): the v19 line's page — breaking changes since 18.6.0 and the path from 18.x (#37476)
<!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgKuB9tSHfx8mc1SYKnqrY8R)_ Fixes #37461 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:文档站「发布说明」里新增 v19 页面,列出 18.6.0 之后的全部破坏性变更(每条附 PR)和从 18 升级到 19 的步骤;代码与运行时不变。 - 为什么做:发布流水线定时任务因缺少 v19 发布页一直报红,第一个 19 预发布版出不去,这页补上它。 - 出错会怎样:最坏是页面某条描述不准,读者按变更集原文核对即可;页面可直接撤回,不影响任何包。 - 要你做什么:无。 ## What changes - `content/docs/releases/v19/index.mdx` (new): the v19 line's landing page, in the folder layout v17 and v18 use. It leads with the breaking changes and the path from 18.x, and marks itself as covering the `19.0.0-next.N` prerelease line, written before `19.0.0-next.0` publishes (npm `latest` = 18.6.0, no 19.x on npm, read 2026-11-26). - `content/docs/releases/v19/meta.json` (new): `["index"]`, as v18's folder carries one. - `content/docs/releases/meta.json`: `"v19"` added first. - `scripts/docs-audit/handwritten-docs.json`: one line, `"content/docs/releases/v19/index.mdx"`, exactly what `node scripts/docs-audit/check-audit-scope.mjs --write` produces. **Fence addition**, approved by the dispatching seat (o5-P, option A) after the dispatch fenced `scripts/**`; nothing else in that file changes. The release-page precedents carry the same line (#35227, #33823). **How the breaking list was built.** The 950 changesets pending on `main` at `a46efa8c` (the input of the 19.0.0-next.0 version pass) were each classified by `classifyReleaseBullet` in `scripts/release-github-releases.mjs` (the function that groups a GitHub Release body): 102 breaking (71 manual, 31 registered ADR-0087 entries), from 101 PRs; each changeset was mapped to its PR through the commit that added it (`git log --diff-filter=A 958ee03..origin/main`, history deepened to cover the 18.6.0 version commit `958ee0359`). Cross-check: all 87 PRs titled with `!` since 18.6.0 are in the set, and the page links exactly those 101 PRs (set-compared). Each line is the changeset's own summary, shortened; nothing is listed that has no changeset. **Migration path.** Points at what main ships: `os migrate meta --from 18 --write` for the `engines.protocol` range (the registered `protocol-18-range-refused` entry, protocol-19 step), `--from 17` for the 30 registered entries that landed after 18.6.0 on the protocol-18 step, then `os validate` / `os build` and the existing [Upgrading](https://github.com/objectstack-ai/objectstack/blob/main/content/docs/upgrading.mdx) loop; no guide duplicated. ## Tests <details><summary>Post-version rehearsal: the Release workflow's content gates on a rendered 19.0.0-next.0 tree (head 8d877be)</summary> A throwaway worktree at `8d877be5e`, `pnpm install --frozen-lockfile`, `pnpm run version` (exit 0; `packages/spec/CHANGELOG.md` heads `## 19.0.0-next.0`), then the step's content gates: ``` 0 | pnpm check:release-notes | check-release-notes: OK — every released major has a curated, navigable release page. 0 | pnpm check:release-page-status 0 | node scripts/check-release-section-coverage.mjs 0 | node scripts/check-release-section-coverage.mjs --strict 0 | pnpm check:release-index-currency-sync 0 | pnpm check:nul-bytes 0 | pnpm check:published-readme-links 0 | pnpm check:docs-image-tag 0 | pnpm check:docs-image-tag-sync 0 | pnpm check:template-version-sync 0 | pnpm check:skill-compatibility ``` The worktree was removed afterwards. The step's five package gates (create-objectstack, template manifests, protocol-version test, spec-changes, upgrade-guide) read no docs and were green in run 45766367806; not re-run. </details> <details><summary>Derived gate families (dispatch-gates --commands, head 8d877be): 52 run, 51 exit 0, 1 exit 1, since fixed at d8a0cac</summary> `node scripts/pm/dispatch-gates.mjs --ran` with exit codes recorded: "52 derived famil(ies) accounted for — 52 run, 0 NOT-MEASURED (a DERIVED zero)". Prerequisite builds run under the verify lock: `@objectstack/lint...` and `@objectstack/client-react...` (both VERDICT command-exit 0). The one red at 8d877be was `pnpm check:docs-audit-scope` (exit 1): `scripts/docs-audit/handwritten-docs.json` did not list `content/docs/releases/v19/index.mdx`. At head d8a0cac, after the fence addition, the same chain (`affected-docs.mjs --self-test`, `check-audit-scope.mjs --self-test`, `check-audit-scope.mjs`) exits 0: "docs-accuracy-audit scope is in sync with content/docs/: 254 hand-written doc(s)". `node scripts/check-release-notes.mjs` at d8a0cac: exit 0. </details> ## Acceptance notes - **Fence addition:** `scripts/docs-audit/handwritten-docs.json` gains the one line `check:docs-audit-scope` asks for, generated by its own `--write`, approved by the dispatching seat (o5-P, option A). It was outside the dispatched file surface (`scripts/**` fenced). - Not in scope, per the card: per-version pages for 19.x prereleases, and the releases overview's Versions list (`content/docs/releases/index.mdx`), which names lines once they ship. - The steps under "Coming from 18.x" are compiled from the changesets and not walked; the page says so. ## Verification Read first: `content/docs/releases/v19/index.mdx`, the "Coming from 18.x" section (the only prescriptive part), then the "What makes it a major" list. Two-minute check: in a worktree at this head, `pnpm run version && pnpm check:release-notes` prints `check-release-notes: OK — every released major has a curated, navigable release page.` --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6CY2uhJ1AYNPw5TUSVS)_ <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2776e88 commit eaa9e54

4 files changed

Lines changed: 446 additions & 0 deletions

File tree

‎content/docs/releases/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"title": "Releases",
33
"pages": [
4+
"v19",
45
"v18",
56
"v17",
67
"v16",

0 commit comments

Comments
 (0)