Skip to content

chore(release): sys_department system-object rename is a breaking major (9.x → 10.0.0) - #2116

Merged
xuyushun441-sys merged 2 commits into
mainfrom
chore/adr-0057-major-bump
Jun 21, 2026
Merged

chore(release): sys_department system-object rename is a breaking major (9.x → 10.0.0)#2116
xuyushun441-sys merged 2 commits into
mainfrom
chore/adr-0057-major-bump

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

What

ADR-0057 D2 renames the shipped system object sys_departmentsys_business_unit (object + member table sys_department_membersys_business_unit_member, fields, i18n) with no compatibility alias. The change already landed in #2084; its changeset was filed as minor.

This PR re-grades that release as a major: a renamed shipped system object is a breaking change to the platform's public data surface, so the version number must say so rather than riding inside a minor.

Change

.changeset/adr-0057-erp-authz.md:

  • @objectstack/platform-objectsminormajor (ships the renamed sys_business_unit object)
  • @objectstack/plugin-sharingminormajor (member table + graph service + recipient)
  • spec / plugin-security / runtime / objectql stay minor (the rename doesn't break their surface)
  • Added a **BREAKING:** note to the changelog body documenting the rename + migration requirement.

Version impact

The published packages are a 73-member fixed changeset group anchored at @objectstack/spec (currently 9.11.0). Marking any member major takes the entire group 9.11.010.0.0 on the next changeset version — including packages unrelated to the rename. This release was otherwise slated for 9.12.0.

Note / follow-up

This is a pure changeset re-grade — no migration path is added here. Deployments holding sys_department rows, or metadata referencing the object by name, will break on upgrade. A data-migration step and/or transitional read alias can be a follow-up if we want a softer landing. Verified per ADR-0059's pre-publish hotcrm gate: no published downstream consumer references the old name.

🤖 Generated with Claude Code

os-zhuangand others added 2 commits June 21, 2026 16:08
fix(registry): silence bare-name collision warnings; keep display owners (#1855)
objectui@70a56e15152c6e9ff602a9ff3675900e410531d7
…ng major (10.0.0)
ADR-0057 D2 renames the shipped system object `sys_department` → `sys_business_unit`
(object + `sys_department_member` → `sys_business_unit_member`, fields, i18n) with no
compatibility alias. A renamed shipped system object is a breaking change to the
platform's public data surface, so `@objectstack/platform-objects` and
`@objectstack/plugin-sharing` move from `minor` to `major` — taking the 73-package
fixed group from 9.11.0 to 10.0.0 on the next `changeset version`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentJun 21, 2026 8:33am

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation tooling size/s labels Jun 21, 2026
@xuyushun441-sys
xuyushun441-sys merged commit b250cb8 into mainJun 21, 2026
15 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the chore/adr-0057-major-bump branch June 21, 2026 08:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/stooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@xuyushun441-sys@os-zhuang