Skip to content

Commit 9502086

Browse files
committed
refactor(i18n, plugin-designer)!: bump plugin-designer for its exported default map
DESIGNER_DEFAULT_TRANSLATIONS is exported from the plugin-designer entry, so its lost designer.versionHistory row is a published change too. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jRTYHhqj3r6SiMnrkT
1 parent d3c179c commit 9502086

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.changeset/25921-designer-version-history-key.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
---
22
'@object-ui/i18n': patch
3+
'@object-ui/plugin-designer': patch
34
---
45

5-
refactor(i18n)!: the designer's version-history label leaves every pack
6+
refactor(i18n, plugin-designer)!: the designer's version-history label leaves every pack
67

78
Clause-②: no (narrowing)
89
Metadata-protocol: none
910

1011
<!-- adr-0087: not-required (runtime-interface-only ui/packages/i18n/src/locales/en.ts#TranslationKeys) the key type of the console's own translation catalogue: no Zod schema, no spec declaration and no stored metadata reads it, so the compiler is the channel that reaches every caller -->
1112

12-
`@object-ui/plugin-designer` no longer ships a version-history panel, so nothing reads `designer.versionHistory` any more. The key now leaves all ten packs (ar, de, en, es, fr, ja, ko, pt, ru, zh) and the designer's internal English fallback map.
13+
`@object-ui/plugin-designer` no longer ships a version-history panel (retired by #29529), so nothing reads `designer.versionHistory` any more. The key now leaves all ten packs (ar, de, en, es, fr, ja, ko, pt, ru, zh) and the designer's English fallback map.
1314

1415
**BREAKING** (`@object-ui/i18n`, TypeScript only): the exported `TranslationKeys` (`typeof en`) loses `designer.versionHistory`. A `t()` call that names it still compiles, since its key is a `string`, and reads the key back. Nothing replaces it; the fix is to delete the reference.
1516

17+
`@object-ui/plugin-designer`: the exported `DESIGNER_DEFAULT_TRANSLATIONS` map loses its `designer.versionHistory` row, so a read of that row now yields `undefined`; the map's type (`Record<string, string>`) is unchanged.
18+
1619
| Removed key | Replacement |
1720
|:---|:---|
1821
| `designer.versionHistory` | none: the version-history panel is retired |

0 commit comments

Comments
 (0)