Skip to content

fix(release): list unreleased versions in the next beta's notes - #2058

Merged
frahlg merged 1 commit into
masterfrom
release-notes-unreleased-versions
Nov 21, 2026
Merged

frahlg merged 1 commit into
masterfrom
release-notes-unreleased-versions

Conversation

@frahlg

@frahlg frahlg commented Nov 21, 2026

Copy link
Copy Markdown
Member

Problem

write-native-release-notes.py copies only the CHANGELOG section of the tagged version. Version Packages #2049 made 0.165.2, but it was never released. The next beta is v0.165.3-beta.1, so its GitHub page and its Discord post would list only the two 0.165.3 fixes. They would leave out the 0.165.2 changes: Energyplan 0.8.0 (#2052), the boost refusal reason (#2053), the pairing page text (#2048) and the vehicle SoC display (#2029).

Change

  • A beta's notes also list each older section, newest first, down to the newest version that has a published release. Each one sits under "From X, which had no release of its own".
  • The workflow passes the release pages it already fetched for the order check (native-release-pages.json).
  • The notes stay as before in these cases:
    • no published base is known;
    • the release is a stable;
    • the beta repeats a version that already has a release.
  • The changeset is empty: the effect shows in the release text itself, so no line goes into the CHANGELOG.

Evidence

  • make release-workflow-test passes locally. It now has 8 note tests, 5 of them new:
    • the extra section;
    • no known base;
    • stable and repeat beta;
    • parsing the release pages;
    • the workflow passing the pages after it fetches them.
  • I ran the script on real data: the release pages from the API, and the CHANGELOG on the Version Packages branch (chore(release): version packages #2057, 0.165.3). Its output had both sections, and 0.165.1 and older stayed out. The output is 1,957 characters; the Discord script cuts at 3,500.

Release order

Merge this first. #2057 then regenerates and takes in the empty changeset without a version change. The beta is cut from that Version Packages commit.

🤖 Generated with Claude Code

The notes for a beta held only the CHANGELOG section of the tagged
version. 0.165.2 was versioned but never released, so v0.165.3-beta.1
would have announced two small fixes and left out Energyplan 0.8.0, the
boost refusal reason and the other 0.165.2 changes, on GitHub and in
Discord.

A beta now also lists each older section down to the newest version
with a published release, under "From X, which had no release of its
own". The workflow passes the release pages it already fetched. Without
a known published base, a stable, or a repeat beta of a published
version, the notes stay as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T15:23:13.452391Z cdbe8ce PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg merged commit 9db322b into master Nov 21, 2026
18 checks passed
@frahlg
frahlg deleted the release-notes-unreleased-versions branch November 21, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant