Skip to content

Document new process for updating changelogs#5111

Merged
mcmire merged 3 commits intomainfrom
add-docs-for-new-changelog-process
Mar 28, 2025
Merged

Document new process for updating changelogs#5111
mcmire merged 3 commits intomainfrom
add-docs-for-new-changelog-process

Conversation

@mcmire
Copy link
Copy Markdown
Contributor

@mcmire mcmire commented Jan 7, 2025

Explanation

Currently, we ask that when contributors submit a pull request, they fill out a Changelog section in the description which lists all of the consumer-facing changes they've made. This section is ultimately used when creating a new release to assist with populating CHANGELOG.md files.

However, this process is difficult to follow in practice because it forces release authors to do work on behalf of other engineers. The people that know how to describe changes best are those that made the change, so they should be reponsible for updating changelogs.

With this commit, we now direct contributors to update changelog files directly as they make changes instead of placing them in the Changelog section of the PR description.

References

Closes #4385.

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 highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@mcmire mcmire force-pushed the add-docs-for-new-changelog-process branch from a906853 to 50e31d1 Compare February 4, 2025 16:23
Currently, we ask that when contributors submit a pull request, they
fill out a Changelog section in the description which lists all of the
consumer-facing changes they've made. This section is ultimately used
when creating a new release to assist with populating `CHANGELOG.md`
files.

However, this process is difficult to follow in practice because it
forces release authors to do work on behalf of other engineers. The
people that know how to describe changes best are those that made the
change, so they should be reponsible for updating changelogs.

With this commit, we now direct contributors to update changelog files
directly as they make changes instead of placing them in the Changelog
section of the PR description (which no longer exists). This commit adds
documentation on how to do this effectively (much of which is now in the
`contributor-docs` repo).
@mcmire mcmire force-pushed the add-docs-for-new-changelog-process branch from 50e31d1 to 7ebcb93 Compare March 13, 2025 14:59
@mcmire mcmire marked this pull request as ready for review March 13, 2025 15:43
@mcmire mcmire requested a review from a team as a code owner March 13, 2025 15:43
@mcmire mcmire added the team-wallet-framework Deprecated: Please use `team-core-platform` instead. label Mar 13, 2025
@mcmire mcmire changed the title Transition to new process for updating changelogs Document new process for updating changelogs Mar 13, 2025
Copy link
Copy Markdown
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for taking care of this.


<!--
If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide.
THIS SECTION IS NO LONGER NEEDED.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If it's no longer needed, maybe just remove it to avoid confusion? I think the new item in the checklist below should be enough.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, do you think it would be confusing to leave this section? My observation is that over time contributors have gotten pretty good at updating this section, but only a fraction of them pay attention to the checklist. My worry is that it would be more confusing if people looked for this section and could no longer find it. So my thought was that this notice would be helpful in guiding people as they accustom to the new process. What do you see though?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh and to be fair, we don't anticipate needing to keep this section around long-term. We plan on implementing a GitHub workflow soon which will enforce changelog updates via an automated PR comment (issue tracked here). Once that is in place, then we would clean up the pull request template. Does that seem like a better approach?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sounds good! A GitHub workflow to enforce this seems useful.

@mcmire mcmire merged commit 848286b into main Mar 28, 2025
193 checks passed
@mcmire mcmire deleted the add-docs-for-new-changelog-process branch March 28, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-wallet-framework Deprecated: Please use `team-core-platform` instead.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce new process for entering changelog entries prior to release PR

3 participants