diff --git a/content/docs/releases/v19/index.mdx b/content/docs/releases/v19/index.mdx
index 886581303a7..483e8a46af8 100644
--- a/content/docs/releases/v19/index.mdx
+++ b/content/docs/releases/v19/index.mdx
@@ -4,11 +4,12 @@ description: "The v19 line, which opens with the 19.0.0-next prereleases: the br
---
> **Release status: prereleases only.** This page covers the
-> `19.0.0-next.N` prerelease line. Read on 2026-11-29, npm's `latest` tag
-> carries 18.6.0 and its `next` tag `19.0.0-next.2`. The line's prereleases on
-> npm are `19.0.0-next.0` (2026-11-26) and `19.0.0-next.2` (2026-11-28);
-> `19.0.0-next.1` was versioned on `main` and is not on npm, so its changes
-> first ship in `19.0.0-next.2`. A plain install stays on 18.x until 19.0 GA;
+> `19.0.0-next.N` prerelease line. Read on 2026-12-02, npm's `latest` tag
+> carries 18.6.0 and its `next` tag `19.0.0-next.3`. The line's prereleases on
+> npm are `19.0.0-next.0` (2026-11-26), `19.0.0-next.2` (2026-11-28) and
+> `19.0.0-next.3` (2026-12-01); `19.0.0-next.1` was versioned on `main` and is
+> not on npm, so its changes first ship in `19.0.0-next.2`. A plain install
+> stays on 18.x until 19.0 GA;
> a prerelease is installed only on request, at an exact `19.0.0-next.N`. The
> [v18](/docs/releases/v18) line is the current release.
@@ -21,9 +22,9 @@ prerelease. The second,
[#37314](https://github.com/objectstack-ai/objectstack/pull/37314) (merged
2026-11-26), moved `PROTOCOL_VERSION` to `19.0.0`. Every other breaking change
below landed on `main` after 18.6.0, each with its own changeset saying what
-breaks and how to move. It ships in a `19.0.0-next.N` prerelease, except a
-line marked "on `main`": that one landed after `19.0.0-next.2` and ships in
-the next cut.
+breaks and how to move. It ships in a `19.0.0-next.N` prerelease. A line
+marked "on `main`" landed after `19.0.0-next.2` and first ships in
+`19.0.0-next.3`.
## Breaking changes
@@ -36,8 +37,13 @@ function that groups a GitHub Release body: **159 are breaking**, from 155
pull requests. 98 need you to act and 61 carry a registered ADR-0087 entry
that `os migrate meta` lists for you. 30 of the 159 (13 to act on, 17
registered) are among the pending changesets, and their lines say "on
-`main`". Of the rest, 403 add capabilities, 12 declare a semantic change and
-830 are other fixes; they are not listed here. Each line below is the
+`main`"; the `19.0.0-next.3` version pass (2026-12-01) consumed all 219
+pending changesets. It also consumed 76 that landed after `6eb23c87`, and 19
+of those are breaking (6 to act on, 13 registered). This list does not carry
+those 19 yet: read them in each package's `CHANGELOG.md` under
+`19.0.0-next.3`. Of the other 1,245 changesets at `6eb23c87`, 403 add
+capabilities, 12 declare a semantic change and 830 are other fixes; they are
+not listed here. Each line below is the
changeset's own summary, shortened, with the pull request that landed it; the
changeset, and the `CHANGELOG.md` entry the version pass writes from it,
carries the whole before and after. The 135 pull requests titled with `!`
@@ -51,7 +57,9 @@ the same 102 among those changesets at `6eb23c87`.
- **Protocol 19.** `PROTOCOL_VERSION` reads `'19.0.0'`, so a runtime from this
line refuses a manifest whose `engines.protocol` admits 18 and not 19
(`'^18'`) with `OS_PROTOCOL_INCOMPATIBLE`, before any of its metadata
- loads. Registered as `protocol-18-range-refused`, on the protocol-19 step.
+ loads; from the cut after `19.0.0-next.3`, `os validate` and `os build`
+ refuse it too. Registered as `protocol-18-range-refused`, on the protocol-19
+ step.
[#37314](https://github.com/objectstack-ai/objectstack/pull/37314)
- **67 translation keys retired from `@object-ui/i18n`.** Keys 18.6.0 shipped
and no code reads any more are gone from every locale; an override of one
@@ -591,7 +599,9 @@ of the other 30 landed after 18.6.0 on the protocol-18 step, which
## Coming from 18.x
Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the
-[18.6.0 checklist](/docs/releases/v18/18-6#upgrade-checklist). Then:
+[18.6.0 checklist](/docs/releases/v18/18-6#upgrade-checklist). Where a step
+says "after `next.3`", it describes `main` on 2026-12-02, which ships in the
+cut that follows `19.0.0-next.3`. Then:
1. **Move every pin together, to one exact `19.0.0-next.N`.** Every
`@objectstack/*` and `@object-ui/*` dependency, with `@objectstack/skills`
@@ -608,7 +618,19 @@ Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the
A manifest `composeStacks` composes from several packages has no one
literal to rewrite, so there the command writes nothing and lists the range;
- change it by hand in each package manifest.
+ change it by hand in each package manifest. Until the range admits 19, a 19
+ runtime refuses the stack before any of it loads
+ (`OS_PROTOCOL_INCOMPATIBLE`), and after `next.3` so do `os validate` and
+ `os build`, naming `os migrate meta --from 18`; `19.0.0-next.3`'s
+ `os validate` and `os build` still pass `'^18'` with a warning.
+
+ On `19.0.0-next.3`, `--write` does not follow the `exportsOf(…)` call that
+ every `create-objectstack` project wires its collections through, so it
+ writes none of such a project's edits and lists each as
+ `not written [helper]`: make them by hand from that list. After `next.3` it
+ follows that wiring, writes what stands on its own when part of the write
+ cannot be made, says `Wrote N of M mechanical change(s)`, and exits `1`
+ while it leaves a change or the range for you.
3. **List the line's registered entries.** `os migrate meta --from 17` also
replays the protocol-18 step, where the entries of 30 of the
[61 registered changesets](#migrated-for-you) sit. Most are semantic entries:
@@ -624,6 +646,14 @@ Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the
Fix each refusal with its line in [需手动处理](#action-required) or
[自动迁移](#migrated-for-you). The command flow is the loop in
[Upgrading](/docs/upgrading#the-loop).
+
+ A project that commits `access-matrix.json` meets one more gate here. The
+ protocol-19 edits add `viewAllFields: true` beside every View All and
+ Modify All entry. That moves the matrix, so `os build` stops on
+ "Access matrix drift" (`os validate` does not run this gate). Run
+ `os build --update-access-matrix`, then review and commit the matrix
+ diff, the review of who can do what. After `next.3`, `os migrate meta`
+ lists this drift and prints the same step.
5. **Remove overrides of the retired translation keys.** An i18next resource
or Studio catalogue that overrides one of the 67 keys in
[#37230](https://github.com/objectstack-ai/objectstack/pull/37230) is never
@@ -633,11 +663,44 @@ Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the
mode, and the doors listed under
[需手动处理](#action-required) answer differently for a disabled package, an
environment you are not a member of, and a reject without a reason.
+7. **Decide where Change Owner is offered.** 18.x offered it nowhere in the
+ Console. On 19 a record whose object has a reassignable owner shows
+ **Change Owner** in its page header, beside the owner on its edit form, and
+ in a list's selection bar for the selected rows, as a button or under
+ 「More」 beside Delete, by what else the bar holds. It is drawn for a user the
+ server lets transfer the record (`allowTransfer` or `modifyAllRecords`), and
+ it makes the rows of such an object selectable even where the view offers
+ no other bulk action. An object turns it off with
+ `userActions: { transfer: false }`; it is off by default on a
+ `controlled_by_parent` detail.
+ [#36343](https://github.com/objectstack-ai/objectstack/pull/36343)
+8. **Move Studio bookmarks to a package.** Studio has no home page on 19. It
+ opens one package at `/_console/studio/PACKAGE`, on that package's
+ Overview. The bare `/_console/studio` opens the package you were last in,
+ and otherwise Setup → Packages (a developer who cannot open Setup →
+ Packages lands on Studio's list of loose flows). Enter Studio from Setup →
+ Packages or from an app.
+ [#37166](https://github.com/objectstack-ai/objectstack/pull/37166),
+ [#38318](https://github.com/objectstack-ai/objectstack/pull/38318)
+9. **Check each deployment's stored metadata.** Studio-saved rows are not
+ your sources: run `os migrate meta --stored` with the 19 CLI against the
+ deployment's database, then `--apply`. A stored list view that still
+ carries `bulkActions` is served invalid on 19 until it is rewritten or
+ re-saved without it. On `19.0.0-next.3` the pass tells such a view its
+ actions are "not declared as an action of that object" and stays green;
+ after `next.3` it judges the view with the actions the deployment declares,
+ rewrites it on `--apply` where those actions already carry `selection`,
+ and exits `1` while any stored row would be served invalid, naming the row
+ and its fix ([the stored half](/docs/upgrading#the-stored-half)).
+ [#39136](https://github.com/objectstack-ai/objectstack/pull/39136)
-**Compiled from the changesets, not walked.** This page's steps were
-compiled from the changesets; none was run for it against a published
-`19.0.0-next.N` package.
+**Compiled from the changesets, then walked once.** These steps were compiled
+from the changesets and walked on 2026-12-01 from 18.6.0 to `19.0.0-next.3`,
+over two apps: a blank app given data and Studio customizations, and the
+18.6.0 showcase. Both reached a working 19 with their data and
+customizations, but only after edits this page did not name then; steps 2, 4,
+7, 8 and 9 now carry them. The walk has not been repeated after `next.3`.
## How a breaking change lands on this line
diff --git a/content/docs/upgrading.mdx b/content/docs/upgrading.mdx
index 318425ed2be..e3b6f84253b 100644
--- a/content/docs/upgrading.mdx
+++ b/content/docs/upgrading.mdx
@@ -19,10 +19,12 @@ can do either one alone. A platform move does not rewrite your app, and
republishing your app does not move the runtime.
-**The short version.** Moving the runtime forward one major keeps working with
-metadata authored against the previous major — the loader converts it as it
-reads. Falling **two** majors behind is what breaks, because the conversion
-window is one major wide. See [when a platform move forces an app
+**The short version.** Moving the runtime across a major moves your app too.
+Before it loads anything, the runtime checks the protocol range your manifest
+declares and refuses one that does not admit its major: a 19 runtime refuses
+`engines: { protocol: '^18' }` with `OS_PROTOCOL_INCOMPATIBLE`. Run
+`os migrate meta --from N` and move the range together with the runtime. See
+[when a platform move forces an app
move](#when-a-platform-move-forces-an-app-move).
@@ -83,6 +85,16 @@ command for this move; it is four steps you run yourself.
what older scaffolds wrote) moves entirely here. Read whatever
peer-dependency warnings this prints — the `--frozen-lockfile` install your CI
runs skips resolution and will never print them.
+
+ With npm 10, `npm install` can exit `1` with
+ `npm error Cannot read properties of null (reading 'edgesOut')` while it
+ resolves `vitest` 4.1, which the 18.6.0 and 19 templates and the showcase
+ depend on. Measured on npm 10.9.9 with no lockfile: a `package.json`
+ naming only `vitest@^4.1.11` fails, and so do the 18.6.0 showcase's
+ dependencies at 18.6.0 and at `19.0.0-next.3`; the 19 `create-objectstack`
+ template, whose `overrides` entry pins `vitest`, resolves. npm 11 resolves
+ the showcase's tree, and pnpm, the manager the scaffold declares in
+ `engines`, installs it: install with pnpm.
3. **Check the protocol declaration your app ships** — `engines.protocol` in
your `defineStack` manifest. It names the protocol **major**, so a move inside
one major leaves it alone, and a major boundary is where it changes. Move it
@@ -117,7 +129,8 @@ command for this move; it is four steps you run yourself.
Add the package with the manager that installed the project: in a pnpm
project, `npm install --save-dev` exits `1` with
- `npm error Cannot read properties of null (reading 'edgesOut')`.
+ `npm error Cannot read properties of null (reading 'edgesOut')` (npm 10
+ meets that error outside a pnpm project too: step 2).
The list names every skill the catalog carried during 17.x, plus `objectui`,
which a 17.x project installed from the objectui repository, and a name that
is not installed is skipped; `npx skills remove --all` does the same when
@@ -139,10 +152,16 @@ the assumption that an operator runs `os migrate` deliberately:
```bash
os migrate plan # how the database has drifted, categorised safe / needs-confirm / destructive
-os migrate apply # applies the loosening changes
+os migrate apply # applies the loosening changes, after a [y/N] prompt
os migrate apply --allow-destructive # the narrowing ones, once you have read the plan
```
+`os migrate apply` asks before it writes. In a non-interactive shell (a CI job,
+a deploy script, an agent) it applies nothing, prints
+`⚠ Confirmation required. Re-run with --yes to apply …` and exits `1`; there,
+pass `--yes` (`os migrate apply --yes`, and
+`os migrate apply --allow-destructive --yes` once you have read the plan).
+
**The artifact-pinned boot is stricter**, because there is nobody at a terminal:
a container simply comes up carrying a different artifact than the one that
shaped the database. On that path the boot applies safe and needs-confirm drift
@@ -220,19 +239,28 @@ manifest: {
}
```
-The load path then converts old metadata shapes to the canonical current shape
-as it reads them, emitting a deprecation notice per conversion. **That window is
-exactly one major wide.** Metadata authored against the previous major loads and
-runs; a shape retired one major further back is *rejected*, and the rejection
-carries the fix — the old spelling, the new spelling, and the command that
-lists every site to edit.
+**A range that does not admit the runtime's major is refused there, whole.** A
+protocol-19 runtime refuses a manifest that still declares `'^18'` with
+`OS_PROTOCOL_INCOMPATIBLE` and the step `os migrate meta --from 18` (registered
+as `protocol-18-range-refused`), and nothing of the package loads. From the
+first 19 release after `19.0.0-next.3`, `os validate` and `os build` refuse it
+the same way, so the refusal comes before the deploy, not at the boot. A
+package that declares no range is loaded with a warning and no check.
+
+Past the handshake, the load path converts the old metadata shapes the
+release carries a conversion for, emitting a deprecation notice per
+conversion, and *rejects* a retired shape with its fix — the old spelling, the
+new spelling, and the command that lists every site to edit. A major can
+retire a shape the previous major still wrote: protocol 19 refuses several
+18.x keys at parse ([the v19 list](/docs/releases/v19#migrated-for-you)).
The practical consequence:
-- **One major behind** — it runs. You will see conversion notices in the boot
- log. Migrate at your convenience.
-- **Two or more majors behind** — the load rejects the retired shapes. The
- metadata half is no longer optional, and it is the next section.
+- **One major behind** — the runtime refuses it as it stands. Run
+ `os migrate meta --from N` (the major you wrote against), declare the new
+ range, and fix what `os validate` refuses.
+- **Two or more majors behind** — the same command replays every step between,
+ in one pass. The metadata half is the next section.
## The metadata app
@@ -285,6 +313,30 @@ It reads **your source** and no database. (Its sibling,
`os migrate meta --stored`, does the opposite — it rewrites one deployment's
stored metadata rows and reads no config. The two are mutually exclusive.)
+### The stored half
+
+Run `os migrate meta --stored` with the new release's CLI
+against each deployment's database, a dry run first, then `--apply` (with
+`--yes` where no terminal answers its prompt). From the first 19 release after
+`19.0.0-next.3`, the pass judges every stored row it reads the way the runtime
+serves it, and is red while any row would be served invalid: it lists each
+such row with its fix, says the run is not clean until each is fixed, and
+exits `1`:
+
+```text
+✗ 1 row(s) are served INVALID by the runtime on protocol 19.0.0 (it registers them marked invalid and its reads badge them with _diagnostics):
+ • view/lead_grid [env-wide, package=app.crm] id=r_7 — list.bulkActions: …
+ fix: correct the row (sys_metadata id r_7) at the site named and save it again — in Studio, or with PUT /api/v1/meta/view/lead_grid carrying the corrected body — or delete it by name through the metadata API once nothing needs it. Re-run this pass to confirm (protocol 19.0.0).
+```
+
+A Studio-saved list view whose `list` still carries `bulkActions` is judged
+with the actions the deployment declares. Where those actions already carry
+the `selection` location, `--apply` rewrites the row without `bulkActions`.
+Where they do not yet, the row is left as stored, and its TODO names the
+actions and the two fixes: add `'selection'` to their `locations` in the
+package source and deploy it, then re-run the pass, which then rewrites the
+row; or re-save the view without `bulkActions`.
+
### What it does not do — read the output
@@ -297,7 +349,9 @@ against, never as the file you ship.
it can prove the site.** A change is written when it traces to one object or
array literal in one project file: through `define*` calls and `.create`
factories, `const` bindings, relative imports and re-exports, and
-`Object.values()` over a namespace import. A change inside a package body of a
+`Object.values()` over a namespace import, and, from the first 19 release
+after `19.0.0-next.3`, through a project's own one-line wrapper of it, such as
+the `exportsOf(…)` every `create-objectstack` project uses. A change inside a package body of a
`composeStacks([…])` project (a path under `packages[i].manifest`) traces into
input i, but only when input i and every input before it is a stack literal
that writes its own `manifest` and no `packages`: only then is package i that
@@ -305,9 +359,16 @@ one input's body. Only that site's bytes change; a renamed key keeps its value
and its comments. Every other change — a value built by any other function call
or an expression, a key a spread supplies, a binding something else also uses,
a file in a package — is listed with the reason it was not written, for you to
-port by hand. The command then re-runs the chain over
-the written files and restores them all unless it comes back with exactly the
-changes it left. Commit first, and review the diff like any other change.
+port by hand. The command then re-runs the chain over the written files. From
+the first 19 release after `19.0.0-next.3`, it keeps every edit that stands on
+its own when part of the write cannot be made: a change reported at several
+sites is written whole or not at all, the re-run puts back only the edits it
+disagrees with, and only a disagreement it cannot tie to one edit restores
+every file. Such a partial write says `Wrote N of M mechanical change(s)` and
+exits `1`, as does any `--write` that leaves a change or the declared range
+for you. (Earlier, the re-run restored every file unless it came back with
+exactly the changes it left.) Commit first, and review the diff like any other
+change.
@@ -356,13 +417,23 @@ os migrate meta --from 16 # 1. read the mechanical change list and the to-do
# and the checklist items below
os validate # 3. the gate — schema, CEL predicates, widget bindings
os build # 4. compile to dist/objectstack.json
+ # (a committed access-matrix.json the edits
+ # moved: os build --update-access-matrix,
+ # then review and commit the matrix diff)
# 5. ship the artifact; restart
os migrate plan # 6. reconcile the database to the new metadata
+os migrate apply --yes # (--yes where no terminal answers its prompt)
```
Step 3 is the real gate: `os validate` runs the same checks as `os build` but
writes no artifact, which makes it the fast inner loop while you work through
-the to-dos. Full command reference in the [CLI
+the to-dos. The access-matrix gate is the one check only `os build` runs: in a
+project that commits `access-matrix.json`, an edit that changes a grant (the
+protocol-19 step adds `viewAllFields: true` beside every View All and Modify
+All entry) stops the build on "Access matrix drift" after `os validate` passed.
+Run `os build --update-access-matrix`, then review and commit the matrix diff,
+which is the review of who can do what. From the first 19 release after
+`19.0.0-next.3`, `os migrate meta` names that drift and prints this step. Full command reference in the [CLI
documentation](/docs/deployment/cli).
## Upgrading to 18.0
@@ -411,8 +482,9 @@ require, tightens them to `NOT NULL` when you run it.
step: `os migrate apply --allow-destructive` applies every destructive change
in the plan. Then run `os migrate apply --allow-destructive` in a terminal and
answer its `[y/N]` prompt after reading the changes it lists. In a
- non-interactive shell it applies nothing, prints
- `⚠ Confirmation required. Re-run with --yes to apply …` and still exits `0`.
+ non-interactive shell it applies nothing and prints
+ `⚠ Confirmation required. Re-run with --yes to apply …`; 18.0.0 still exits
+ `0` there, and from 18.1.0 it exits `1`.
Each step's measured output, from a walk of a 17.7.0 app to 18.0.0, is in
[the 18.0.0 upgrade checklist, step 2](/docs/releases/v18/18-0#2-upgrade-the-database).