Skip to content

Release notes: drop the fix(#N): prefix of a title and a second bare (#N) after the pull request number - #467

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

tae898 merged 1 commit into
mainfrom
chore/release-notes-title-prefix

Conversation

@tae898

@tae898 tae898 commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

A second dry run of scripts/release_notes.py 26.12.1 against main (after #459) still listed lines that carry process text for the people on the project and not for a reader of a release. clean_title now also does two things.

  • It drops a commit-style prefix that carries an issue number (fix(#412): , docs(#431): , also feat, perf, chore, ci, test, refactor). A lower-case first word becomes a sentence start; an identifier such as find_nearest(...) or to_arrow stays as written.
  • It also drops a bare trailing (#N) that stands next to the number of the pull request, as in ... as the native wheel does (#452) (#456): the first one is an issue reference of the same kind as the (refs #N) notes that Release notes: leave out the issue notes of a title and the merges of a release line #459 leaves out.

A title that is nothing but such text is kept as it is, as before. The existing test row for fix(#423): find_nearest(...) pinned the old behaviour and now expects the title without the prefix; four rows are new.

I ran the old and the new clean_title on the titles of the 87 merged pull requests of the milestone 26.12.1: 9 lines change, 8 by the prefix and 1 by the bare number.

Related issues

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

Docs

The script describes itself in its docstring, which says nothing on titles, so nothing to change there.

Checklist

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

…(#N) after the pull request number

A dry run for 26.12.1 listed 'fix(#412): the native bytes cache ...' and 'JVM: to_json_list() ... (#452) (#456)'. The prefix carries an issue number and a process word that a reader of a release does not need, and the bare number next to the number of the pull request is an issue reference of the same kind as the (refs #N) notes that are already left out. A title that is nothing but such text is kept as it is.
@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 2444cb5 into main Nov 23, 2026
25 of 31 checks passed
@tae898
tae898 deleted the chore/release-notes-title-prefix branch November 23, 2026 11: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