Skip to content

Add guidelines for maintaining changelogs #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Dec 20, 2024

Changelogs seem straightforward enough to maintain, but recent updates in the core repo indicate that there may be misconceptions around them. The guidelines in this PR aim to clarify the purpose of a changelog and how to maintain them so that they are valuable for consumers at all times.

This is a prequisite for updating the release process in the core monorepo but should prove valuable in many other MetaMask projects as well.

📖 View rendered document

Closes #122.

@mcmire mcmire force-pushed the add-changelogs-guidelines branch 3 times, most recently from 965b082 to 34c5980 Compare January 6, 2025 17:27
@mcmire mcmire marked this pull request as ready for review January 6, 2025 17:30
@mcmire mcmire requested a review from a team as a code owner January 6, 2025 17:30
@mcmire mcmire changed the title Add guidelines for writing changelogs Add guidelines for maintaining changelogs Jan 6, 2025
Changelogs seem straightforward enough to maintain, but recent updates
in the `core` repo indicate that there may be misconceptions. The
guidelines in this PR aim to clarify the purpose of a changelog and how
to maintain them so that they are valuable for consumers at all times.

This is a prequisite for updating the release process in the `core`
monorepo but should prove valuable in many other MetaMask projects as
well.
@mcmire mcmire force-pushed the add-changelogs-guidelines branch from 34c5980 to c70d08a Compare January 6, 2025 17:33
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

## tl;dr

- Every MetaMask project for which new versions are distributed publicly should have a changelog file, and it should be called `CHANGELOG.md`.
- A changelog should be written primarily for consumers of the project, and as such, it should be valuable to them at all times.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps worth reminding people that even if no one else uses the package now, someone may want to in the future? i.e. even if a team that produces a package are their own consumers, it's worth thinking about other teams.

This could include:

- Changing the behavior of a public function or method ✅
- Adding or removing a "production" or peer dependency ✅
Copy link
Contributor Author

@mcmire mcmire Feb 6, 2025

Choose a reason for hiding this comment

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

Maybe make it more obvious that adding a peer dependency is breaking since that happens quite frequently.

@mcmire
Copy link
Contributor Author

mcmire commented Feb 13, 2025

Not sure why lint is failing on the mobile e2e doc. We must not have the settings correct on this repo and are allowing branches to be merged with lint violations.

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.

Add guidelines for maintaining changelogs
1 participant