Skip to content

fix(release): avoid automatic major bumps from fixed workspace peers - #140

Merged
NriotHrreion merged 1 commit into
mainfrom
fix/release-peer-version
Oct 1, 2026
Merged

NriotHrreion merged 1 commit into
mainfrom
fix/release-peer-version

Conversation

@NriotHrreion

Copy link
Copy Markdown
Member

Changesets 2.x promotes the internal @gitlab-ui-react/styles peer update in json-render to a major bump, which makes the fixed package group jump from 0.2.0 to 1.0.0. The version wrapper now temporarily hides workspace peers within that group while Changesets selects versions, then restores them in finally. Automatic feature releases produce 0.3.0; explicit manual major and prerelease releases still work.

Regression coverage uses the real Changesets CLI with internal and external peers, verifies restoration after failure, and exercises pending release snapshots. Release documentation now includes all four packages and the version wrapper requirement.

Validation:

  • pnpm lint
  • pnpm exec tsc --project tsconfig.json --noEmit
  • Five release test files: 38 tests passed.
  • Isolated preview against the current repository: a changeset is generated, all four packages become 0.3.0, and internal dependency ranges remain workspace:^.

Related: #129 has been corrected to 0.3.0 and remains unmerged. Merge this fix before the next automatic refresh to keep that version from being regenerated as 1.0.0. This PR leaves package versions at 0.2.0; no publishing was performed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T13:14:00.423954Z e55078c PR opened
🔒 Security Review ✅ Completed 2026-10-01T13:15:13.157553Z e55078c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@NriotHrreion
NriotHrreion merged commit f46c558 into main Oct 1, 2026
2 checks passed
@NriotHrreion
NriotHrreion deleted the fix/release-peer-version branch October 1, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant