diff --git a/content/docs/releases/v19/index.mdx b/content/docs/releases/v19/index.mdx index 7202f7cacc2..886581303a7 100644 --- a/content/docs/releases/v19/index.mdx +++ b/content/docs/releases/v19/index.mdx @@ -3,13 +3,14 @@ title: v19 description: "The v19 line, which opens with the 19.0.0-next prereleases: the breaking changes it carries over 18.6.0, each with its pull request, and the path from 18.x — protocol 19, an engines.protocol range of '^19', and the build that tells you what else to fix." --- -> **Release status: no 19.x version is published yet.** This page covers the -> `19.0.0-next.N` prerelease line, starting with `19.0.0-next.0`, the first -> cut of the line. It was written on 2026-11-26, before that cut was -> published: npm's `latest` tag carries 18.6.0, and no `19.x` version is on -> npm. 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. +> **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; +> 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. **The v19 line** opened on `main` with two changes. The first, [#37230](https://github.com/objectstack-ai/objectstack/pull/37230) (merged @@ -19,27 +20,31 @@ whole train moves to 19, and each cut until 19.0 GA is a `19.0.0-next.N` 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 and ships in `19.0.0-next.0`, each with -its own changeset saying what breaks and how to move. +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. ## Breaking changes -**How this list was built.** From the 950 changesets pending on `main` at -`a46efa8c`, the input of the `19.0.0-next.0` version pass. Each changeset -body was classified by `classifyReleaseBullet` in -`scripts/release-github-releases.mjs`, the function that groups a GitHub -Release body: **102 are breaking**, from 101 pull requests. 71 need you to act -and 31 carry a registered ADR-0087 entry that `os migrate meta` lists for -you. Of the rest, 278 add capabilities, 7 declare a semantic change and 563 -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 87 pull requests titled with `!` since 18.6.0 are -all in this list. -One entry landed after that measurement and is listed with them: the grid's -staged edit retirement, -[#37437](https://github.com/objectstack-ai/objectstack/pull/37437), under -[自动迁移](#migrated-for-you). +**How this list was built.** From the 1,404 changesets on `main` at +`6eb23c87` (2026-11-29): the 1,185 that the `19.0.0-next.0`, `next.1` and +`next.2` version passes consumed (`.changeset/pre/`), and the 219 still +pending for the next cut. Each changeset body was classified by +`classifyReleaseBullet` in `scripts/release-github-releases.mjs`, the +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 +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 `!` +since 18.6.0 are all in this list. The page's first count, at `a46efa8c` +(2026-11-26) over the 950 changesets that were the input of the +`19.0.0-next.0` version pass, found 102 breaking; the same function finds +the same 102 among those changesets at `6eb23c87`. ### What makes it a major @@ -84,6 +89,18 @@ staged edit retirement, connects only to addresses that are public at connect time. [#35697](https://github.com/objectstack-ai/objectstack/pull/35697), [#35781](https://github.com/objectstack-ai/objectstack/pull/35781) +- A cloud-managed runtime keeps email and password sign-in off when its + deployment declares it off: a save turning it on is refused + `400 SETTINGS_VALIDATION`, and a value stored earlier no longer turns it on. + [#38028](https://github.com/objectstack-ai/objectstack/pull/38028) +- Setup → Authentication's switches, and `GET /api/settings/auth`, show what + the deployment runs when nothing is saved. + [#38180](https://github.com/objectstack-ai/objectstack/pull/38180) — on + `main` +- `createAuthClient().updateUser` declares `Promise`, because the server + answers a receipt, not the user. + [#38431](https://github.com/objectstack-ai/objectstack/pull/38431) — on + `main` #### Access: security, sharing, approvals and the data doors @@ -100,8 +117,16 @@ staged edit retirement, - An app-authored elevation's reads and writes are judged by its caller's organization wall. [#36386](https://github.com/objectstack-ai/objectstack/pull/36386) +- An app-authored elevation's write is judged as it will be stored, and its + option bag never widens it past its caller's organization wall. + [#38268](https://github.com/objectstack-ai/objectstack/pull/38268) — on + `main` - An action's selection is read in the caller's scope before the action runs. [#36132](https://github.com/objectstack-ai/objectstack/pull/36132) +- An action not bound to an object accepts no record: a call carrying a + `recordId` or a `params._selectedIds` is refused `400 VALIDATION_FAILED`. + [#37896](https://github.com/objectstack-ai/objectstack/pull/37896) — on + `main` - Every data door judges environment membership. [#36134](https://github.com/objectstack-ai/objectstack/pull/36134) - The restriction profile is served on the unscoped route only; its @@ -138,6 +163,9 @@ staged edit retirement, - Change Owner refuses an object of a disabled package with `404 OBJECT_PACKAGE_DISABLED`. [#36674](https://github.com/objectstack-ai/objectstack/pull/36674) +- The MCP stdio data bridge refuses a disabled package's data to every caller, + a system context included, with `404 OBJECT_PACKAGE_DISABLED`. + [#37900](https://github.com/objectstack-ai/objectstack/pull/37900) #### Namespaces, bundles and metadata saves @@ -154,6 +182,18 @@ staged edit retirement, and the history selector never addresses the package-less row for a package that neither holds nor ships the name. [#37423](https://github.com/objectstack-ai/objectstack/pull/37423) +- A version the platform registered is never restored into a package's row, + and adopting orphans leaves the platform's own record where the platform + keeps it. + [#37640](https://github.com/objectstack-ai/objectstack/pull/37640) +- The per-item publish and rollback naming no package are refused at a name + only disabled packages hold, with or without a package-less row stored. + [#37818](https://github.com/objectstack-ai/objectstack/pull/37818), + [#37948](https://github.com/objectstack-ai/objectstack/pull/37948) +- The served type schemas (`GET /meta/types`) no longer offer the keys the + platform stamps. + [#38209](https://github.com/objectstack-ai/objectstack/pull/38209) — on + `main` - A refused metadata save and a refused data-API request no longer list zod's bare "Invalid input" union entry ahead of the entries that explain it; a query `where` of the wrong kind is refused with one `fields[]` entry that @@ -202,6 +242,14 @@ staged edit retirement, - A flow condition that hands `timestamp()` a date field through `record.FIELD` or `previous.FIELD` is refused, as the bare field name was. [#34935](https://github.com/objectstack-ai/objectstack/pull/34935) +- `os validate` and the publish gate refuse an option label in a flow's query + filter, edge condition or decision branch; write the option's value. + [#37491](https://github.com/objectstack-ai/objectstack/pull/37491) +- The audit log is sealed on every deployment, and sealed rows expire by whole + checkpoints: `os migrate audit-* --apply` on SQLite or Turso needs + `--sealer-stopped`, and `os audit verify` exits `1` or `2` in cases where it + exited `0`. + [#37605](https://github.com/objectstack-ai/objectstack/pull/37605) - A relationship-path dashboard drill is sent as one nested-relation condition, joined in the database. [#35423](https://github.com/objectstack-ai/objectstack/pull/35423) @@ -258,6 +306,49 @@ staged edit retirement, - A partly failed bulk approve or reject in the Approval Center says why each row failed. [#37282](https://github.com/objectstack-ai/objectstack/pull/37282) +- The build chat's frontend is retired, with its plan, change, build-result + and handoff cards, their detectors and the props that fed them; the 280 + translation keys `@object-ui/i18n@18.6.0` shipped for it are removed. + [#37720](https://github.com/objectstack-ai/objectstack/pull/37720) +- `useObjectTranslation()` and `useI18nContext()` no longer return + `appContentLanguages`; read `useAppContentLanguages()`. + [#37883](https://github.com/objectstack-ai/objectstack/pull/37883) +- The app management page no longer offers "Edit with AI", and its two + released translation keys are removed. + [#38269](https://github.com/objectstack-ai/objectstack/pull/38269) — on + `main` + +#### Knowledge + +- `@objectstack/knowledge-ragflow` is retired, and the Knowledge settings page + no longer offers the RAGFlow adapter. + [#37477](https://github.com/objectstack-ai/objectstack/pull/37477) +- The Knowledge settings page keeps only keys something reads: `adapter`, + `over_fetch` and `enforce_rls` are retired, and a write naming one is + refused whole. + [#37668](https://github.com/objectstack-ai/objectstack/pull/37668) +- The Knowledge page's Turso fields are contributed by the store that reads + them, so a deployment whose store is pgvector shows none and refuses a write + of them. + [#37902](https://github.com/objectstack-ai/objectstack/pull/37902) +- "Test connection" comes with the Turso fields it checks, and + `knowledgeTestActionHandler` moves to `@objectstack/knowledge-turso`. + [#37982](https://github.com/objectstack-ai/objectstack/pull/37982) — on + `main` +- The knowledge field gate stops asking about a field named `title`; a source + whose index could still hold an earlier-rule title is searched only once its + index is proven built under the current recipe. + [#37963](https://github.com/objectstack-ai/objectstack/pull/37963) — on + `main` +- A knowledge source naming a platform object the host does not serve is + refused at publish, for a write naming no package and under a stated + package closure. + [#38038](https://github.com/objectstack-ai/objectstack/pull/38038), + [#38310](https://github.com/objectstack-ai/objectstack/pull/38310) — on + `main` +- `SPLIT_ALGORITHM_VERSION` is retired from `@objectstack/service-knowledge`. + [#38452](https://github.com/objectstack-ai/objectstack/pull/38452) — on + `main` #### The CLI and `verify` @@ -268,19 +359,32 @@ staged edit retirement, - `os db orphans --delete` and `os secret orphans --delete` exit `1` when the confirmation they need is not given. [#36676](https://github.com/objectstack-ai/objectstack/pull/36676) +- `os secret rewrap --apply` without `--yes` in a non-interactive shell exits + `1`. + [#38042](https://github.com/objectstack-ai/objectstack/pull/38042) +- `os i18n extract` and `os i18n check` expect the `_relatedLists` keys + `os validate` accepts under a `.custom` arrangement. + [#38085](https://github.com/objectstack-ai/objectstack/pull/38085) — on + `main` +- `@objectstack/scenarios` deletes the deprecated agent-confirmation grading + names; a `pending_confirmation` operation is graded strictly. + [#38580](https://github.com/objectstack-ai/objectstack/pull/38580) — on + `main` - A managed `mongodb` datasource runs on verify's in-memory stand-in, and a managed datasource on a plugin's driver id refuses the boot. [#36171](https://github.com/objectstack-ai/objectstack/pull/36171) ### 自动迁移 — listed for you by `os migrate meta` [#migrated-for-you] -Each carries a registered ADR-0087 entry. In `19.0.0-next.0` two sit on the -protocol-19 step, `protocol-18-range-refused` and +Each carries a registered ADR-0087 entry. Of the 61 registered changesets, +31 put their entries on the protocol-19 step: `protocol-18-range-refused` +([#37314](https://github.com/objectstack-ai/objectstack/pull/37314)) and +every registered changeset that landed after the first count, from `data-table-staged-edit-retired` -([#37437](https://github.com/objectstack-ai/objectstack/pull/37437)); a later -prerelease may add more, and `os migrate meta` lists them. The other 39 landed -after 18.6.0 on the protocol-18 step, which `os migrate meta --from 18` does -not replay and `--from 17` does. +([#37437](https://github.com/objectstack-ai/objectstack/pull/37437)) on; a +later prerelease may add more, and `os migrate meta` lists them. The entries +of the other 30 landed after 18.6.0 on the protocol-18 step, which +`os migrate meta --from 18` does not replay and `--from 17` does. #### Seeds @@ -323,6 +427,46 @@ not replay and `--from 17` does. - Record create and edit stop loading internal forms; a field gains a Show on create switch. [#36543](https://github.com/objectstack-ai/objectstack/pull/36543) +- `form` is a metadata type of its own, built with `defineForm` in a + `*.form.ts` module and listed under a stack's `forms:`; the Studio helper + that held the name is `defineMetadataForm`, in `*.metadata-form.ts`. + [#37366](https://github.com/objectstack-ai/objectstack/pull/37366) +- A knowledge source is a governed metadata type, `knowledge_source`: a source + written for 18 is refused at parse until it is moved, and + `os migrate meta --from 18 --write` applies the edits it can prove. + [#37676](https://github.com/objectstack-ai/objectstack/pull/37676) +- An agent's `model.provider` is retired; the deployment's AI settings choose + the provider. + [#37783](https://github.com/objectstack-ai/objectstack/pull/37783) +- A book audience names one gate, and a gated book claims its pages by name. + [#37870](https://github.com/objectstack-ai/objectstack/pull/37870) +- The `ask_ai` action type is retired; the shell's 「问 AI」 entry is the one + way into the assistant. + [#37924](https://github.com/objectstack-ai/objectstack/pull/37924) — on + `main` +- An action's `locations` say what it acts on: `list_toolbar`, `list_item`, + `record_header` and `record_more` are retired, and `record` is new. + [#37929](https://github.com/objectstack-ai/objectstack/pull/37929) — on + `main` +- A form view no longer declares `modalSize`. + [#38168](https://github.com/objectstack-ai/objectstack/pull/38168) — on + `main` +- A static chart node's series refuses the renderer-internal `measureFormat` + carrier by name. + [#38145](https://github.com/objectstack-ai/objectstack/pull/38145) — on + `main` +- The build-progress stream frame is retired from `@objectstack/spec/ai`. + [#38398](https://github.com/objectstack-ai/objectstack/pull/38398) — on + `main` +- One pending-confirmation service serves every AI door; the in-app + assistant's pending-action queue leaves `IAIService`. + [#38273](https://github.com/objectstack-ai/objectstack/pull/38273) — on + `main` +- A flow variable key may not use `__proto__`, `constructor` or `prototype` as + its name or any dot-separated part of it, and one run's writes never change + a flow's defaults. + [#38001](https://github.com/objectstack-ai/objectstack/pull/38001) — on + `main` #### Composition and packages @@ -340,6 +484,13 @@ not replay and `--from 17` does. - An `object_extension` amount naming a sibling `currencyField` the served object does not hold is refused at the save. [#35538](https://github.com/objectstack-ai/objectstack/pull/35538) +- A write naming no package is refused over the package-less row of a name + only disabled packages hold. + [#37584](https://github.com/objectstack-ai/objectstack/pull/37584) +- `POST /api/v1/packages/:id/adopt-orphans` is retired; loose items move by an + explicit selection through `POST /api/v1/packages/:id/move-in`. + [#38545](https://github.com/objectstack-ai/objectstack/pull/38545) — on + `main` #### Checks at the build and publish doors @@ -371,6 +522,61 @@ not replay and `--from 17` does. [#37382](https://github.com/objectstack-ai/objectstack/pull/37382) - One refusal names several declared reasons, each in the person's language. [#37395](https://github.com/objectstack-ai/objectstack/pull/37395) +- Four publish-time checks for data-model metadata that saves and does not + work: two refuse, two warn. + [#37513](https://github.com/objectstack-ai/objectstack/pull/37513) +- Three publish-time checks for seeds, flow nodes and actions that save and do + not work. + [#37807](https://github.com/objectstack-ai/objectstack/pull/37807) +- Publish-time checks for views, dashboards and the app shell that save and do + not work. + [#38107](https://github.com/objectstack-ai/objectstack/pull/38107) — on + `main` +- A `_relatedLists` translation key over a list the `.custom` arrangement + hides or re-states without a label is refused. + [#37600](https://github.com/objectstack-ai/objectstack/pull/37600) +- A flow condition that orders a bare date field against text before date + arithmetic on `record.FIELD` or `previous.FIELD` is refused, as its all-bare + and all-root spellings are. + [#37840](https://github.com/objectstack-ai/objectstack/pull/37840) +- A lookup `dependsOn` entry whose filter key names a formula of the + referenced object is refused at authoring. + [#37910](https://github.com/objectstack-ai/objectstack/pull/37910) +- A lookup filter's `$record` path to a structured field is refused where it + is written. + [#38096](https://github.com/objectstack-ai/objectstack/pull/38096) — on + `main` +- Publishing an object draft judges it by the current `ObjectSchema`. + [#38299](https://github.com/objectstack-ai/objectstack/pull/38299) — on + `main` + +#### Knowledge sources + +- A knowledge source is checked for its object, its fields and the search + gates that need no caller, in `os validate` and at publish. + [#37971](https://github.com/objectstack-ai/objectstack/pull/37971) — on + `main` +- A `knowledge_source` save is refused on a deployment that mounts no + knowledge service, and when it names an adapter the deployment does not + mount. + [#38013](https://github.com/objectstack-ai/objectstack/pull/38013), + [#38060](https://github.com/objectstack-ai/objectstack/pull/38060) — on + `main` +- A knowledge service the runtime mounts holds its sources, never building or + searching them, while no embedder or no deployment knowledge store is + mounted. + [#38470](https://github.com/objectstack-ai/objectstack/pull/38470) — on + `main` + +#### Sharing and permissions + +- View All and Modify All stop opening fields; `viewAllFields` is the one + "every field" bit. + [#37371](https://github.com/objectstack-ai/objectstack/pull/37371) +- A manual share or a sharing rule to a user id that names no user is refused + instead of stored as a grant that grants nothing. + [#38216](https://github.com/objectstack-ai/objectstack/pull/38216) — on + `main` #### Sign-in and sync-in @@ -404,8 +610,8 @@ Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the literal to rewrite, so there the command writes nothing and lists the range; change it by hand in each package manifest. 3. **List the line's registered entries.** `os migrate meta --from 17` also - replays the protocol-18 step, where 39 of the - [41 registered entries](#migrated-for-you) sit. Most are semantic entries: + replays the protocol-18 step, where the entries of 30 of the + [61 registered changesets](#migrated-for-you) sit. Most are semantic entries: for those the command rewrites nothing, and prints each with the surface, the replacement and how to tell it is done. 4. **Run the build, and fix what it refuses.** @@ -429,9 +635,9 @@ Reach 18.6.0 first, walking each 18.x page's upgrade checklist, through the environment you are not a member of, and a reject without a reason. -**Compiled from the changesets, not walked.** No `19.0.0-next.N` was -published when this page was written, so none of these steps has been run -against a published 19.x package. +**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. ## How a breaking change lands on this line