chore: clean up release notes generation output - #9705
Open
manolo wants to merge 1 commit into
Open
Conversation
Consolidate repeated Web-Component version bumps into a single line, trim PR bodies to the first paragraph of the description with a link to the PR for the rest, and drop template sections, checklists, HTML comments and separators from the output.
|
web-padawan
reviewed
Jul 9, 2026
| return /^- \[[ xX]\]/.test(line) | ||
| || /^🤖/.test(line) | ||
| || /generated with .*claude/i.test(line) | ||
| || /i have read the contribution guide/i.test(line); |
Member
There was a problem hiding this comment.
question: should we remove commit message body altogether? IMO the message and PR link are enough, see e.g. release notes for 25.2.0 which I formatted manually.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The generated GitHub release notes were hard to read. The Web-Component
version bumps produced one repeated line per commit, and each PR entry pasted
the whole PR body: the template sections, checklists, HTML comment hints and
trailing separators. This made the notes long and noisy, and it also published
internal template text on the public release pages.
Changes in
scripts/generateChangeLog.js:every commit, instead of one identical line per commit.
section, followed by a
(more)link to the PR when content was cut.Type of change,Checklist), checkbox items, HTMLcomments and horizontal-rule separators are removed from the output.