Skip to content

feat(create-release-branch): load the Changesets plan and generate the release spec - #136

Draft
GuillaumeRx wants to merge 3 commits into
gr/create-release-branch-changesetsfrom
gr/crb-changesets-release-spec
Draft

GuillaumeRx wants to merge 3 commits into
gr/create-release-branch-changesetsfrom
gr/crb-changesets-release-spec

Conversation

@GuillaumeRx

@GuillaumeRx GuillaumeRx commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Explanation

Adds the code that reads Changesets and writes the release spec. Nothing calls it yet.

  • loadChangesetsPlan loads the config, the changesets and the release plan. It fails on an invalid config, on pre mode, or when changelog is disabled.
  • findChangesetsCandidates lists the packages to offer: packages with changesets, packages released because of a dependency, and packages with only legacy Unreleased entries.
  • generateChangesetsReleaseSpecificationTemplate writes RELEASE_SPEC.yml with the planned bumps. Each line has a comment with the reason.
  • Changelog parse errors name the package.

No user-facing change, so no changelog entry.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​changesets/​get-release-plan@​5.0.21001006794100

View full report

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant