You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d487185
Browse filesBrowse the repository at this point in the historyBrowse files
docs(v19, upgrading): the protocol-19 database switch as an ordered step, and the release page through next.4 (#39424)
repo:objectstack@os-elon-musk · os-elon-musk ·
session_016WV4cxRh6Sbfo2Xm49JPx6
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DJ7npdJXwxZoLMseExo4xN7)_Fixes#39394
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 从 18.x 升级到 19 的客户在版本说明页和升级指南里,现在能按顺序看到"启动 19 之前先切换数据库协议"这一步;版本说明页也更新到了
19.0.0-next.4,补上了它的破坏性变更。
- 属于"平台升级与迁移",替所有从 18.x 升级的客户解决:漏掉这一步时 19 的服务直接拒绝启动、而文档没写。
- 只改文档,不改代码;若描述有误,客户最多照着说明多跑一次预览命令,可随时撤回本次文档修改。
- 无
## What changes
Docs only, two pages:
- `content/docs/releases/v19/index.mdx`
- Status line: npm `next` is `19.0.0-next.4` (published 2026-12-03, read
with `npm view @objectstack/spec time`); next.4 added to the prerelease
list.
- "What makes it a major" gains the database switch: `os migrate
protocol --to 19` (preview), then `--apply --yes`; a 19 `os serve` / `os
dev` / `os start` refuses a pre-19 database with
`FORM_TYPE_SWITCH_REQUIRED` until it is recorded (#38844, #38957).
- "Coming from 18.x" gains step 5, the switch, ordered after the build
and before the first 19 boot, linking `stored-forms-upgrade.mdx`. Later
steps renumbered 6 to 10; the walk callout's step numbers follow, and it
says step 5 was not walked.
- The "after `next.3`" wording becomes "from `next.4`". Every change
that wording describes is in `ea6e312a..779ff41`: #39090, #39115,
#39096, #39123, #39131, #39136.
- The 11 PRs titled with `!` in `ea6e312a..779ff41` are listed in
customer terms, each marked "`next.4`". Each sits in the section
`classifyReleaseBullet` puts its changeset in. Needs-action entries:
#39216 (Access), plus #38957, #39306 and #39076 (new "Forms, flows and
printing" group). Migrated-for-you entries: #39061 (Keys retired),
#39211, #38949 and #39072 (Build and publish checks), plus #38871,
#38970 and #39144 (new "Flows that park the run" group).
- `content/docs/upgrading.mdx`, "The loop" only: a new step 5, `os
migrate protocol --to 19`, before ship and restart, with one paragraph
saying when it is owed and how to read a held preview. Ship/restart and
plan/apply become steps 6 and 7.
Command spelling and order were checked against
`packages/cli/src/commands/migrate/protocol.ts` (flags `--to`,
`--apply`, `--yes`, `--database-url`, `--preset`, `--dev`; examples
`--to 19` then `--to 19 --apply --yes`), against the boot guard in
`packages/cli/src/commands/serve.ts`, and against the runtime section of
`upgrading.mdx`. `protocol.ts` is absent from the `19.0.0-next.3` tree
(`ea6e312a`) and present in `19.0.0-next.4` (`779ff419`), so the step is
written as "from `next.4`".
Read first, by risk:
1. `content/docs/releases/v19/index.mdx` "Coming from 18.x" step 5: the
order a customer follows.
2. The same page's "Forms, flows and printing" group: the
customer-facing restatement of #38957, #39306 and #39076.
3. `content/docs/upgrading.mdx` "The loop" code block.
Two-minute verification: `git grep -n "migrate protocol" --
content/docs/releases/v19/index.mdx content/docs/upgrading.mdx` lists
the new step on both pages (0 hits on the release page at
`origin/main`).
## Tests
No code changed. Docs gates derived by `node
scripts/pm/dispatch-gates.mjs --commands` on head `4690676a`: 52 ran
with exit 0, 1 NOT MEASURED.
<details><summary>Gate readings (head 4690676)</summary>
- 53 derived. 52 exited 0, among them `check:release-notes`,
`check:release-page-status`, `check-release-section-coverage.mjs
--strict`, `check:doc-anchors`, `check:doc-authoring`,
`check:docs-redirects`, `check:issue-citations`, `check:role-word`,
`check:nul-bytes`, `@objectstack/spec check:docs`, `@objectstack/lint
check:doc-formula-expressions` / `check:doc-security-posture` and
`check:docs-transcript-drift`. The last four ran after `pnpm --filter
'@objectstack/lint...' build`.
- NOT MEASURED: `@objectstack/spec check:skill-examples`. Its
prerequisite was not met because the client SDK's `dist` is not built
here. Its scan surface is `skills/` and the client SDK, which this diff
does not touch. CI runs it.
- `dispatch-gates --ran`: 53 derived, 52 run, 1 NOT-MEASURED, 0 UNRUN.
- `overlap-check.mjs`: clean against `origin/main`, exit 0.
</details>
## Acceptance notes
- This is a dedicated docs-only PR on a release page. AGENTS.md allows
that route for a factual error on a releases page, and the PR touches no
code.
- `skip-changeset`: no published package's `files[]` ships
`content/docs`.
- Not documented here, on purpose: workarounds for the two open bugs in
the same switch command, #39392 and #39393. The pages describe the
command as it ships.
- The release page's counting paragraph still covers the changesets at
`6eb23c87`. The other changesets of the next.4 version pass are pointed
to each package's `CHANGELOG.md` under `19.0.0-next.4`.
- Not changed: other spots in `upgrading.mdx` outside "The loop" that
still say "From the first 19 release after `19.0.0-next.3`". The claim
scoped this PR's edits there to that section.
## Verification
- `git log ea6e312..779ff41 --format='%h %s' | grep -E '^[0-9a-f]+
[a-z]+(\([^)]*\))?!:'` lists 11 PRs, all now on the page (clone deepened
to reach `ea6e312a`).
- The `@objectstack/spec` / `@objectstack/cli` tags `19.0.0-next.3` and
`19.0.0-next.4` point at `ea6e312a` and `779ff419` (`git ls-remote
--tags`).
---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4cxRh6Sbfo2Xm49JPx6)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments