Skip to content

chore: release 0.5.1 - #134

Merged
DLANSAMA merged 1 commit into
mainfrom
chore/release-0.5.1
Aug 28, 2026
Merged

chore: release 0.5.1#134
DLANSAMA merged 1 commit into
mainfrom
chore/release-0.5.1

Conversation

@DLANSAMA

Copy link
Copy Markdown
Owner

Why

Step 1 of docs/releasing.md for 0.5.1. main carries a .devN suffix between releases, and release.yml compares the tag to pyproject.toml exactly — a v0.5.1 tag against a 0.6.0.dev0 version fails the build. So the version has to land on main before the tag exists.

Everything shipping in 0.5.1 is already on main: the first-run person path and the honest --confirm / --sim / go copy (#133, squash-merged as 21445c4).

What

Two files, five lines.

  • pyproject.toml: version = "0.6.0.dev0""0.5.1". Single source of truth — bambu_cli.constants.VERSION resolves from package metadata.
  • CHANGELOG.md: ## [Unreleased] kept as an empty heading; its ### Fixed bullets move under ## [0.5.1] - 2026-08-28. No older section rewritten. Footer gains [0.5.1]: …/compare/v0.5.0...v0.5.1, and [Unreleased] now compares from v0.5.1.

No tag, no publish, no 0.6.0.dev0 bump — those are steps 2 and 6, after this merges.

uv.lock is deliberately untouched. It still records 0.5.0 (pre-existing drift from the 0.6.0.dev0 bump in 8cfebbc), and uv sync wants to rewrite it, but nothing forces that: uv sync --frozen and uv export --frozen --no-emit-project both exit 0 against the committed lock, which are the two frozen gates ci.yml actually runs.

Verification (local, matching ci.yml pins)

  • VERSION resolves to 0.5.1 from package metadata after reinstall
  • tests/release_readiness_smoke.py: pass
  • python -W error::ResourceWarning -m pytest tests/ -m "not live" --cov-fail-under=86: 1530 passed, 1 deselected, coverage 90.95%
  • ruff check / ruff format --check / bandit -ll / mypy -p bambu_cli: pass
  • check_layers.py / gen_schemas.py --check (27 schemas) / ci_workflow_smoke / python_compat_smoke / privacy_smoke: pass
  • uv sync --frozen / uv export --frozen: exit 0 with uv.lock unmodified

Step 1 of docs/releasing.md: drop the .devN suffix that main carries
between releases and move the Unreleased entries under the new heading.
No tag and no publish here — release.yml compares the tag to
pyproject.toml exactly, so the version must land on main first.

- pyproject.toml: 0.6.0.dev0 -> 0.5.1 (single source of truth;
  bambu_cli.constants.VERSION resolves from package metadata).
- CHANGELOG.md: Unreleased kept as an empty heading; its Fixed bullets
  (the first-run person path, honest --confirm / --sim / go copy, and
  the print-errors-once fix) move under [0.5.1] - 2026-08-28. Older
  sections untouched. Footer gains the [0.5.1] compare link and
  [Unreleased] now compares from v0.5.1.

uv.lock is deliberately untouched: it still records 0.5.0, but
`uv sync --frozen` and `uv export --frozen` both pass with it, so
nothing in CI forces the churn into this release PR.
@DLANSAMA
DLANSAMA merged commit 417dce6 into main Aug 28, 2026
6 checks passed
@DLANSAMA
DLANSAMA deleted the chore/release-0.5.1 branch August 28, 2026 13:21
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