Skip to content

fix(changeset): load changelog-github via default export - #7

Merged
quantizor merged 1 commit into
mainfrom
fix/changeset-changelog-default-export
Jul 24, 2026
Merged

fix(changeset): load changelog-github via default export#7
quantizor merged 1 commit into
mainfrom
fix/changeset-changelog-default-export

Conversation

@quantizor

Copy link
Copy Markdown
Owner

Summary

  • Release failed with Could not resolve changelog generation functions because .changeset/changelog.cjs re-exported named bindings from @changesets/changelog-github, which only provides default.
  • Use .default so getReleaseLine / getDependencyReleaseLine are real functions again.

Test plan

  • Local require('./.changeset/changelog.cjs') exports functions
  • changeset version completes past changelog resolve
  • Re-run Release on main after merge

The package only exports default; named re-exports were undefined and broke `changeset version` on the Release workflow.
Copilot AI review requested due to automatic review settings July 24, 2026 17:58
@quantizor
quantizor merged commit 730a84a into main Jul 24, 2026
4 checks passed
@quantizor
quantizor deleted the fix/changeset-changelog-default-export branch July 24, 2026 17:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the Changesets changelog wrapper so it correctly loads @changesets/changelog-github’s default export, restoring getReleaseLine / getDependencyReleaseLine and unblocking release changelog generation.

Changes:

  • Update .changeset/changelog.cjs to require @changesets/changelog-github via .default so the expected functions are present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants