diff --git a/content/docs/releases/v17/17-4.mdx b/content/docs/releases/v17/17-4.mdx index db025b4173b..e4682a9918d 100644 --- a/content/docs/releases/v17/17-4.mdx +++ b/content/docs/releases/v17/17-4.mdx @@ -1,449 +1,729 @@ --- title: 17.4.0 -description: "Release notes for 17.4.0 of the v17 line, published 2026-09-09. ⚠️ MACHINE DRAFT — mechanically derived from the changesets, not yet curated." +description: "Release notes and upgrade checklist for 17.4.0 of the v17 line." --- - -⚠️ **This page is a machine draft, not curated release notes.** It carries the same section -shape as [17.3.0](/docs/releases/v17/17-3) and its siblings, so a reader lands where they -expect — but only the shape is finished. The content was generated by de-duplicating the -**396 changesets** that make up 17.4.0 across all 61 package `CHANGELOG.md` files (a changeset -that bumps six packages appears once here, not six times) and taking each one's own headline -verbatim. +## Highlights — 17.4.0 -⛔ **What has not happened.** No editorial pass: nothing dropped for being internal, nothing -merged into a themed narrative, nothing ranked. Deciding what is *user-facing* is a judgement -read out of these entries, and it is the maintainer's at release time. The two sections that -cannot be machine-derived — Highlights, and the upgrade checklist — say so where they stand -rather than being filled with a guess. +- **Every duration key carries its unit in its own name, and a gate keeps it + that way** (`e9fcd6b`, #14478, ruling B). A duration-shaped number may no + longer hide its unit in prose: `hook.timeout` / `job.timeout` / + `DriverOptions.timeout` become `timeoutMs`, `dashboard.refreshInterval` + becomes `refreshIntervalSeconds`, the tenant session pair becomes + `idleTimeoutSeconds` / `sessionTimeoutSeconds`, and the `api/`, `kernel/`, + `system/`, `data/`, `ui/`, `ai/` and `integration/` families move with them + (#15676–#15682, #14519). `check:duration-unit-keys` grandfathers nothing. + Every rename is a **parse-time refusal naming the key** — there are no + aliases, and the migration prescriptions are registered under protocol + major 18. +- **A static `readonly` field is stripped from a non-system INSERT, not only + from a non-system update** (`b398ad2`). The create-side strip used to live at + the REST ingress alone, so a caller reaching `engine.insert` directly — the + automation engine's `create_record` among them — wrote a read-only column with + no refusal and no warning. That column is now dropped, reported through + `onFieldsDropped` / `droppedFields`, logged at `warn`, and refused outright + under `strictReadonlyWrites`. ⚠️ **This changes behaviour on a running + deployment with nothing to parse-fail on.** Seeding a read-only column at + create time is a *system* act: use `context.isSystem`, a flow's + `runAs: 'system'`, a system hook or a seed. +- **`positions[]` on the session payload is the security axis** (`8e0b297`, + #15136). `customSession` built that array by comma-splitting a better-auth + column this platform does not own, and read nothing from `sys_user_position` + — so a Console gate narrowed by a business position answered FALSE for + everyone, including the person who held it, silently and in the invisible + direction. The hand-rolled derivation is deleted; the payload now comes from + the one authority every server-side evaluator already used, and agrees with + `/auth/me/permissions` set for set. No key is renamed and none is added. +- **`driver-turso`'s `timeout` is delivered or refused, and two inert keys are + gone** (`ed5d557`, `bc0ac1d`, `5071310`, `0145680`, #16024). `timeout` now + bounds remote operations; `localPath` and `wasm` leave the published config + schema; and every corner where `timeout` could be accepted and never + delivered — beside a `wss://` or `ws://` url in any case, beside a + pre-configured `client` in remote mode — is refused **at construction**. +- **Analytics date ranges close to the dashboard preset vocabulary** + (`233222e`, #16041). `timeDimensions[].dateRange`'s string arm accepted any + string, and its own documented example was a value no driver could parse. + It now accepts exactly the declared preset names or the `[start, end]` array + arm; anything else is `400 ANALYTICS_DATE_RANGE_UNRECOGNIZED`. `os lint` + gained the matching author-time refusal on date-typed comparands + (`9f890d3`, #16106). +- **One id space per flow.** `FlowSchema` refuses a duplicate id in the + top-level `nodes[]` (`53cf263`, #15713), a duplicate id in `edges[]` + (`52804cd`, #14964), and a region node whose id is already declared anywhere + else in the flow (`21aabbc`, #16134). Expression slots move with them: an + evaluated slot requires a non-blank `source` (`ef3a138`, #15430) and a typed + slot fixes its dialect on the envelope arm and refuses a blank string + (`f81afe3`, #15028, #15035). +- **The record handed to a record-change flow is a copy, not the write's + payload** (`4f85e4d`, #14744). A `script` node mutating a nested value in + place used to write the engine's own object — on a `multi: true` update, the + shared SET clause, so one dispatch's contribution landed on **every** matched + row without assigning a single key. Both flow-facing roots are decoupled + before the flow runs. +- **The client SDK declares the wire shapes better-auth actually sends** — the + `organizations.*` (`7092d63`, #14314), `auth.*` (`b1b978c`, #14313) and + `oauth.*` (`e944fdb`, #14312) families lose their published `any` returns, + and `oauth.applications.delete` resolves on the zero-byte 200 its route + answers instead of rejecting on every successful delete (`7beaaa3`, #15451). +- **The multi-organization runtime ships as open source** (`c677cda`). + `@objectstack/organizations` is a published package rather than a closed + half of the platform. +- **A flow can refuse with per-record text** (`3f89967`): the `end` node gains + `outcome` and an interpolated `message`, and the run vocabulary gains + `refused` — a business rejection stops having to present itself as a failure. +- **Console:** two objectui pin moves — `00d3f09c500c → a472b07167a3 → + 53ded82bf7a4` (`236f2df`, `30b0990`) — carrying six declared-breaking + frontend entries for Console hosts and authors. -**How to use it.** Prune. What survives, grouped and rewritten, is the release section. - +--- -**Published 2026-09-09**, taking over from [17.3.0](/docs/releases/v17/17-3) as the current -version of the v17 line. 396 changesets across 61 packages: 35 carrying a breaking -marker, 140 other `minor` entries, 221 `patch` entries. -## Highlights — 17.4.0 +## What's new in 17.4.0 -⛔ **Not written, and deliberately not guessed.** Every other release page opens with a short -list of what the release means for a reader — which of 396 changesets matter, and why. -That is the one section no mechanical pass can produce: it is a judgement about audience, not -a transformation of the entries below. Write it from the breaking list first. +17.4.0 was published to the `latest` tag on **2026-09-09**, five days after +17.3.0, moving the whole version-locked train and no major. The bundled Console +advances two pins, `00d3f09c500c → a472b07167a3 → 53ded82bf7a4`. -## What's new in 17.4.0 +⚠️ **Read this before treating the version number as a safety guarantee.** As +with every minor of this line, entries that landed after the 17.0.0 cut ship as +`minor` under the lockstep launch-window convention while being explicitly +breaking. Two things in this release change behaviour on a **running** +deployment with nothing to parse-fail on — the read-only strip on non-system +creates, and the meaning of `positions[]` on the session payload — and the +duration-key wave renames authored keys across seven schema families with no +aliases at all. ### Breaking changes & migration in 17.4.0 -⚠️ **Mechanically detected**, by a `!` in the entry's own conventional-commit prefix or the -literal `BREAKING` in its opening paragraph. ⛔ Neither the presence nor the absence of that -marker was verified against the diff — an unmarked breaking change would not appear here, and -this list is therefore a floor, never a clearance. - -- `be75493` — **BREAKING** `os lint --generator` now refuses to run without `--eval`, instead of accepting the flag and ignoring it. - `cli` -- `c8e5ac6` — retire `os create example` — it was a weaker `os init` plus a README, and the refusal now names `os init` (#16483, #15531) - `cli` -- `cee3961` — **BREAKING** `os create ` now refuses a project name that npm refuses, and refuses it before it writes anything. - `cli` -- `e9fcd6b` — a duration-shaped `z.number()` key carries its unit in the key name — `hook.timeout` / `job.timeout` / `DriverOptions.timeout` → `timeoutMs`, `MetadataManagerConfig.cache.databaseLoader.ttl` → `ttlMs` (the outer `cache.ttl` leaves outright under #15624 — nothing read it), tenant `idleTimeout` / `sessionTimeout` → `*Seconds`; new gate `check:duration-unit-keys` (#14478, #14519) - `cli`, `core`, `driver-memory`, `driver-turso`, `metadata`, `objectql`… -- `ffe058a` — **BREAKING** `os lint --eval --generator ""` now refuses instead of quietly running the offline eval, matching the rule the same flag already follows without `--eval`. - `cli` -- `7092d63` — the `organizations.*` family declares the wire shapes better-auth actually sends — nineteen published `Promise< any >` returns narrowed, twenty ledger entries closed (#14314) - `client` -- `7beaaa3` — `oauth.applications.delete` resolves on the zero-byte 200 its route answers, instead of rejecting on every successful delete (#15451) - `client` -- `b1b978c` — the `auth.*` family declares the wire shapes better-auth actually sends — thirteen published `Promise< any >` returns narrowed (#14313) - `client` -- `e944fdb` — the `oauth.*` family declares the wire shapes better-auth actually sends — four published `Promise< any >` returns narrowed (#14312) - `client` -- `10d05bb` — an array comparand is refused instead of compared by reference, and a `Date` comparand is compared by time value - `driver-memory`, `spec` -- `78bc4ad` — `findWithWindowFunctions()` presents its rows like every other read door — a declared boolean answers `true`, not `1` (#16609) - `driver-sql` -- `0145680` — `timeout` beside an UPPERCASE `WSS://` / `WS://` url in forced remote mode is refused at construction, closing the last corner of the same gap (ADR-0049 enforce-or-remove) - `driver-turso` -- `5071310` — `timeout` beside a pre-configured `client` in remote mode is refused at construction instead of being accepted and never delivered (ADR-0049 enforce-or-remove) - `driver-turso` -- `bc0ac1d` — `timeout` beside a `wss://` / `ws://` url is refused at construction instead of being accepted and never delivered (ADR-0049 enforce-or-remove) - `driver-turso` -- `ed5d557` — `timeout` bounds remote operations; `localPath` and `wasm` leave the published config schema (#16024, ADR-0049 enforce-or-remove) - `driver-turso`, `spec` -- `b398ad2` — **BREAKING (behaviour):** a static `readonly` field is now stripped from a **non-system caller's INSERT payload inside `engine.insert`**, exactly as it already was on `engine.update`. A non-system create that used to write a read-only column now has that column dropped, reported through `onFieldsDropped` / `droppedFields`, logged at `warn`, and refused outright under `strictReadonlyWrites`. Seeding a read-only column at create time is a **system** act — use `context.isSystem`, a flow's `runAs: 'system'`, a system hook or a seed. - `lint`, `metadata-protocol`, `objectql`, `service-automation`, `service-settings`, `spec` -- `e0af1a8` — `` / `` are retired from the react-tier component contract — `data={{ provider: 'object', object }}` / `type` are the only spellings (#14791) - `lint`, `spec` -- `7629f4d` — retire the three inert outer keys of `MetadataManagerConfig.cache` — `enabled`, `ttlSeconds` (formerly `ttl`) and `maxSize` — read by nothing; `cache.databaseLoader` is the only live half (#15624, ADR-0049) - `metadata`, `spec` -- `65846bc` — a batch ROW reports a unique-constraint refusal as `UNIQUE_VIOLATION` — the same wire spelling as the whole-request failure on the same route (#14723) - `metadata-protocol`, `objectql`, `rest` -- `8e0b297` — `positions[]` on the session payload is the SECURITY axis, not the better-auth […] scalar *(one word elided: ADR-0090 D3 reserved word)* (#15136) - `plugin-auth`, `spec` -- `afa3a26` — a non-member schedule `timezone` no longer discards the cron expression, and a schedule already holding one stops instead of firing on a cadence nobody asked for (#16291) - `plugin-reports` -- `233222e` — `timeDimensions[].dateRange`'s string arm closes to the date-range preset vocabulary; any other string is refused with `400 ANALYTICS_DATE_RANGE_UNRECOGNIZED` (#16041) - `runtime`, `spec` -- `21aabbc` — `FlowSchema` refuses a region node whose id is already declared elsewhere in the flow — one node-id space across the top-level `nodes[]` and every region body (#16134) - `spec` -- `414c1fc` — `ComponentPropsMap['element:record_picker'].filter` converges onto the `ViewFilterRule` array form — the last record-form `filter` in the map (#14406, objectui#6206 Option B) - `spec` -- `52804cd` — `FlowSchema` refuses a flow whose `edges[]` declares the same id twice (#14964) - `spec` -- `53cf263` — `FlowSchema` refuses a flow whose top-level `nodes[]` declares the same id twice (#15713) - `spec` -- `64bd6a3` — `composeStacks` `objectConflict: 'merge'` refuses object pairs whose object-level collections cannot be merged (#14848) - `spec` -- `6f1ce7d` — a text operator over a field whose DECLARED type can never store a string is refused at the engine's field-aware door — the contract rows (#15661) - `spec` -- `8f404a5` — `plugins` / `devPlugins` are artifact envelope keys — excluded from the assembled package body and refused inside `packages[]` (#15219) - `spec` -- `9c270bb` — `GanttConfigSchema` / `TreeConfigSchema` refuse undeclared keys — both `.passthrough()` windows are closed and the ten gantt members plugin-gantt read through the window are declared (#15469) - `spec` -- `c463d03` — retire the incident-response, training and change-management families whole — nineteen defs and every name they exported — and the `ESignatureConfig` deadline pair (#15513, #14477, ADR-0049) - `spec` -- `ef3a138` — an evaluated expression slot requires a non-blank `source` — `EvaluatedExpressionSchema`, composed by the `assignment` value envelope (#15430) - `spec` -- `f81afe3` — a typed expression slot fixes its dialect on the envelope arm too, and refuses a blank string (#15028, #15035) - `spec` -- `fb77aa5` — a `tree` field's `reference`, when present, must name the declaring object — any other target is refused at parse (#14892) - `spec` -- `4f85e4d` — the record handed to a record-change flow no longer aliases the write's payload (#14744) - `trigger-record-change` +**This section is triaged, not exhaustive.** An entry is written up here when +the change can be reached from something an application ships or operates — its +metadata, its data, its own code calling the SDK / REST / CLI, its deployment +config, or a plugin it authors. Everything else is left to the per-package +`CHANGELOG.md` files. The two Console pin refreshes are named once under [New in +Console](#new-in-console-studio--objectui-pins-in-1740) rather than enumerated +here. + +#### Every duration key carries its unit in its name (#14478, ruling B) + +`check:duration-unit-keys` is a new gate: a duration-shaped `z.number()` must +carry its unit in the key **name**, never only in its `.describe()` prose. It +grandfathers no existing offender, so the whole tree moved in one wave +(`e9fcd6b`, #15676–#15682, #14519, #16023). + +| you wrote | write instead | +|:--|:--| +| `hook.timeout`, `job.timeout`, `DriverOptions.timeout` | `timeoutMs` | +| `dashboard.refreshInterval` | `refreshIntervalSeconds` | +| tenant `idleTimeout` / `sessionTimeout` | `idleTimeoutSeconds` / `sessionTimeoutSeconds` | +| `MetadataManagerConfig.cache.databaseLoader.ttl` | `cache.databaseLoader.ttlMs` | +| `ApiEndpoint.cacheTtl`, `RestApiEndpoint.cacheTtl`, `DataLoaderConfig.cacheTtl` | `cacheTtlSeconds` | +| `RestApiEndpoint.timeout` | `timeoutMs` | +| `EnhancedApiError.retryAfter` | `retryAfterSeconds` | +| `DeviceRequestResponse.interval` | `intervalSeconds` | + +The `kernel/`, `system/`, `data/`, `ui/`, `ai/` and `integration/` families move +under the same rule; `driver-turso`'s published connection config and +`driver-memory`'s file-persistence auto-save interval move with them. + +**Migration.** Re-run `os validate` — the authorable surface has been strict +since 17.0.0, so each of these is a refusal naming the key rather than a silent +drop. The old spellings are tombstoned, not aliased, and the hand-migration +prescriptions are registered under protocol major 18. The three inert outer keys +of `MetadataManagerConfig.cache` — `enabled`, `ttlSeconds` (formerly `ttl`) and +`maxSize` — are removed outright rather than renamed, because nothing read them +(`7629f4d`, #15624, ADR-0049); `cache.databaseLoader` is the live half. + +#### A static `readonly` field is stripped from a non-system INSERT (`b398ad2`) + +`readonly` meant one thing on insert and another on update. Every external +REST / GraphQL / MCP create was stripped at the protocol ingress, while a caller +reaching `engine.insert` directly wrote the column with no refusal, no warning +and no dropped-field event. The ingress strip is **deleted** rather than kept as +a second implementation: every create face — `createData`, `cloneData`, +`createManyData`, `insertManyData` and `batchData`'s creating rows — now hands +the payload to the engine whole and reports the engine's own verdict in +`droppedFields`. + +**Migration.** Search for creates that seed a read-only column and declare them +trusted: `context.isSystem`, a flow's `runAs: 'system'`, a system hook or a +seed. A flow's `create_record` node without `runAs: 'system'` starts reporting a +node warning and `output.droppedFields` where it used to succeed cleanly. A +stripped key's `defaultValue` is re-derived, so a forged status column becomes +its declared default rather than NULL. `os lint` reports the shape ahead of +runtime: `flow-update-readonly-field` and `hook-api-update-readonly-field` now +carry an **error**-severity finding for a non-system create (`720bf47`), which +fails `os lint` / `os validate` / `os build` on a stack they used to accept. +`cloneData` forwards whole and reports on the wire too, through a new optional +`droppedFields` member on `CloneDataResponseSchema` (`e08892d`). Unchanged +deliberately: `preserveAudit` is still an update-path exemption, runtime-owned +types keep their own pass, and `readonlyWhen` still has no create-side strip. + +#### `positions[]` on the session payload is the security axis (#15136) + +`user.positions` in `GET /api/v1/auth/get-session` used to be assembled by +hand — a comma-split of a better-auth identity column this platform does not +own, plus the active membership, plus `platform_admin` — and read nothing from +`sys_user_position`, the ADR-0057 D4 table that is the source of truth. The +Console binds that array straight through as the CEL root `current_user`, so an +`action.visible`, `visibleWhen`, nav `visible` or page-tab gate narrowed by a +business position answered FALSE for everyone. + +⭐ It failed **silently and in the invisible direction**: the key was present, so +`has(current_user.positions)` was true, CEL raised nothing, and the predicate +simply returned FALSE. A predicate that *faults* fails open in the shell and +would have shown the button; a successful FALSE shows nothing and reports +nothing. The documented example (`'org_admin' in current_user.positions`) kept +working throughout, because `org_admin` is the one name sitting on both axes. + +**Migration.** No key is renamed and none is added — the payload now carries the +`sys_user_position` assignments and the ADR-0090 D5 `everyone` anchor, and +`isPlatformAdmin` is derived from the same array. A predicate that was written +against the old union, or a test pinning its members, is what moves. A consumer +that genuinely wants the third-party identity scalar reads it from its own +published key, which is unchanged. + +#### `driver-turso`'s `timeout` is delivered or refused (#16024, ADR-0049) + +`TursoDriverConfig.timeout` was declared with a describe promising behaviour no +code delivered. The maintainer ruled per key: forward `timeout`, remove +`localPath` and `wasm` (`ed5d557`). None of the three is renamed — an inert key +with a better name is what ADR-0049 exists to prevent. The corners where the key +could still be accepted and never delivered are now refused **at construction**: +beside a `wss://` or `ws://` url (`bc0ac1d`), beside the same url spelled in +upper case in forced remote mode (`0145680`), and beside a pre-configured +`client` in remote mode (`5071310`). + +**Migration.** Delete `localPath` and `wasm` from the driver config. If a +datasource declares `timeout` together with a websocket url or a pre-built +client, drop one of the two — construction now refuses the pair instead of +accepting it and ignoring the bound. + +#### Analytics date ranges close to a declared vocabulary (#16041) + +`AnalyticsQuerySchema.timeDimensions[].dateRange` — and with it the +`POST /analytics/query` and `/analytics/sql` bodies and the `AnalyticsQuery` +type every driver is compiled against — accepted any string. It now accepts +exactly the dashboard date-range preset names or the `[start, end]` array arm; +anything else is refused `400 ANALYTICS_DATE_RANGE_UNRECOGNIZED` (`233222e`). + +**Migration.** Replace free-text ranges with a declared preset name or an +explicit `[start, end]` pair. `os lint` refuses a preset name used as a +comparand on a declared `date` / `datetime` field in every position — bare, +`$eq` / `$ne`, `$in` / `$nin` and their view-rule and triple spellings — and +prescribes the interpolated form (`9f890d3`, #16106), so the authoring-time gap +that let a filter through to an `INVALID_FILTER` on first render is closed. +Resolution moved with the vocabulary: `driver-memory` resolves a string +`dateRange` on the UTC calendar (`5f4f1f6`, #15825) and honours +`AnalyticsQuery.timezone` when one is declared (`1cf7392`, #16042). + +#### One id space per flow, and expression slots that must say something + +- **`FlowSchema` refuses a duplicate node id** in the top-level `nodes[]` + (`53cf263`, #15713), **a duplicate edge id** in `edges[]` (`52804cd`, + #14964), and **a region node whose id is already declared elsewhere in the + flow** (`21aabbc`, #16134) — one node-id space across the top-level list and + every region body. +- **An evaluated expression slot requires a non-blank `source`** + (`ef3a138`, #15430), and **a typed expression slot fixes its dialect on the + envelope arm** and refuses a blank string (`f81afe3`, #15028, #15035). + +**Migration.** All five are parse-time refusals naming the offending id or slot. +Re-run `os validate`; a flow that authored two nodes with one id was already +ambiguous about which one an edge addressed. + +#### The record a record-change flow receives is a copy (#14744) + +`buildContext` built the flow's `record` as a shallow overlay, so the top-level +object was new but every nested value inside it was the engine's own object, +shared by reference. One of those is `ctx.input.data` — and on a `multi: true` +update every per-row context receives that same payload object, which is the SET +clause of the single `updateMany`. A registered function doing +`record.tags.push(...)` therefore wrote the SET clause without assigning any +key: every dispatch's contribution landed on **every** matched row, including +values derived from another row's pre-image, and the existing key-set refusal +could not see it because no key was assigned. Both flow-facing roots — `record` +(with its `params` alias) and `previous` — are now decoupled from engine state +before the flow runs (`4f85e4d`). + +**Migration.** A `script` node that mutated a nested value in place to affect the +write must assign instead. Nothing metadata-shaped moves: no key, no schema, no +stored row. + +#### The client SDK declares what the server sends + +Four published contracts stop being `any` or wrong. The `organizations.*` +(`7092d63`, #14314), `auth.*` (`b1b978c`, #14313) and `oauth.*` +(`e944fdb`, #14312) families declare the wire shapes better-auth sends, and +`oauth.applications.delete` resolves on the zero-byte 200 its route answers +instead of rejecting on every successful delete (`7beaaa3`, #15451). + +**Migration.** A TypeScript caller reading a member the route never sent now +sees it at build time — that red is the contract arriving, not a regression. A +caller that wrapped `oauth.applications.delete` in a catch to swallow its +spurious rejection can drop the wrapper. + +#### Author-time refusals that can fail a stack which built clean on 17.3.0 + +Re-run `os validate` / `os build` after upgrading. Each of these is a parse-time +refusal naming the key, not a silent drop: + +- **`` and `` are retired from the + react-tier component contract** (`e0af1a8`, #14791). Write + `data={{ provider: 'object', object: 'account' }}` and `type` instead; + `validate-react-page-props` refuses either retired spelling with a + `react-prop-retired` error where it used to warn and accept, and a react page + with no binding at all is refused too. +- **`ComponentPropsMap['element:record_picker'].filter` converges onto the + `ViewFilterRule` array form** (`414c1fc`, #14406) — the last record-form + `filter` in the map. +- **`GanttConfigSchema` and `TreeConfigSchema` refuse undeclared keys** + (`9c270bb`, #15469): both passthrough windows are closed, and the ten gantt + members that were read through the window are declared by name. +- **A `tree` field's `reference`, when present, must name the declaring + object** (`fb77aa5`, #14892); a whitespace-only `reference` on + `lookup` / `master_detail` is refused too (`859ded3`). +- **`plugins` and `devPlugins` are artifact envelope keys** — excluded from the + assembled package body and refused inside `packages[]` (`8f404a5`, #15219). +- **`composeStacks` with `objectConflict: 'merge'` refuses object pairs whose + object-level collections cannot be merged** (`64bd6a3`, #14848) rather than + producing a silently lossy merge. +- **The incident-response, training and change-management families are retired + whole** — nineteen defs and every name they exported — together with the + `ESignatureConfig` deadline pair (`c463d03`, #15513, #14477, ADR-0049), and + `connector.errorMapping`'s eleven authorable keys go with them, one of them + spelled like the live `userMessage` channel (`13c48c2`, #14676). The whole + migration is "delete the key". +- **A non-member schedule `timezone` no longer discards the cron expression** + (`afa3a26`, #16291): the schedule is refused, and one already holding an + off-vocabulary zone stops instead of firing on a cadence nobody asked for. + `sys_job.timezone`, `sys_report_schedule.timezone`, `sys_business_unit.timezone` + and `sys_organization.timezone` are all validated against the IANA domain + (`0a038cc`, `6acb37e`, #15872, #14238). + +#### Runtime and driver behaviour changes worth checking + +- **A batch row reports a unique-constraint refusal as `UNIQUE_VIOLATION`** + (`65846bc`, #14723), where it reported `DUPLICATE_RECORD`. The whole-request + failure on the same route already answered `UNIQUE_VIOLATION`, so two + spellings of one condition sat side by side in one route's responses. Pin the + new one. +- **An array comparand is refused instead of compared by reference, and a + `Date` comparand is compared by time value** (`10d05bb`) on `driver-memory`. +- **A text operator over a field whose declared type can never store a string + is refused at the engine's field-aware door** (`6f1ce7d`, #15661), and the + three SQL compilers lower the same contract rows (`a646120`). +- **`findWithWindowFunctions()` presents its rows like every other read door** + — a declared boolean answers `true`, not `1` (`78bc4ad`, #16609). +- **Datetime columns answer the canonical instant text on every dialect.** The + builtin audit stamps and every declared `Field.datetime` column render as + `YYYY-MM-DDTHH:MM:SS.sssZ` on Postgres and MySQL as they always have on + SQLite (`45cfa1b`, ADR-0053 addendum, #13973). +- **`ObjectQL.find()` guarantees the array it declares** — an `afterFind` hook + that replaces the result container is refused with + `FIND_HOOK_RESULT_NOT_ARRAY` (`7778115`). +- **`Field.valueDomain` binds at the write seam** — a non-member is refused with + `value_domain` (`fa125f3`), and the settings door answers from the same one + predicate (`6b8c677`, #15162). +- **Dispatcher domain routes stop claiming their lexical neighbours**: + `DomainRoute.match` defaults to `'segment'`, so `/auth` no longer answers for + `/authx` or `/authentication/foo` (`ce8bfc9`, `c1eafe6`). + +#### Smaller breaking changes in 17.4.0 + +- **`kernel.use()` and `LiteKernel.use()` enforce the declared plugin contract** + (`2025b1f`, `51ae731`): a plugin object `PluginSchema` refuses is refused at + load on both published kernels instead of being stored and mounted. A `ui` + plugin must now declare `staticPath` and `slug` (`2a3decc`). +- **`ResolvedAuthzContext.authRefusal` is removed** — a published member nothing + ever read (`b0529e1`, #14273). +- **`os create example` is retired**; the refusal names `os init` (`c8e5ac6`, + #16483, #15531). +- **`os create ` refuses a project name npm refuses**, and refuses + it before it writes anything (`cee3961`). `os create plugin` derives the + exported symbol as a JavaScript identifier rather than copying the project + name into an identifier position (`ce8caba`). +- **`os lint --generator` refuses to run without `--eval`** instead of accepting + the flag and ignoring it (`be75493`), and `os lint --eval --generator ""` + refuses rather than quietly running the offline eval (`ffe058a`). +- **`GET /api/v1/packages`, `GET /api/v1/packages/:id` and + `DELETE /api/v1/packages/:id` have one implementation** — the runtime + dispatcher's `/packages` domain. `@objectstack/rest` mounts + `POST /api/v1/packages/publish` and nothing else (`7370989`). +- **`POST /packages/:id/duplicate` refuses a source that is not a writable + base** instead of answering `200` with an empty copy (`bca21f7`). +- **Every `metadata.endpoints.*` switch gates exactly the face its name + states**, and the whole-store operations get their own `maintenance` key + (`784cb92`, #15542, #15854). +- **Published `.js.map` files no longer embed the complete original source + text** (`c5d6803`). `sourcesContent` was an esbuild default nobody had chosen; + every package's full source, `@internal` comments included, was shipping to + npm inside its source maps. ### New capabilities in 17.4.0 -Every remaining `minor`-bumping changeset, verbatim. - -- `000fd05` — `os generate migration` now emits the character column `driver-sql` actually creates, in both the TypeScript and the SQL format. - `cli` -- `0cde37d` — `objectstack lint` now judges hooks authored as inline `handler` functions with the same write-set rules it already applied to explicit `body` hooks. - `cli`, `lint` -- `25011b0` — point `@objectstack/cli/console` at a public barrel with a name-and-shape pin - `cli` -- `2da2901` — `os lint --strict` makes warning-severity findings fail the run, so an app can rely on the platform's warning-level rules as its gate instead of re-implementing them locally (#15935) - `cli` -- `4a1a3b0` — `os lint` no longer crashes on a localized label. - `cli` -- `6b7d709` — `objectstack validate` now lowers hooks authored as inline `handler` functions to a metadata body before it parses, so the hook write-set rules judge them there exactly as `objectstack build` and `objectstack lint` already do. - `cli`, `lint` -- `95d5cbb` — Ratify `./hook-body` as a public subpath export — `extractHookBody`, `HookBodyExtractionError`, `HookBodyRefusalKind` and `ExtractedBody` were reachable as a deep `dist/utils/extract-hook-body.js` import until #13123 sealed the surface, and an app's hook-body fidelity harness (hotcrm's `test/helpers/action-sandbox.ts`) consumes them to run the SAME body-only lowering `os build` ships through the real QuickJS runner, so a test executes what production executes rather than a lookalike. The #13123 body names exactly this remedy for an out-of-repo consumer — ratify the subpath as public surface rather than read `dist/` paths — and 17.3.0 applied it to `./console` for cloud's `objectos-runtime`; this applies it to the second consumer (#15325). `@objectstack/cli/hook-body` is a dedicated entry that re-exports those four names and nothing else; the deep `dist/` path stays sealed. Also admits `./package.json`, so the ordinary tooling idiom of reading a dependency's own manifest resolves again. - `cli` -- `984f1da` — `scoreMetadata` no longer scores a stack whose linter crashed as a perfect one. - `cli` -- `9c3fda5` — `os lint --eval --json` now carries the ADR-0112 error carriers on its generator-load failure, instead of a bare `{error}`. - `cli` -- `acab609` — `os serve`'s runtime state file is keyed by the PROJECT, not by the environment id alone — so two projects on one machine stop overwriting each other's supervision record. - `cli` -- `cf6b671` — `os create` now emits a project that installs outside this monorepo. - `cli` -- `ec0a6e7` — `backfillSummaryNulls` accepts `recomputeUndefinedOnEmpty` — a caller who KNOWS a `min`/`max`/`avg` roll-up column was just declared can have it filled; `os migrate summary-nulls --recompute-undefined-on-empty object.field` surfaces it (#15064) - `cli`, `objectql` -- `61b4eb3` — `client.meta.getHistory` answers the published `HistoryMetaItemResponse` on **both** of its exits, and the route ledger names the schema. - `client`, `rest` -- `68437d4` — The automation resume route's `400 FLOW_FAILED` now says whether the run is stranded. - `client`, `runtime`, `spec` -- `e08892d` — `cloneData` reports `droppedFields` like every other create face: `CloneDataResponseSchema` (`@objectstack/spec/api`) gains an optional `droppedFields` member of the same shape as `CreateDataResponseSchema`'s, and the `POST /data/:object/:id/clone` 201 body carries it whenever the engine stripped a static `readonly` column from the clone. - `client`, `metadata-protocol`, `spec` -- `236f2df` — Console (objectui) refreshed to `a472b07167a3`. Frontend changes in this range: - `console` -- `30b0990` — Console (objectui) refreshed to `53ded82bf7a4`. Frontend changes in this range: - `console` -- `2025b1f` — `kernel.use()` now enforces the declared plugin contract. A plugin object that `PluginSchema` (`@objectstack/spec`, `kernel/plugin.zod.ts`) refuses is refused at load instead of being stored and mounted. - `core` -- `2a3decc` — `PluginSchema` now REQUIRES `staticPath` and `slug` when `type` is `'ui'`, and core's `Plugin` interface inherits every `PluginSchema` key from `PluginDefinition` instead of restating two of them. - `core`, `spec` -- `2ed6be6` — Advisory validation rules no longer flood the startup log, and no longer count a row twice on a clean first boot. - `core`, `metadata-protocol`, `objectql` -- `51ae731` — `LiteKernel.use()` now enforces the declared plugin contract — the same check, the same refusal, as `ObjectKernel.use()`. A plugin object that `PluginSchema` (`@objectstack/spec`, `kernel/plugin.zod.ts`) refuses is refused at registration on **both** published kernels instead of on one. - `core` -- `66dc6ab` — Plugin startup elapsed time is now reported as `durationMs` — the unit-bearing name the spec contract for the same result declares. `startTime`, which never held a start time, is deprecated and still populated. - `core` -- `b0529e1` — `ResolvedAuthzContext.authRefusal` is removed — a published member nothing ever read (#14273) - `core` -- `cc00df2` — ADR-0087 semantic-migration ledger: register the retirement of `@objectstack/core`'s `PluginSecurityScanner` (#14919) - `core`, `spec` -- `cf9bda4` — The kernel's in-memory i18n fallback learns the declared `i18n.fallbackLocale`, so one declaration stops answering two ways (#15694) - `core`, `runtime`, `spec` -- `4998efa` — Scaffolded projects now ship a CI workflow, and a `lint` script for it to run. - `create-objectstack` -- `813d6c5` — `npx create-objectstack` now declares the same TypeScript range as `os init` and - `create-objectstack` -- `fd75728` — Scaffolded projects now install the AI skills bundle for **one** agent runtime - `create-objectstack` -- `1cf7392` — `driver-memory` analytics honours `AnalyticsQuery.timezone` when it resolves a string `dateRange`, instead of accepting the field and answering on UTC (#16042) - `driver-memory` -- `2003259` — `find()`, `findOne()` and `create()` publish their declared types (#14435) - `driver-memory` -- `5f4f1f6` — `driver-memory` analytics resolves `dateRange` on the UTC calendar, so `'today'` and `last N ...` stop being offset by the process timezone (#15825) - `driver-memory` -- `a646120` — The three SQL compilers in this package — the RLS read-scope lowering (`compileScopedFilterToSql`), `NativeSQLStrategy`'s own `where` and the `ObjectQLStrategy` SQL echo — compile a text operator over a column whose declared type stores no text to the contract's declared answer. - `driver-memory`, `driver-sql`, `driver-turso`, `service-analytics`, `spec` -- `2200f8e` — `update()` publishes its honest type — the contract's `Record | null`, not `any` (#14438) - `driver-sql`, `driver-turso` -- `33e939f` — Schema drift now reports a SINGLE-VALUE JSON-class column that a stale `varchar`/`text` column is holding — the population the detector could never see. - `driver-sql` -- `45cfa1b` — The record read doors present the builtin audit stamps (`created_at`, `updated_at`) and every declared `Field.datetime` column as the canonical instant text `YYYY-MM-DDTHH:MM:SS.sssZ` on EVERY dialect — Postgres and MySQL now included, exactly as SQLite always has (ADR-0053 addendum D-F1..D-F3, #13973). - `driver-sql` -- `54bb2f1` — The analytics SQL compilers compile the case-sensitive text family per dialect, so a `$contains` policy on SQLite stops admitting rows it excludes (#15684) - `driver-sql`, `service-analytics` -- `6d4d5d3` — `SqlDriver.aggregate` answers `0` — not `null` — for a `sum` over a group whose aggregand is NULL in every row, matching the engine's in-memory aggregate tier and the identity `emptyGroupValueFor` already declares (#15546; maintainer ruling 2026-09-07, option A: a non-empty group whose aggregand is absent and an empty group are the SAME case for `sum`, and the SQL face is the one that moves). - `driver-sql`, `driver-turso`, `spec` -- `7862fb7` — `SqlDriver`'s object-definition parameters now DECLARE every key they read. `initObjects` accepts `lifecycle`, and the whole rotation chain — `rotateShards`, `ensureRotation`, `ensureShardTable` — accepts `tenancy` and `indexes`, spelled as a **fresh object literal** rather than only as a value bound to a variable first. - `driver-sql`, `driver-sqlite-wasm`, `driver-turso` -- `b72226f` — `SqlDriver.initObjects()` and `SqlDriver.registerObjectMetadata()` now declare the `indexes` key they have always read. - `driver-sql`, `driver-sqlite-wasm` -- `098cbb7` — `validateExpression` now refuses a non-string expression `source` through `errors[]`, instead of throwing a raw `TypeError` that wiped out the caller's located reporting. - `formula` -- `cfb64a6` — `createHonoApp` mounts the auth surface where the auth service actually serves, and refuses a prefix it cannot serve it under. - `hono`, `plugin-auth` -- `36a16d0` — Two new widget-binding rule ids for a chart widget with an empty selection - `lint` -- `56fe8c2` — A flow predicate authored as a CEL envelope is now refused at build time, instead of running unread by either validator. - `lint`, `service-automation`, `spec` -- `615fac3` — A publish now refuses an object whose `highlightFields` names a field that does not exist on it — the same gate that refuses a code-authored stack. - `lint`, `metadata-protocol` -- `720bf47` — `flow-update-readonly-field` and `hook-api-update-readonly-field` now report a non-system **create** of a static-`readonly` field — a new **error**-severity finding that fails `os lint` / `os validate` / `os build` on a shape they used to accept. - `lint` -- `9408b7f` — A flow condition that is neither CEL text nor an expression is now refused at build time, instead of being read as an empty condition and answering a silent `false`. - `lint`, `service-automation`, `spec` -- `954cb0b` — an `assignment` value may be a CEL envelope — evaluated at run time, validated at `registerFlow`, `objectstack validate` and the runtime publish gate (#15137, the executor half of #14149) - `lint`, `service-automation` -- `9f890d3` — `filter-preset-comparand` gains a FIELD-TYPED arm (#16106, maintainer-ruled 1′): on a declared `date` / `datetime` field, a dashboard date-range preset name (`last_30_days`, `this_quarter`, …) is now refused in EVERY comparand position — bare (implicit equality), `$eq` / `$ne`, `$in` / `$nin`, and their view-rule (`equals` / `not_equals` / `in` / `not_in`) and triple (`=` / `!=` / `in` / `nin`) spellings — with the same located message and prescription the ordering positions already carry (`{ $gte: '{30_days_ago}' }` for `last_30_days`, and so on). The field type is read from the stack's own object graph: a dashboard widget or report through its `dataset` to that dataset's `object`, a view through `data.object`, a flow CRUD node through `config.objectName`, a page component through `dataSource` / `properties`, an object's own list views and `relatedListFilter`, a summary field's child object. A position the graph cannot bind, a registry-injected column, a `time` field, or a select / text column stays unjudged — equality against a picklist value that collides with a preset name is a working filter. The field-agnostic schema door in `@objectstack/spec` keeps its ordering-only boundary unchanged; this closes the authoring-time gap where `objectstack lint` and the runtime publish gate accepted a filter the engine then refused with `INVALID_FILTER` / 400 on first render. - `lint`, `spec` -- `a87163c` — New advisory rule `field-no-consumers` (`validateFieldConsumers`): a field declared on an object that nothing in the stack reads or displays is reported as a `warning` by `os validate`, `os build` and `os lint`. - `lint` -- `b4b37e5` — The object publish door now refuses an object whose `searchableFields` entry, or whose built-in list view's `columns` (and every other field-naming position on that list view), names a field the object does not have. - `lint`, `metadata-protocol` -- `c01b3a6` — `chart-field-unknown` drops to `warning` on the three `chartConfig` binding keys the pinned renderer refuses, and says what actually happens - `lint` -- `cd55558` — `widget-measures-missing` — the empty-measure selection is reported on every widget family, not just charts - `lint` -- `d61bad0` — New gating rule `flow-filter-token-unknown`: a `{…}` filter token in a flow node's `config.filter` that NEITHER `{…}` dialect can resolve is now an authoring-time `error`. - `lint` -- `3bd9b34` — `deriveViewContainerObject` gets a leaf `/view-container` subpath, so objectql's lean ADR-0076 entry stops loading the manager, chokidar, glob and js-yaml for a six-line pure function - `metadata`, `objectql` -- `8647c87` — A completed run of the ADR-0030 notification cut-over now records itself in the `sys_migration` deployment ledger, per the ruled claim matrix. - `metadata` -- `a56baa2` — a keyed plural read on `MetadataManager`, `listNames` fault parity, and an action audit that answers from the same identity and sources as the router - `metadata`, `objectql` -- `c1d274d` — two files sharing one stem are refused with both paths named, instead of one being listed twice and served by extension precedence (#14921) - `metadata` -- `6491463` — `/discovery` stops advertising a realtime service that has no mounted surface, and "what counts as a subscribable channel" becomes one explicit definition. - `metadata-protocol`, `runtime`, `spec` -- `c1d8f98` — Seed datasets gain a `locale` filter axis, composed with `env` by the loader. - `metadata-protocol`, `spec` -- `d2b6fa0` — Stop persisting the caller's `_packageId` / `_packageVersion` / `_provenance`, and restate tenant authorship at hydration for every metadata type. - `metadata-protocol` -- `11f848e` — `ReadonlyFieldRejectedError`'s error `code` is now an importable constant. - `objectql` -- `33388f9` — Engine refusals now declare their HTTP status under both spellings: `httpStatus` beside the existing `status`, same number, at every producer in the package. - `objectql` -- `48b0fcf` — `@objectstack/objectql` now publishes a recognizer for the org-less system-write refusal, so a consumer no longer has to choose between an unsound check and a re-spelled string. - `objectql` -- `6d7d740` — `ValidationError` publishes its error `code` as an importable constant — the last row of #16159's census. - `objectql` -- `7778115` — `ObjectQL.find()` now guarantees the array it declares: an `afterFind` hook that replaces the result container is refused with `FIND_HOOK_RESULT_NOT_ARRAY`. - `objectql`, `spec` -- `d0ee598` — the boot loop refuses a view container whose `name` disagrees with the object it binds to, instead of silently rewriting the author's field (#14666) - `objectql` -- `ddfbf04` — Three more engine refusals publish their error `code` as an importable constant. - `objectql` -- `e6279dc` — The registry's three conflict refusals now publish their error `code` as an importable constant. - `objectql` -- `eddd612` — Both transaction-seam refusals publish their error `code` as an importable constant. - `objectql` -- `f7ffbd6` — `accept-language: zh` now reads a Chinese refusal on the response whose labels are already Chinese. - `objectql` -- `f9a3c32` — the Layer 0 tenant wall records its verdict on the operation, and the bulk data-event producer reads it instead of re-deriving the wall - `objectql`, `plugin-security`, `spec` -- `fa125f3` — `Field.valueDomain` binds at the write seam — a non-member is refused with `value_domain` (maintainer ruling 2026-09-02 on #14168, engine half) - `objectql`, `spec` -- `c677cda` — Ship the multi-organization runtime as open source: `@objectstack/organizations` is now an - `organizations`, `plugin-security`, `service-cluster`, `spec` -- `0a038cc` — `sys_job.timezone` and `sys_report_schedule.timezone` are validated against the IANA domain (#15872) - `platform-objects` -- `4ca358d` — `sys_session.revoke_reason` accepts `organization_membership_ended` — "Remove member" now actually signs the person out - `platform-objects`, `plugin-auth` -- `6acb37e` — `sys_business_unit.timezone` and `sys_organization.timezone` — the organization hierarchy carries the IANA zone a date boundary is computed in (#14238) - `platform-objects`, `plugin-auth` -- `7797102` — `sys_organization` admits generic `update` on the data door, column-gated by the ADR-0092 D2 identity write guard (#15873 — maintainer ruling 2026-09-07, decision batch #64, option (a), verbatim 「同意」). - `platform-objects` -- `a83482c` — The three platform record pages carry a translated label in every shipped locale. - `platform-objects` -- `3d3f60e` — An approval decision that lands while its flow run strands now says so in fields, not only in prose. - `plugin-approvals`, `rest`, `types` -- `4c31f02` — The stranded-request inspection tells a repairable strand from a cascade-failed run — through a dedicated read-only engine member, not through the wire (#15358, ruling B′). - `plugin-approvals`, `service-automation` -- `6530e04` — A restored approval suspension can now be decided again, not only cancelled. - `plugin-approvals` -- `142c01c` — MCP OAuth can complete again: the MCP resource is registered as an RFC 8707 resource and DCR-registered clients are linked to it, so `authorize?resource=` no longer answers `invalid_target`. - `plugin-auth` -- `aedbaef` — `POST /sign-up/email` for an address that already has a `sys_user` row is refused explicitly, instead of answering 200 for a row that is never written (#15587) - `plugin-auth`, `spec` -- `5f7fa1d` — `GET /auth/me/localization` → `locale` is now the signed-in user's language — `sys_user.locale` when set, then the request's `Accept-Language`, then the deployment default (#14788) - `plugin-hono-server`, `spec` -- `6615a02` — the current-user faces assemble their `ExecutionContext` through the shared assembler (#15747) - `plugin-hono-server` -- `4db3c61` — `publicSharing.enabled` now has one canonical predicate, exported from the package that declares the key. - `plugin-sharing`, `runtime`, `spec` -- `9fa5775` — the `field` sharing recipient is enforced — expanded once per matched record - `plugin-sharing` -- `46803fa` — the authored label is the default locale's text — `ResolveOptions.defaultLocale` skips the fallback chain for a default-locale request, and a chain-less caller no longer falls to a literal `en` (#15711) - `rest`, `spec` -- `7370989` — `GET /api/v1/packages`, `GET /api/v1/packages/:id` and `DELETE /api/v1/packages/:id` have one implementation: the runtime dispatcher's `/packages` domain. `@objectstack/rest`'s `registerPackageRoutes` no longer mounts its own copies of those three routes; it mounts `POST /api/v1/packages/publish` and nothing else. - `rest` -- `784cb92` — every `metadata.endpoints.*` switch gates exactly the face its name states, and the whole-store operations get their own key `maintenance` (#15542, #15854) - `rest`, `spec` -- `a84e1ce` — `II18nService.getFallbackLocale()` — the declared fallback locale is readable, so the metadata-document translators can be handed the chain the deployment declared (#14882) - `rest`, `service-i18n`, `spec` -- `f5cc78b` — the generic declared-status passthrough names its object on both error doors (#14725) - `rest` -- `1ecee3e` — every `defineStack` refusal carries an ADR-0112 envelope — six new `STACK_*` codes beside `STACK_CROSS_REFERENCE_INVALID` (#15963) - `runtime`, `spec` -- `2c753fe` — a flow action's run context now carries `recordLoadDenied` (#15168) - `runtime`, `spec` -- `3e560da` — `GET /api/v1/health` answers 200 whenever the process can serve HTTP, even while a configuration fault is making every other route 503. - `runtime` -- `44c849c` — The two operator run-lifecycle verbs get a door: `POST /automation/:name/runs/:runId/cancel` and `POST /automation/:name/runs/:runId/restore-suspension`, both gated on the platform operator. - `runtime` -- `8a12067` — the platform action route executes the declarative row-level `operation: 'update'` action (#14092) - `runtime` -- `92b5d7f` — `POST /api/v1/packages` now answers an install-time namespace collision with `error.code: "NAMESPACE_CONFLICT"`. `NAMESPACE_CONFLICT` is registered in `ERROR_CODE_LEDGER` under `@objectstack/objectql`, so the closed ADR-0112 vocabulary (`StandardErrorCode ∪ ERROR_CODE_LEDGER`) gains one member and a caller can branch on the refusal directly. - `runtime`, `spec` -- `b31ebfe` — A screen flow can now be completed by a headless caller, and `list_actions` publishes its input names. - `runtime`, `service-automation` -- `bca21f7` — `POST /packages/:id/duplicate` now refuses a source that is not a writable base, instead of answering `200` with an empty copy. - `runtime`, `spec` -- `ce8bfc9` — Dispatcher domain routes stop claiming their lexical neighbours: `DomainRoute.match` now defaults to `'segment'`, and the project-membership skip list gained the same boundary. - `runtime` -- `de75e40` — The `/keys` mint gate and the install-wide activation-write gate classify a tenancy resolution failure instead of reading it as "no wall" - `runtime` -- `f2f6684` — Package lifecycle state is keyed by the PROJECT as well as the environment id, so two projects on one machine stop sharing which packages an operator has disabled. - `runtime` -- `07f40e5` — A dataset measure's `fields[].type` stops contradicting the value beside it: a `min`/`max` over a temporal field is described as `time`, not `number` (#15768) - `service-analytics`, `spec` -- `6136293` — A `min`/`max` over a string-valued field is described as `string`, not `number` (#16098) - `service-analytics` -- `6573af9` — A draft-preview `min`/`max` answers the operand's own type instead of `0`, and a preview dimension column is described by its own type - `service-analytics` -- `5964124` — a resume that consumed the pause and then failed downstream answers `status: 'stranded'` (#13937) - `service-automation` -- `5a91387` — `evaluateCondition` now refuses a malformed condition shape with the same `STRUCTURAL_CONDITION_SHAPE_REFUSAL` registration already raises — evaluation and registration share one refusal, so a shape that slipped past registration can never surface as a raw `TypeError` or as a silent `false`. - `service-automation` -- `65ec530` — The run step log tells a `parallel` branch apart from a `loop` row: `iteration` is the enclosing loop's iteration, always, and the branch index moves to `branch`. - `service-automation` -- `8341ed2` — A scheduled (cron) flow is now delivered once per tick window, and replaying a window that was already delivered is refused instead of silently sent again. - `service-automation`, `service-job`, `trigger-schedule` -- `d30ccb9` — A contained per-iteration failure is now visible at run level, attributed to its iteration, and bound to its row. - `service-automation` -- `6b8c677` — the settings door answers from the ONE shared value-domain predicate, and refuses a non-member with `value_domain` (#15162) - `service-settings` -- `dd2184a` — `mountStorageRoutes` — mount the storage routes on a host-owned HTTP surface, composed from a kernel that has no `http-server` service (#15169) - `service-storage` -- `13c48c2` — retire `connector.errorMapping` — eleven authorable keys nothing ever read, one of them spelled like the live `userMessage` channel (#14676, ADR-0049) - `spec` -- `222dc0f` — `IJobService.replay` gains an optional third argument, `options?: JobReplayOptions`, carrying `force: true` (#14766 — the contract half of the #14501 A+a2 ruling) - `spec` -- `3e3ecb0` — The model-facing solution-blueprint mirror can no longer generate an identifier the applier rejects. - `spec` -- `3f89967` — A flow can now REFUSE with per-record text: the `end` node gains `outcome` and an interpolated `message`, and the run vocabulary gains `refused`. - `spec` -- `4cfc93b` — `objectNavTargetExclusivity` — the object-level check on an object navigation item that refuses `filters` combined with `recordId` / `viewName`, and `runAction` combined with `recordId` — is now EXPORTED from `@objectstack/spec/ui`, one function per refinement in the same posture as the `check*` exports. A hand-written mirror of the object nav item chains this very function in its own `superRefine` instead of restating the rule from prose; a restatement is what drifts: objectui's hand-written mirror re-implements neither rule — its `superRefine` checks only `id` / `label`, and the file names no `filters` rule beyond the field's declaration (measured at the pinned `.objectui-sha` and at objectui `origin/main`). - `spec` -- `554a160` — `translatePage` now reads a region-level `page:header` by **page name only**. The id route - `spec` -- `581d8f8` — `TryCatchErrorValueSchema` declares the `code` key the `try_catch` engine binds (#14954) - `spec` -- `613bfbd` — register the fourteen remaining `door: 'none'` error codes that ship in `dist` — the rest of the #16404 class after #16449 enters `ERROR_CODE_LEDGER` (#16649) - `spec` -- `625b0c3` — `PLATFORM_TOOLS_BY_PACKAGE['service-ai-studio']` lists the five tools the cloud AI runtime registers that it had been omitting: `get_authoring_rules`, `load_tools`, `open_record`, `test_flow` and `toggle_flow`. Added in the list's existing alphabetical order; nothing else in the registry moves. - `spec` -- `68d5dfd` — `ExecutionStepMetrics` gains an optional `failures` slot, and `FlowRunSummary.failed` is declared as the fold INCLUDING what a delegating node rolled up from its child (maintainer ruling 2026-09-06 on #15617, spec half) - `spec` -- `69602e5` — export `COMPOSE_KEY_DISPOSITIONS` and `STACK_DEFINITION_KEYS` — the artifact envelope's top-level key set and each key's composition rule, derivable from one source instead of hand-copied per consumer (#14877) - `spec` -- `6ba0db4` — declare the aggregate × field-type compatibility matrix a dataset measure is judged against — `AGGREGATE_FIELD_TYPE_COMPATIBILITY` and `isAggregateCompatibleWithFieldType` (#16353, spec half of #16099) - `spec` -- `7936b29` — export the object-level refinement checks the mirrored UI schemas run — `checkListViewPageMount`, `checkListViewCalendarVisualization`, `checkPageSourceCompleteness`, `checkGlobalFilterDateDefaultValue` (#16489, the spec half of objectui#7715) - `spec` -- `8333a6c` — A blueprint nav entry can say WHICH view it opens: `viewName` is added to `BlueprintNavItemSchema` and, in lockstep, to the strict mirror's `StrictNavItem` (required-but-nullable, per the strict convention). - `spec` -- `859ded3` — `FieldSchema` refuses a WHITESPACE-ONLY `reference` on `lookup` / `master_detail` - `spec` -- `87f0ccc` — `SharingRuleEvaluationResult` declares `grantsRefused?: number` — the optional seventh key the sharing-rule evaluate route already answers (#14969) - `spec` -- `a7da4de` — `adr-0030-notification-event` joins `CREATION_ATTESTED_MIGRATION_IDS`, and its docblock states what a run may claim in the `sys_migration` ledger (maintainer ruling 2026-09-05 on #15710) - `spec` -- `abae16a` — register every error code that ships in `dist` — `OBJECT_OWNERSHIP_CONFLICT`, the seven `STACK_*` `defineStack` refusals and `PLUGIN_UI_REQUIRED_KEY_MISSING` enter `ERROR_CODE_LEDGER` (#16449) - `spec` -- `abb140c` — declare the two operator run-lifecycle verbs on `IAutomationService` — `cancelRun` and `restoreConsumedSuspension` (#16495, the contract half of #13953) - `spec` -- `bf1054a` — retire the fourteen inert deadline keys of the incident-response, training and change-management schemas (#14477, ADR-0049) - `spec` -- `c2a336c` — `@objectstack/spec/system` now names the ADR-0030 notification cut-over, so "has this deployment run it?" has a place to be answered. - `spec` -- `c7aca0d` — `ResumeFailureReport` — the machine-readable half of a resume failure, declared once in `contracts/approval-service.ts` and carried as the optional, additive `resumeFailure` member of `ApprovalRecallResult` and `ApprovalDecisionResult` (the contract half of the #16472 family ruling, decision batch #76). - `spec` -- `de0bcdd` — `ComponentPropsMap['object-kanban']` declares `limit`, the row cap four objectui faces already implement (#16503, the spec half of objectui#8172) - `spec` -- `e89fa92` — `IDataDriver` now declares `aggregate?` — the one engine-reached driver verb that had no signature to match against. - `spec` -- `ed7243d` — `AGGREGATE_FIELD_TYPE_COMPATIBILITY` accepts `boolean` / `toggle` for `sum` / `avg` / `min` / `max` — ruling #11152 (booleans aggregate as numbers on every backend) stands over batch #59's blanket default (#16685) - `spec` -- `f502898` — list-view grouping is server-side — the group header query and the per-group row page compile from the view (#14556) - `spec` -- `fe0d9a4` — `action.ai.requiresConfirmation` gets a real contract — a DECLARATION, not yet a live gate: the contract states that an AI-facing call on an action declaring the flag must carry an explicit confirmation and is refused without it, with a refusal that tells the caller how to retry. No door performs that refusal yet; setting the flag still stops nothing until the runtime half lands. - `spec` - -### Fixes in 17.4.0 - -221 `patch` changesets, ⛔ not enumerated — a patch entry is by construction not a new -capability, and listing all of them is what the per-package `CHANGELOG.md` files are for. -Distribution across the packages they touched: - -- `spec` — 50 -- `cli` — 38 -- `lint` — 23 -- `runtime` — 15 -- `rest` — 13 -- `platform-objects` — 12 -- `service-automation` — 12 -- `metadata-protocol` — 10 -- `objectql` — 9 -- `core` — 8 -- `metadata` — 7 -- `plugin-auth` — 7 -- `driver-sql` — 6 -- `plugin-approvals` — 5 -- `service-analytics` — 5 -- `client` — 4 -- `plugin-sharing` — 4 -- `plugin-security` — 4 -- `plugin-webhooks` — 3 -- `plugin-email` — 3 - -…and 35 further packages with fewer entries. - -### New in Console (Studio) — objectui pin `00d3f09c500c → 53ded82bf7a4` - -⚠️ **Endpoints measured, the chain between them is not.** 17.3.0 shipped with -`00d3f09c500c` (its own Console section names it as the last of that release's four moves); -`.objectui-sha` on this tree reads `53ded82bf7a4`, bumped by `30b09907` — *"the shipped console -lowers array analytics filters"* (#16788). ⛔ The intermediate bumps are not enumerated here: -this checkout's history for `.objectui-sha` does not carry all of them, and guessing the chain -would be worse than naming the gap. Whoever curates this page should walk the pin's real -history and list the moves the way [17.3.0](/docs/releases/v17/17-3#new-in-console-studio--objectui-pins-in-1730) does. +**Authoring gates.** `os lint --strict` makes warning-severity findings fail the +run, so an app can rely on the platform's warning-level rules as its own gate +instead of re-implementing them (`2da2901`, #15935). The publish door refuses an +object whose `highlightFields`, `searchableFields` or built-in list-view +`columns` name a field the object does not have (`615fac3`, `b4b37e5`) — the +same gate that already refused a code-authored stack. A flow predicate authored +as a CEL envelope, and a flow condition that is neither CEL text nor an +expression, are refused at build time instead of running unread or answering a +silent `false` (`56fe8c2`, `9408b7f`). `flow-filter-token-unknown` makes an +unresolvable `{…}` filter token an authoring-time error (`d61bad0`). Hooks +authored as inline `handler` functions are lowered before parsing, so +`objectstack validate` judges them by the same write-set rules as `build` and +`lint` (`0cde37d`, `6b7d709`). New advisory `field-no-consumers` reports a field +nothing in the stack reads or displays (`a87163c`), and the widget rules cover +every widget family rather than charts alone (`cd55558`, `36a16d0`, `c01b3a6`). + +**Automation and approvals.** A flow can refuse with per-record text: the `end` +node gains `outcome` and an interpolated `message`, and the run vocabulary gains +`refused` (`3f89967`). An `assignment` value may be a CEL envelope, validated at +`registerFlow`, at `objectstack validate` and at the runtime publish gate +(`954cb0b`, #15137). A screen flow can be completed by a headless caller, and +`list_actions` publishes its input names (`b31ebfe`). Two operator run-lifecycle +verbs get doors and contracts — `cancel` and `restore-suspension`, gated on the +platform operator (`44c849c`, `abb140c`, #16495). A resume that consumed its +pause and then failed downstream answers `status: 'stranded'` +(`5964124`, #13937), the resume route's `400 FLOW_FAILED` says whether the run +is stranded (`68437d4`), and the inspection tells a repairable strand from +a cascade-failed run through a read-only engine member rather than the wire +(`4c31f02`, #15358). A contained per-iteration failure shows at run level, +attributed to its iteration and bound to its row (`d30ccb9`); the step log tells +a `parallel` branch from a `loop` row (`65ec530`); `ExecutionStepMetrics` gains +a `failures` slot (`68d5dfd`); `evaluateCondition` refuses a malformed condition +shape with the same registration refusal rather than a raw `TypeError` or a +silent `false` (`5a91387`). A scheduled flow is delivered once per tick window, +and replaying a delivered window is refused (`8341ed2`). An approval decision +that lands while its run strands says so in fields (`3d3f60e`), and a restored +suspension can be decided again rather than only cancelled (`6530e04`). + +**Analytics.** A dataset measure stops contradicting the value beside it: a +`min` / `max` over a temporal field is described as `time` and over a +string-valued field as `string`, and a draft preview answers the operand's own +type (`07f40e5`, `6136293`, `6573af9`, #15768, #16098). The aggregate × +field-type compatibility matrix is declared rather than implied +(`6ba0db4`, #16353), with `boolean` / `toggle` admitted for the numeric +aggregates (`ed7243d`, #16685). The SQL compilers lower the case-sensitive text +family per dialect, so a `$contains` policy on SQLite stops admitting rows it +excludes (`54bb2f1`, #15684). + +**Tenancy and identity.** `@objectstack/organizations` ships as open source +(`c677cda`). The organization hierarchy carries the IANA zone a date boundary is +computed in (`6acb37e`, #14238). "Remove member" now actually signs the person +out — `sys_session.revoke_reason` accepts `organization_membership_ended` +(`4ca358d`) — and `sys_organization` admits generic `update` on the data door, +column-gated by the ADR-0092 D2 identity write guard (`7797102`, #15873). MCP +OAuth can complete again: the MCP resource is registered as an RFC 8707 resource +and DCR-registered clients are linked to it (`142c01c`). `POST /sign-up/email` +for an address that already has a `sys_user` row is refused explicitly instead +of answering 200 for a row that is never written (`aedbaef`, #15587). +`GET /auth/me/localization` answers the signed-in user's own language +(`5f7fa1d`, #14788), the authored label is the default locale's text +(`46803fa`, #15711), and the declared fallback locale is readable so the +metadata-document translators get the chain the deployment declared +(`a84e1ce`, #14882). + +**Sharing.** The `field` sharing recipient is enforced, expanded once per +matched record (`9fa5775`), and `publicSharing.enabled` has one canonical +predicate exported from the package that declares the key (`4db3c61`). + +**Errors and refusals.** Engine refusals declare their HTTP status under both +spellings (`33388f9`), and the codes a caller wants to branch on become +importable constants rather than re-spelled strings (`11f848e`, `6d7d740`, +`ddfbf04`, `e6279dc`, `eddd612`, `48b0fcf`). Every `defineStack` refusal carries +an ADR-0112 envelope — six new `STACK_*` codes (`1ecee3e`, #15963) — and an +install-time namespace collision answers `NAMESPACE_CONFLICT` (`92b5d7f`). Every +error code that ships in `dist` is registered in `ERROR_CODE_LEDGER` +(`abae16a`, `613bfbd`, #16449, #16649). A refusal follows the request's language: +`accept-language: zh` reads a Chinese refusal on a response whose labels are +already Chinese (`f7ffbd6`). + +**Packages and metadata.** A multi-package artifact keeps its shape: +`COMPOSE_KEY_DISPOSITIONS` and `STACK_DEFINITION_KEYS` are derivable from one +source instead of hand-copied per consumer (`69602e5`, #14877). The caller's +`_packageId` / `_packageVersion` / `_provenance` are no longer persisted; tenant +authorship is restated at hydration for every metadata type (`d2b6fa0`). Two +files sharing one stem are refused with both paths named, instead of one being +served by extension precedence (`c1d274d`, #14921). Seed datasets gain a +`locale` filter axis composed with `env` by the loader (`c1d8f98`). Package +lifecycle state and `os serve`'s runtime state file are keyed by the project as +well as the environment, so two projects on one machine stop overwriting each +other (`f2f6684`, `acab609`). The ADR-0030 notification cut-over records itself +in the `sys_migration` ledger and is nameable from `@objectstack/spec/system` +(`8647c87`, `c2a336c`, `a7da4de`). + +**CLI and scaffolding.** `@objectstack/cli` ratifies `./hook-body` as a public +subpath — `extractHookBody` and its three companions, so an app's hook-fidelity +harness runs the same body-only lowering `os build` ships, rather than a +lookalike — and admits `./package.json` so the ordinary manifest-reading idiom +resolves again (`95d5cbb`, #15325); `./console` gets a public barrel with a +name-and-shape pin (`25011b0`). `os generate migration` emits the character +column `driver-sql` actually creates, in both formats (`000fd05`). `os migrate +summary-nulls --recompute-undefined-on-empty` fills a roll-up column a caller +knows was just declared (`ec0a6e7`, #15064). `os create` emits a project that +installs outside this monorepo (`cf6b671`), and scaffolded projects ship a CI +workflow, a `lint` script and the AI skills bundle (`4998efa`, `fd75728`, +`813d6c5`). + +**Runtime surface.** `GET /api/v1/health` answers 200 whenever the process can +serve HTTP, even while a configuration fault is making every other route 503 +(`3e560da`). `/discovery` stops advertising a realtime service with no mounted +surface (`6491463`). The platform action route executes the declarative +row-level `operation: 'update'` action (`8a12067`, #14092), and an action whose +caller-scope record load was denied carries `recordLoadDenied` into the run +context (`2c753fe`, #15168). `mountStorageRoutes` composes the storage routes +onto a host-owned HTTP surface from a kernel with no `http-server` service +(`dd2184a`, #15169). `createHonoApp` mounts the auth surface where the auth +service actually serves, and refuses a prefix it cannot serve it under +(`cfb64a6`). + +**Declared, not yet enforced.** `action.ai.requiresConfirmation` gets a real +contract stating that an AI-facing call on an action declaring the flag must +carry an explicit confirmation — but no door performs that refusal yet +(`fe0d9a4`). Setting the flag stops nothing until the runtime half lands; it is +recorded here so nobody reads the declaration as a gate. + +### Notable fixes in 17.4.0 + +These are the patch-level entries an upgrading deployment is most likely to +notice. Everything else is in the per-package `CHANGELOG.md` files, which is +what they are for. + +**Tenancy walls that were not holding.** On a wall-enforcing tenancy posture, an +organization-less or ex-member API key answered `200` and now answers `401` +(`a727043`); a session whose active organization is no longer one the user +belongs to resolves with no active organization instead of that one's data +(`d4f9b2a`); and four server-side authorization sites stop deriving +platform-operator authority from a name in `ExecutionContext.positions`, +reading the ADR-0095 posture rung instead (`ac6213e`). The share-link, settings, +storage-download, datasource-admin and marketplace install-local doors all +derive the effective tenancy posture **before** resolving the caller, so the +posture-conditional API-key refusals actually apply there (`2e35765`, +`2024eca`, `b8c82de`, `fb447b4`, `6b66ec7`), and the runtime dispatcher door +stops admitting a request on a posture it could not read (`401e50a`). Webhook +fan-out matches subscriptions on the organization dimension, closing a +cross-organization delivery on walled deployments (`7ceb416`). The MCP stdio +transport vets an API key's organization against the deployment's posture +instead of trusting the key's own stored claim (`17f8604`). A `department` +approver on a seeded business unit no longer routes the approval to another +organization's members (`ea03c7c`). + +**Audit stamps stop being caller-supplied.** The audit binder stamps `created_at` +from the system clock and `created_by` from the session on an ordinary create, +so a value in the request body no longer survives a plain `POST` (`7079694`, +`7783738`, #15964, #16311), and a sandboxed hook body no longer launders an +untouched `readonly` field onto the row (`ee32e1c`). + +**Failures that used to pass silently.** An authorization-store outage reaches +the caller as the `503 SERVICE_UNAVAILABLE` it declares, on the storage download +doors and all four settings routes (`ac9376a`). A self-registration grant is +refused rather than silently redirected when a permission-set row is malformed +(`9e9f03a`). `os i18n extract --check` — in both its human and `--json` faces — +now actually compares the bundles; it used to exit 0 having compared nothing, on +a tree whose bundles had provably drifted (`591f194`, `309bee5`). `os verify` no +longer reports a green run over a multi-package app it measured nothing about +(`c550baf`). `os generate ` no longer exits 0 after writing +TypeScript the compiler cannot parse (`1ea349f`), and `os init -t app`, +`os init -t plugin` and `os g object` emit an object file that compiles +(`212eaba`). The `Server is ready` line reports the degraded boot it is standing +on instead of printing a green tick over it (`4771bd9`). + +**Installs and boots that failed outright.** `@objectstack/plugin-auth` pins the +`better-auth` family to an exact version, so a fresh install of a published +release loads the auth plugin again (`2e6a2ea`). A plain unique index over +existing duplicate rows no longer kills the boot with the database's raw error, +on MySQL and on the shared path, and `os migrate plan` stops calling that +operation `safe` (`1ca95df`, `61821e5`). The published `os` binary no longer +freezes in the kernel or dies of an uncaught `write EPIPE` when whatever reads +its output stops draining (`5023630`, `b3ef687`). + +**Wire and query shapes.** Analytics `$icontains` no longer compiles a +`translate()` call on the SQLite, MySQL and unknown dialect arms, where the +statement simply failed (`dcad825`, `fd014b1`). The public-form lookup picker +answers a search again instead of refusing every non-empty query with +`400 INVALID_FILTER` (`d5c4022`). An environment-scoped URL reaches its +dispatcher domain instead of answering 404 (`da1cffb`). The admin "Used by" +panel no longer clears a delete when the caller's own organization is using the +item (`e13ede8`). A published `BulkDataEvent` names the one organization the +tenant wall named for the batch (`4b3955e`). The `field-required-notnull-explicit` +ADR-0087 conversion is withdrawn: `required: true` no longer stamps +`storage.notNull: true` on anybody's fields (`f2b5e46`). `createHostImporter` +loads the `import` build of an aliased dual-published package instead of +silently keeping its `require` build (`088f761`). The seed loader stops putting +a raw control byte into a diagnostic line for a composite external id +(`460d4b8`). + +**Flow and template arithmetic.** A `map` node inside a `loop` body runs its +collection on every iteration, not just the first (`7bf96cf`). A wizard screen +is no longer skipped after a durable pause because a record column happens to be +an array (`4177ed3`). `{TODAY() + n}` and `{TODAY() - n}` do their day +arithmetic on the calendar they render on (`6c439f2`). A run whose nodes all +succeeded is no longer reported `stranded` and re-armed because its terminal +history write threw (`a775510`), and a suspension consumed by another replica is +evicted so the run listings stop reporting phantoms (`1157e7b`, #15832). +`driver-memory` analytics stops counting the first instant of tomorrow into +`dateRange: 'today'` (`db4bf90`, #16179). + +### New in Console (Studio) — objectui pins in 17.4.0 + +Two pin moves, `00d3f09c500c → a472b07167a3` (`236f2df`) and +`a472b07167a3 → 53ded82bf7a4` (`30b0990`), carry the console half of this +release. The per-commit lists are in `packages/console/CHANGELOG.md` under +`## 17.4.0`, which records the upstream objectui commit for every entry — +including the commits objectui shipped with no changeset of their own, listed by +subject there rather than counted. + +⚠️ **Console hosts and authors:** six entries in this range are declared +breaking upstream. + +- **Lookup and user widget metadata converge on the spec's camelCase** — one + concept, one spelling (objectui `351eb3181`). The snake-case members are + removed; they were never an ObjectStack-authorable spelling. +- **`KanbanSchema` / `KanbanColumn` / `KanbanCard` belong to + `@object-ui/plugin-kanban`** (objectui `2c71482ea`), and + `SchemaRegistry['kanban']` stops describing a component it cannot name + (objectui `bc640ec56`). +- **The React chart primitives leave `@object-ui/components`** — + `ChartContainer`, `ChartTooltip`, `ChartTooltipContent`, `ChartLegend`, + `ChartLegendContent` and `ChartStyle` (objectui `7bf244bea`). +- **The breakpoint layout vocabulary is re-homed and the two dead responsive + implementations are deleted** (objectui `e62c44e7e`) — objectui catching up to + a retirement this side already made. +- **`MarkdownSchema.sanitize` and `MarkdownSchema.components` are retired** + (objectui `446d93d4e`, ADR-0049) on objectui's own SDUI `markdown` node. The + `markdown` spelling ObjectStack declares is a long-text **field** type and + carries neither key. + +Neither pin moves an ObjectStack authorable key: `@objectstack/console` publishes +a frozen prebuilt SPA and re-exports no `@object-ui/*` type, so no stored +metadata row and no `os migrate meta` prescription follows from either bump. + +--- + ## Upgrade checklist -⚠️ One checklist per release, for the release you are landing on **and** every release you -cross to get there — and see -[how far each list has actually been walked](/docs/releases/v17#upgrade-checklists). +⚠️ One checklist per release, for the release you are landing on **and** every release you cross to get there — and see [how far each list has actually been walked](/docs/releases/v17#upgrade-checklists). + +### 17.4.0 + +⛔ **Nobody has walked 17.3.0 → 17.4.0.** Every line below is derived from a +change's own **Migration** note in [Breaking changes & migration in +17.4.0](#breaking-changes--migration-in-1740) and is marked **not exercised**: +accurate about what changed, unproven about what it costs to cross. A step +nobody has run, presented beside steps that were, is how a reader finishes a +checklist and believes they are done — so this list claims nothing it has not +been given. + +**Getting onto the release** + +- **Move all the `@objectstack/*` pins as one set, regenerate the lockfile, and + leave `specVersion` / `engines.protocol` alone** — this is a move inside one + major, so the protocol declarations do not change. The full three-step + procedure is [Moving the dependency + pins](/docs/upgrading#moving-the-dependency-pins). *Not exercised* on this hop. +- **Do not read `os migrate meta --from 17` reporting `Nothing to migrate` as + completion.** Its scope is the protocol chain; every rename in this release is + registered under protocol major 18, and everything else on this list is + outside it. *Not exercised* on this hop; the 17.3.0 list records what that + command answered on the previous one. + +**Metadata and build — run `os validate` before you ship** + +- **Rename every duration key** (#14478). `hook.timeout` / `job.timeout` / + `DriverOptions.timeout` → `timeoutMs`; `dashboard.refreshInterval` → + `refreshIntervalSeconds`; tenant `idleTimeout` / `sessionTimeout` → + `*Seconds`; `MetadataManagerConfig.cache.databaseLoader.ttl` → `ttlMs`; the + `api/`, `kernel/`, `system/`, `data/`, `ui/`, `ai/` and `integration/` + families with them. Delete `MetadataManagerConfig.cache`'s outer `enabled`, + `ttlSeconds` and `maxSize` — they are removed, not renamed. There are no + aliases; each one is a refusal naming the key. *Not exercised.* +- **Move react-page `` bindings** to + `data={{ provider: 'object', object }}` and `type` (#14791) — the retired + props are now an error, not a warning. *Not exercised.* +- **Delete the retired keys**: the incident-response, training and + change-management families, the `ESignatureConfig` deadline pair, + `connector.errorMapping`, and `driver-turso`'s `localPath` / `wasm`. The whole + migration is "delete the key". *Not exercised.* +- **Re-run `os validate` for the rest of the author-time refusals** — duplicate + flow node and edge ids, region ids colliding with the top-level node space, + blank expression `source`, undeclared keys on `GanttConfigSchema` / + `TreeConfigSchema`, a `tree` field's `reference` that names another object, a + whitespace-only `reference`, `plugins` / `devPlugins` inside `packages[]`, an + unmergeable `composeStacks` object pair, and a schedule `timezone` outside the + IANA domain. Full list under [Author-time refusals that can fail a stack which + built clean on 17.3.0](#breaking-changes--migration-in-1740). *Not exercised.* +- **Expect new `os lint` findings you did not have.** The non-system create of a + static `readonly` field is a new **error**-severity finding, and + `filter-preset-comparand` now refuses a dashboard date-range preset name in + every comparand position on a declared `date` / `datetime` field. A + deployment gating on `os lint` turns red before the runtime does. *Not + exercised.* + +**Data and database** + +- **A plain unique index over existing duplicate rows no longer kills the + boot**, and `os migrate plan` stops calling that operation `safe` — re-read + the plan rather than assuming the previous verdict. *Not exercised.* +- **Datetime columns answer the canonical instant text on Postgres and MySQL** + as they always have on SQLite (ADR-0053 addendum). A consumer parsing the + previous dialect-native rendering moves. *Not exercised.* +- **`required: true` no longer stamps `storage.notNull: true`** — the + `field-required-notnull-explicit` conversion is withdrawn. Declare + `storage.notNull` where you want it. *Not exercised.* + +**Deployment and configuration** + +- **⛔ `driver-turso` refuses `timeout` beside a websocket url or a + pre-configured client, at construction.** A datasource declaring that pair + stops the driver from being built at all — drop one of the two before you + deploy (#16024). *Not exercised.* +- **A tenancy wall that was leaking starts refusing.** On + `OS_TENANCY_POSTURE=group` or `isolated`, an organization-less or ex-member + API key moves from `200` to `401`, a session whose active organization the + user has left resolves with none, and webhook fan-out stops crossing + organizations. If a fixture or an integration leaned on any of those, it goes + red. *Not exercised.* +- **An authorization-store outage now answers `503`** on the storage download + doors and all four settings routes, where it previously degraded quietly. + *Not exercised.* +- **Analytics callers must send a declared date-range preset or an explicit + `[start, end]` pair** (#16041); any other string is `400 + ANALYTICS_DATE_RANGE_UNRECOGNIZED`. *Not exercised.* +- **`@objectstack/plugin-auth` pins `better-auth` exactly.** If your deployment + pins its own copy of that family, reconcile the two before installing. *Not + exercised.* + +**Application code, hooks and flows** -⛔ **Not written.** An upgrade checklist is a walked route, not a restatement of the breaking -list above; the v17 line is explicit that a step nobody has run, presented beside steps that -were, is how a reader finishes a checklist and believes they are done. Nobody has walked -17.3.0 → 17.4.0. Until someone does, read -[Breaking changes & migration in 17.4.0](#breaking-changes--migration-in-1740) directly and -treat every line in it as unproven about what it costs to cross. +- **⛔ Find every non-system create that seeds a read-only column** (`b398ad2`) + and declare it trusted — `context.isSystem`, `runAs: 'system'`, a system hook + or a seed. This one changes behaviour on a running deployment with nothing to + parse-fail on: the column is dropped, `droppedFields` reports it, and + `strictReadonlyWrites` refuses the write outright. A flow's `create_record` + node starts reporting a node warning where it used to succeed. *Not + exercised.* +- **⛔ Re-read every predicate written against `current_user.positions`** + (#15136). The array's meaning moves from a comma-split identity scalar to the + security axis, so a gate that answered FALSE for everyone starts answering + correctly — and a predicate that leaned on the old union's extra tokens stops + matching. Tests pinning the old members go red. *Not exercised.* +- **Search flow `script` nodes for in-place mutation of the triggering record** + (#14744). A nested mutation no longer reaches the write; assign instead. On a + `multi: true` update this was writing every matched row, so the fix can change + what your data looks like after an upgrade. *Not exercised.* +- **Repin batch-row error codes**: a unique-constraint refusal on + `POST /api/v1/data/:object/batch` reports `UNIQUE_VIOLATION`, not + `DUPLICATE_RECORD` (#14723). *Not exercised.* +- **A caller-supplied `created_at` / `created_by` no longer survives a plain + `POST`.** Any importer or fixture that set them on an ordinary create must + move to a system write. *Not exercised.* +- **Recompile against the client SDK's declared response contracts** (#14312, + #14313, #14314). A member the route never sent is now a build error; that red + is the contract arriving. `oauth.applications.delete` stops rejecting on + success, so a catch that swallowed it can go. *Not exercised.* +- **A plugin object the schema refuses is refused at load** on both kernels, and + a `ui` plugin must declare `staticPath` and `slug`. A plugin that was stored + and mounted despite a malformed declaration stops loading. *Not exercised.* diff --git a/content/docs/releases/v17/index.mdx b/content/docs/releases/v17/index.mdx index 915da36228a..b71ee15e438 100644 --- a/content/docs/releases/v17/index.mdx +++ b/content/docs/releases/v17/index.mdx @@ -43,11 +43,15 @@ parsed-but-never-enforced spec clusters are removed rather than maintained. > 17.2.0](/docs/releases/v17/17-2#breaking-changes--migration-in-1720)** and **[Breaking changes & > migration in 17.3.0](/docs/releases/v17/17-3#breaking-changes--migration-in-1730)** before upgrading. > -> ⛔ **17.4.0's notes are a machine draft, not curated.** 396 changesets across 61 -> packages landed in it, 35 of them carrying a breaking marker, and no editorial -> pass has been made — see **[17.4.0](/docs/releases/v17/17-4)**, which says so at -> the top and lists what it does and does not cover. Its upgrade checklist is -> **not written**: nobody has walked 17.3.0 → 17.4.0. +> 17.4.0 stays in that register. It renames every duration-shaped key onto a +> unit-bearing name with no aliases, strips a static `readonly` field from a +> non-system INSERT exactly as it already did on update, corrects `positions[]` +> on the session payload from a comma-split identity scalar to the security +> axis, and closes the analytics date-range vocabulary. Read **[Breaking changes +> & migration in +> 17.4.0](/docs/releases/v17/17-4#breaking-changes--migration-in-1740)** and its +> **[upgrade checklist](/docs/releases/v17/17-4#upgrade-checklist)** before +> upgrading. ## Per-release notes @@ -75,11 +79,12 @@ marked breaking — which is exactly why a checklist is not a restatement of [Breaking changes & migration in 17.3.0](/docs/releases/v17/17-3#breaking-changes--migration-in-1730). ⛔ **That run covered one hop, 17.2.0 → 17.3.0. Nobody has walked 17.1.0 → -17.2.0.** Every line in the 17.2.0 list is derived from a change's own -**Migration** note and is marked **not exercised**: accurate about what changed, -unproven about what it costs to cross. The two are kept apart on purpose — a step -nobody has run, presented beside steps that were, is how a reader finishes a -checklist and believes they are done. +17.2.0, and nobody has walked 17.3.0 → 17.4.0.** Every line in the 17.2.0 and +17.4.0 lists is derived from a change's own **Migration** note and is marked +**not exercised**: accurate about what changed, unproven about what it costs to +cross. The two kinds are kept apart on purpose — a step nobody has run, +presented beside steps that were, is how a reader finishes a checklist and +believes they are done. Per-release checklists: [17.4.0](/docs/releases/v17/17-4#upgrade-checklist) · [17.3.0](/docs/releases/v17/17-3#upgrade-checklist) · [17.2.0](/docs/releases/v17/17-2#upgrade-checklist) · [17.1.0](/docs/releases/v17/17-1#upgrade-checklist) · [17.0.0](/docs/releases/v17/17-0#upgrade-checklist)