Skip to content

Conversation

@gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Dec 10, 2025

For some time now, we've had the problem where our changelog has stayed outdated for some time because it takes a long time to update manually, and we were trying to focus on other things. But in truth, it feels unacceptable to have an outdated changelog for so long. Because of that, I've been entertaining the idea of auto generating it for a really long time and finally have come to it.

This generates it from the CHANGELOG.md file for each package we have. It then parses the markdown files there in a very simple way to determine the versions for each log and the changes themselves. It then, using git blame and the line of the version's header (i.e., ## x.x.x) to determine the date of that version. Finally, it then groups those logs based on the date formatted as [Month] [Date], [Year], sorts and then outputs using the Mintlify's Update component.

With those changes, the changelog (now updated automatically), looks like this:

image

The single problem with this right now is that it rewrites the entire changelog, since it's also a different structure, which removes the changelog entries we had before we started using changesets.

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2025

⚠️ No Changeset found

Latest commit: a6d143a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Dec 10, 2025

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

Project Deployment Preview Comments Updated (UTC)
react-email Ready Ready Preview Comment Dec 10, 2025 3:54pm
react-email-demo Ready Ready Preview Comment Dec 10, 2025 3:54pm

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