You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The one-cycle deprecation window from #3265 is over and a major release is being prepared, so the legacy camelCase `requires` aliases are dropped. `aiStudio`/`aiSeat` are no longer canonicalized to `ai-studio`/`ai-seat` — they now reject as unknown tokens in defineStack (the #3302 end-state).
- spec: remove DEPRECATED_PLATFORM_CAPABILITY_ALIASES + canonicalizePlatformCapability; isKnownPlatformCapability no longer canonicalizes; defineStack drops canonicalizeStackRequires.
- cli: serve resolver no longer canonicalizes raw-artifact requires.
- Regenerate api-surface.json (4 export deletions); sync ADR-0087 spec-changes.json + protocol-upgrade-guide.md (pre-existing v16 drift surfaced by the path-filtered check).
Breaking change shipped as minor per the launch-window convention. Cloud objectos-runtime (pinned to an older framework) follows on its next .framework-sha bump.
Copy file name to clipboardExpand all lines: docs/protocol-upgrade-guide.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
# Metadata protocol upgrade guide
5
5
6
-
Current protocol: **15.0.0** · chain support floor: **protocol 10** · generated from the ADR-0087 registries (`@objectstack/spec``conversions/` + `migrations/`).
6
+
Current protocol: **16.0.0** · chain support floor: **protocol 10** · generated from the ADR-0087 registries (`@objectstack/spec``conversions/` + `migrations/`).
7
7
8
8
## How to upgrade — from any past major
9
9
@@ -104,6 +104,16 @@ Protocol 15 unified the conditional-visibility predicate under `visibleWhen` (AD
104
104
- Why not automatic: The `.strict()` flip (ADR-0089 D3a) turns a previously silently-stripped unknown key into a parse error. There is no mapping target for an arbitrary unknown key — auto-deleting it would be exactly the silent data loss ADR-0078 bans — so each occurrence needs the author to decide: fix the typo, move it to the right layer, or delete dead metadata.
105
105
- Done when: `objectstack validate` passes with no unknown-key parse errors on form fields, form sections, or page components.
106
106
107
+
## Protocol 15 → 16
108
+
109
+
Protocol 16 flipped `DashboardWidgetSchema` to `.strict()` (framework#3251, ADR-0021 endpoint): an undeclared top-level widget key is now a loud parse error instead of a silent strip (ADR-0049 enforce-or-remove, ADR-0078 no-silently-inert). The inline analytics shape it most often catches (`object`+`categoryField`+`valueField`+`aggregate`, pivot `rowField`/`columnField`) was already removed at protocol 9, so no mechanical rewrite applies; the residue is the strictness itself, delegated to the author because an arbitrary unknown key has no lossless canonical target.
110
+
111
+
### Semantic (delegated to you, with acceptance criteria)
112
+
113
+
-**`dashboard-widget-strict-unknown-keys`** — `dashboard widgets (undeclared top-level keys — legacy inline analytics, objectui-internal `component`/`data`, or typos)` → declared keys only (`dataset` + `dimensions` + `values` for analytics; `options` for renderer-specific extras)
114
+
- Why not automatic: The `.strict()` flip turns a previously silently-stripped unknown key into a parse error. There is no mapping target for an arbitrary unknown key — auto-deleting it would be exactly the silent data loss ADR-0078 bans — so each occurrence needs the author to decide: bind a `dataset` and select `dimensions`/`values`, move a renderer setting under `options`, or delete the dead key.
115
+
- Done when: `objectstack validate` passes with no unknown-key parse errors on dashboard widgets.
116
+
107
117
---
108
118
109
119
*Machine-readable equivalents: `spec-changes.json` (shipped in `@objectstack/spec` and attached to each GitHub Release) and the structured output of `objectstack migrate meta --json`.*
Copy file name to clipboardExpand all lines: packages/spec/spec-changes.json
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
{
2
2
"$comment": "GENERATED (ADR-0087 D4) — do not edit. Regenerate with: pnpm --filter @objectstack/spec gen:spec-changes. A projection of the D2 conversion table + D3 migration chain; the upgrade guide and the MCP spec_changes tool derive from this same data.",
3
-
"protocolVersion": "15.0.0",
3
+
"protocolVersion": "16.0.0",
4
4
"supportFloor": 10,
5
5
"migrateCommand": "objectstack migrate meta --from <N> (N >= 10)",
6
6
"aggregate": {
7
7
"from": 10,
8
-
"to": 15,
8
+
"to": 16,
9
9
"added": [],
10
10
"converted": [
11
11
{
@@ -132,6 +132,13 @@
132
132
"migrationId": "ui-schemas-strict-unknown-keys",
133
133
"toMajor": 15,
134
134
"rationale": "The `.strict()` flip (ADR-0089 D3a) turns a previously silently-stripped unknown key into a parse error. There is no mapping target for an arbitrary unknown key — auto-deleting it would be exactly the silent data loss ADR-0078 bans — so each occurrence needs the author to decide: fix the typo, move it to the right layer, or delete dead metadata."
"rationale": "The `.strict()` flip turns a previously silently-stripped unknown key into a parse error. There is no mapping target for an arbitrary unknown key — auto-deleting it would be exactly the silent data loss ADR-0078 bans — so each occurrence needs the author to decide: bind a `dataset` and select `dimensions`/`values`, move a renderer setting under `options`, or delete the dead key."
"rationale": "The `.strict()` flip turns a previously silently-stripped unknown key into a parse error. There is no mapping target for an arbitrary unknown key — auto-deleting it would be exactly the silent data loss ADR-0078 bans — so each occurrence needs the author to decide: bind a `dataset` and select `dimensions`/`values`, move a renderer setting under `options`, or delete the dead key."
0 commit comments