Skip to content

Commit 8f82c61

Browse files
os-zhuangclaude
andauthored
chore(release): pending changesets stay minor — a major would desync the fixed group from objectstack 17 (#3089)
objectui's major tracks @objectstack's major (AGENTS.md §9 version alignment): the whole fixed group is on 17.x because spec/client/formula are on 17. Five pending changesets declared `major`, and any one of them would push all 39 packages to 18.0.0 while objectstack stays on 17 — breaking the 'same major = compatible' contract. Downgrade all eight `major` declarations to `minor` (the breaking semantics stay documented in each changeset's prose), and spell the rule out explicitly in AGENTS.md §9: never declare `major` in a changeset; the only exception is the one sync release that follows an objectstack major. `pnpm changeset status` now reports NO packages to be bumped at major. Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 15209ff commit 8f82c61

6 files changed

Lines changed: 9 additions & 8 deletions

.changeset/action-target-is-the-only-handler-slot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
'@object-ui/types': major
3-
'@object-ui/core': major
4-
'@object-ui/components': major
5-
'@object-ui/app-shell': major
2+
'@object-ui/types': minor
3+
'@object-ui/core': minor
4+
'@object-ui/components': minor
5+
'@object-ui/app-shell': minor
66
---
77

88
**`target` is the only action handler slot — the `execute` alias is gone from the renderer (framework#3856).**

.changeset/action-url-identifies-by-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@object-ui/app-shell': major
2+
'@object-ui/app-shell': minor
33
---
44

55
**[ADR-0110 D1] The server-action URL identifies an action by `name`, not `target`.**

.changeset/action-vocabularies-derive-from-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@object-ui/types': major
2+
'@object-ui/types': minor
33
---
44

55
**The action sub-vocabularies derive from `@objectstack/spec` instead of restating it (framework#4074).**

.changeset/authoring-types-are-input-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@object-ui/types': major
2+
'@object-ui/types': minor
33
'@object-ui/core': patch
44
'@object-ui/components': patch
55
---

.changeset/modal-actions-are-client-only.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@object-ui/app-shell': major
2+
'@object-ui/app-shell': minor
33
---
44

55
**[objectstack#3959] A `type: 'modal'` action is client-side only — the server fallthrough is removed.**

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export const SchemaRenderer = ({ schema }: { schema: UIComponent }) => {
166166
- **objectui 的 major 与 `@objectstack`(spec/client/formula)的 major 保持一致**:依赖到 `@objectstack ^11.x` 时,objectui 这个固定版本组(`.changeset/config.json``fixed`,39 个包一起发)的 major 必须是 `11`。心智模型:**major 相同即兼容**
167167
- minor/patch **独立演进**——objectstack 没动时不必跟发;objectui 自己的改动照常用 changeset 推进(从当前 major 起步,如 `11.0.0 → 11.1.0`)。
168168
- objectstack 跨 major(→12)时,下一次 objectui 发版一并把 major 提到 `12`
169+
- 推论:**changeset 里不要声明 `major`** —— fixed 组任一 `major` 都会把全组推上去、脱离 objectstack 的节奏(如 17.x 期间被推到 18)。objectui 自身的破坏性变更也标 `minor`(在正文里写清 breaking 语义即可);唯一例外是跟随 objectstack 跨 major 的那一次同步升级。
169170
- 这是约定优先于 semver 纯粹性的取舍(为可维护/好记),因此 objectui 的 major 不代表「它自身 API 的破坏性变更次数」。`@object-ui/site``@object-ui/example-*``ignore` 列表,不随组联动。
170171

171172
### 多 agent 协作纪律(并行修改本仓库,务必遵守)

0 commit comments

Comments
 (0)