Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Commit 4c272dc

Browse files
committed
chore(changeset): round 4's release note, and dated append-only corrections to four pending changesets it made false (objectui#6152, round 4)
Claude-Session: https://claude.ai/code/session_01TdiauJaVCHuj45EzZGUxHh Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2c7452b commit 4c272dc

5 files changed

Lines changed: 58 additions & 0 deletions
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
'@object-ui/types': minor
3+
'@object-ui/components': minor
4+
---
5+
6+
feat(types): four declared keys nothing honoured are retired on both faces, and two chatbot keys gain their zod mirror (objectui#6152, round 4)
7+
8+
**Retired (breaking).** Each key below was declared on a published TypeScript type in
9+
`@object-ui/types` and unknown to its zod mirror in `@object-ui/types/zod`. None of them is
10+
honoured, so each is retired at once, with no alias window:
11+
12+
- `label`: `content`, a third spelling of the label text beside `text` and `label`. The `label`
13+
renderer in `@object-ui/components` read it last (`text`, then `label`, then `content`) and no
14+
longer reads it, so a node that carries only `content` renders no text. No document in this
15+
repository authored it. Write `text` (or `label`).
16+
- `report`: `chartConfig` and `reportType`. Nothing read either key off a report, so an authored
17+
value configured nothing. `specReportToPresentation` no longer writes `reportType` onto the
18+
presentation it returns, and `LegacyReportPresentationLike` no longer declares it.
19+
- `detail-view`: `autoDiscoverRelated`. Nothing read it: `detail-view` does not discover related
20+
lists from reference fields. Author a `record:related_list` block for each related list.
21+
22+
For each retired key:
23+
24+
- the TypeScript member is now `?: never`, so writing it is a `tsc` error;
25+
- the zod mirror refuses it by name at the key, on the tolerant validator (`AnyComponentSchema`,
26+
`safeValidateSchema`) and on the strict authoring face (`StrictAnyComponentSchema`) alike. The
27+
tolerant validator used to keep the value without examining it.
28+
29+
Delete the key from any document or literal that carries it.
30+
31+
**Mirrored.** Two chatbot keys the published types declare, and the renderers read, gain their
32+
zod arm:
33+
34+
- `chatbot`: `requestBody`, the chat API's extra body params. All three chatbot nodes now share
35+
one `requestBody` arm. The strict authoring face used to refuse `requestBody` on a `chatbot`
36+
node, although the type invites it and the retirement of `body` points authors at it.
37+
- `chatbot-floating`: `floatingConfig`, judged member by member (`position`, `defaultOpen`,
38+
`panelWidth`, `panelHeight`, `title`, `triggerSize`). Its retired `triggerIcon` member is now
39+
refused at runtime too, on this node. On a `chatbot` node `floatingConfig` stays unvalidated,
40+
because the `chatbot` renderer never reads it.
41+
42+
A wrong-typed value at either key, for example a string `requestBody` or a `floatingConfig`
43+
`position` of `'top-left'`, is now refused at its path, where it used to be kept unexamined
44+
(breaking for invalid documents).
45+
46+
`@object-ui/types` and `@object-ui/components` are in the fixed release group, so this ships as a
47+
minor bump, per the repository's version policy.
48+
49+
`displayMode` on the two chatbot types is unchanged: its refusal stays TypeScript-only, so stored
50+
designer documents that carry `displayMode: 'floating'` parse exactly as before.

‎.changeset/6639-objectgrid-title-mirrored.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ admitting any `title` unexamined, and it now enforces the declared `string`.
1515
`zod-mirror-parity.test.ts`'s `UnmirroredDeclared` ledger records the key as
1616
worked off — the ledger's first shrink by repair (97 + 1 mirrored + 23
1717
reclassified is what the seeded "121" now means).
18+
19+
**Correction, 2026-09-30 (objectui#6152, round 4).** The last sentence above says "97 + 1 mirrored + 23 reclassified" is what the seeded "121" now means. That was a reading when this change was written, and it no longer is: later changes mirrored, retired and reclassified further keys, and the survivor count it names went stale before objectui#6152 round 3. No live decomposition of "121" is kept anywhere, because the ledgers record no per-key provenance. The dated readings, and the live total, are in `zod-mirror-parity.test.ts`, whose pins derive them. The mirroring of `title` this entry describes is unaffected.

‎.changeset/7654-floating-chatbot-trigger-icon-tombstone.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ That file also pins the runtime half as a **tripwire**: it asserts that a node c
6868
`FloatingChatbotConfigSchema`, it goes red — the intended signal that whoever lands the
6969
mirror must add the `retirementTombstone()` half at the same time and flip the control
7070
rather than delete it into a vacuum.
71+
72+
**Correction, 2026-09-30 (objectui#6152, round 4).** The sections above say `FloatingChatbotConfig` has no zod mirror, so the `triggerIcon` refusal is type-level only and the runtime face does not change. That was true when this change was written, and it is now true on a `chatbot` node only. objectui#6152 round 4 minted the mirror on the `chatbot-floating` node, the one whose renderer reads `floatingConfig`, together with the `retirementTombstone()` half this entry asked for. So a `chatbot-floating` node that carries `floatingConfig.triggerIcon` is now refused at that path. The tripwire test was flipped for that node, not deleted.

‎.changeset/7655-chatbot-registration-authoring-faces.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,5 @@ registration reads it, so it leaves `ChatbotSharedKey`, and `ChatbotSchema` decl
116116
instead as a `?: never` member that the other two faces pick by name, refused by name on
117117
the zod twins. The "twenty keys" above is kept as the reading of this change; the
118118
objectui#5605 retirement entry states what the three faces declare now.
119+
120+
**Correction, 2026-09-30 (objectui#6152, round 4).** The "Zod twins" section above says the floating twin leaves `floatingConfig` unmirrored because no `FloatingChatbotConfig` mirror exists. That was true when this change was written, and it no longer is: objectui#6152 round 4 minted that mirror and declared `floatingConfig` on the `chatbot-floating` twin, judged member by member. The same round declared `requestBody` on `ChatbotSchema`'s twin, so all three chatbot twins now share one `requestBody` arm. `displayMode` stays unmirrored on both twins, as this entry says.

‎.changeset/9447-detail-view-handler-key-refusal.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ behaviour as a node type (`{ "type": "toast", ... }`, an `action:button` node).
4747
different path with a different signature (`(recordId) => void`), which stays
4848
authorable on both faces; and `onTabChange`, whose disposition is still open on
4949
the handler-key parent card and which this change deliberately does not touch.
50+
51+
**Correction, 2026-09-30 (objectui#6152, round 4).** The last paragraph above says the nested `recordNavigation.onNavigate` "stays authorable on both faces". It was never authorable in a JSON document: its value is a required function, and the zod mirror has never declared `recordNavigation`. objectui#6152 round 4 recorded `recordNavigation` as a runtime slot a host sets in code. No published face changed with that, and the refusals this entry describes are unaffected.

0 commit comments

Comments
 (0)