Skip to content

chore: prepare release 0.4.0 - #39

Open
man8-octoflow[bot] wants to merge 1 commit into
mainfrom
man8-5956-release-0-4-0
Open

man8-octoflow[bot] wants to merge 1 commit into
mainfrom
man8-5956-release-0-4-0

Conversation

@man8-octoflow

@man8-octoflow man8-octoflow Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Important

Merging this is followed by the maintainer pushing the v0.4.0 tag on the merge commit. That tag runs release.yml, which publishes 0.4.0 to PyPI and creates the GitHub release. 0.4.0 drops support for Python 3.8 and 3.9 (#37): it requires Python 3.10 or later.

Pre-merge checklist

  • src/easylimit/__init__.py declares version 0.4.0, and the installed package reports 0.4.0
  • CHANGELOG.md has a [0.4.0] section carrying every entry previously under [Unreleased], and an empty [Unreleased]
  • The link block has an entry for every bracketed version heading ([0.3.3], [0.3.4], [0.4.0]), with [Unreleased] comparing from v0.4.0
  • The release workflow's notes extraction, run locally against this CHANGELOG.md, yields exactly the [0.4.0] section
  • Local checks run with uv 0.7.9: uv lock --check, uv sync --locked, ruff check, ruff format --check, mypy src/, pytest (153 passed)

What changed and why

This prepares the 0.4.0 release. 0.4.0 is a minor bump because it carries a breaking change, the removal of Python 3.8 and 3.9 support, and the package is pre-1.0.

  • __version__ goes from 0.3.4 to 0.4.0. pyproject.toml reads the version from this file and uv.lock records the package without a version, so neither changes.
  • The [Unreleased] entries move verbatim into ## [0.4.0] - 2026-11-13, keeping the Changed, Removed and Fixed order. [Unreleased] stays as an empty heading.
  • The link block gains the references for every bracketed version heading. Only v0.3.3 and v0.3.4 are tagged, so 0.3.3 links to its release page, and the untagged 0.2.0 to 0.3.2 headings stay unlinked.
Reference Before After
[Unreleased] compare/v0.3.4...HEAD compare/v0.4.0...HEAD
[0.4.0] none compare/v0.3.4...v0.4.0
[0.3.4] none compare/v0.3.3...v0.3.4 (200)
[0.3.3] none releases/tag/v0.3.3 (200)

The v0.4.0 links resolve once the tag is pushed.

What the release run does with this version

On a v0.4.0 tag push, release.yml tests on Python 3.10 to 3.13, builds, publishes to PyPI, then creates the GitHub release. The tag's version is used only to extract the notes; the published version comes from __version__, and nothing checks the two match. The notes come from sed -n "/## \[0.4.0\]/,/## \[/p" CHANGELOG.md | sed '$d': the range runs from the ## [0.4.0] heading to the next ## [ heading, ## [0.3.4], which the second sed drops, so the notes are exactly the 0.4.0 section.

Post-merge checks

  1. Does merging run CI on the default branch? Yes: the Test workflow runs on push to main, alongside the dependency-graph run GitHub schedules itself. Check: the Test run on the merge commit goes green.
  2. Does this change take over or supersede another PR? No. It closes issue Change log has missing links to tags for recent releases #17. Check: Change log has missing links to tags for recent releases #17 is closed by the merge.
  3. Does merging trigger a deploy, a scheduled job, a downstream smoke or a checkout that must catch up? Not by itself. The release runs on the v0.4.0 tag push that follows the merge. Check: the Release run for v0.4.0 goes green, 0.4.0 is on PyPI, the GitHub release carries the 0.4.0 notes, and the [0.4.0] and [Unreleased] links resolve.

These checks belong in the linked work item's post-merge verification section.

Fixes #17

🤖 Generated with Claude Code

https://claude.ai/code/session_01Pk5H9KCpSX7PmWxKeGd9Qd

Bump __version__ to 0.4.0 and move the Unreleased changelog entries
into a dated 0.4.0 section, leaving Unreleased empty.

Add the missing link references so every bracketed version heading
resolves: 0.4.0 and 0.3.4 compare against the previous tag, 0.3.3
points at its release page (no earlier tag exists), and Unreleased now
compares from v0.4.0.

Fixes #17

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk5H9KCpSX7PmWxKeGd9Qd
@man8-octoflow
man8-octoflow Bot requested a review from man8 November 13, 2026 20:05
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2062196f-c844-470b-9480-efe74c104ba9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

Change log has missing links to tags for recent releases

0 participants