Skip to content

Release notes: leave out the issue notes of a title and the merges of a release line - #459

Merged
tae898 merged 1 commit into
mainfrom
chore/release-notes-titles
Nov 23, 2026
Merged

tae898 merged 1 commit into
mainfrom
chore/release-notes-titles

Conversation

@tae898

@tae898 tae898 commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

The release notes are the text a user reads on the GitHub Release, and a dry run for 26.12.1 showed two kinds of noise that only the people on the project need. This changes scripts/release_notes.py in two ways and adds a test file for the two pure parts.

  • A line leaves out the trailing notes of a title that point at issues: (refs #388, #315), (closes #371), (fixes #5) and (rank 2 of #388). The number of the pull request stays at the end of the line, and a title that is nothing but such a note is kept as it is.
  • A pull request that only merges a release line back into main (Merge the 26.11.1.post3 release line into main) is not listed. It was listed under Performance, because those pull requests carry the labels of the release.

The dry run of release_notes.py 26.12.1 before this change listed 39 pull requests, 2 of them merges of a release line and 23 with a note of this kind at the end of the title.

Related issues

None. It follows from the dry run of the 26.12.1 notes.

Docs

The notes script describes itself in its docstring, which has no sentence on titles, so nothing to change there.

Checklist

  • A regression test fails on the old code and passes on the new (not run here: the new tests run in this pull request's CI, and the old clean_title returns the note, so they fail on it by construction)
  • The test suite that the change can affect passes (the new file runs in this pull request's CI)
  • uvx pre-commit run --files <changed files> passes

@tae898 tae898 added this to the 26.12.1 milestone Nov 23, 2026
@tae898 tae898 added documentation Improvements or additions to documentation python Pull requests that update python code labels Nov 23, 2026
@tae898 tae898 self-assigned this Nov 23, 2026
@tae898
tae898 merged commit 04c1c3e into main Nov 23, 2026
24 checks passed
@tae898
tae898 deleted the chore/release-notes-titles branch November 23, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant