Skip to content

Simplify getChangelogEntry#632

Open
bluwy wants to merge 1 commit into
mainfrom
simplify-get-changelog-entry
Open

Simplify getChangelogEntry#632
bluwy wants to merge 1 commit into
mainfrom
simplify-get-changelog-entry

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented May 25, 2026

I copied the function from https://github.com/changesets/changesets/blob/eaea8a45aca36f2c87adf888e3a73cd2c3a9ee39/packages/release-utils/src/utils.ts#L33

Which I've updated for next in changesets/changesets#1962. This removes a ton of dependencies and slightly reduces our bundle size:

  • Before: 1,227.77 kB
  • After: 1,131.49 kB

We also don't have to update the deps (they're outdated). We could import this from @changesets/release-utils if we want, but the changes I made is in next. And I'm also not sure if we want to start using @changesets/release-utils here. So I went with the simple approach and copy the function to here.

I totally understand if we do not feel like doing this now. I feel that it's ok since we've added more tests for it, and it only affects the version PR description. But I'll leave it to you to see if we should do this now, or later.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 25, 2026

🦋 Changeset detected

Latest commit: 84bd40d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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