chore(cargo-anvil): release v0.9.0 - #164
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The changes are consistent with a release PR (version/lock/README regeneration) and the new -BackfillVersion mode is implemented with clear validation and bounded behavior.
Pull request overview
This PR prepares the cargo-anvil v0.9.0 release by updating crate/version artifacts, regenerating generated docs, and enhancing the release automation script to support reconstructing missing changelog entries from existing git tags.
Changes:
- Add an idempotent
-BackfillVersionmode toscripts/release-crate.ps1to reconstruct an already-tagged version’s changelog section from the previous semver tag through the target tag. - Regenerate
crates/cargo-anvil/CHANGELOG.md(including backfilled 0.8.0) and refresh generated README link/version metadata for 0.9.0. - Bump
cargo-anvilto0.9.0and updateCargo.lockaccordingly.
File summaries
| File | Description |
|---|---|
| scripts/release-crate.ps1 | Adds -BackfillVersion flow and improves changelog “initial release” detection behavior when there are version gaps. |
| README.md | Documents how to use -BackfillVersion to reconstruct a missing changelog section for a tagged release. |
| crates/cargo-anvil/README.md | Regenerated README metadata/links to point at 0.9.0 docs. |
| crates/cargo-anvil/CHANGELOG.md | Adds Unreleased, records 0.9.0, and includes reconstructed 0.8.0 section. |
| crates/cargo-anvil/Cargo.toml | Bumps crate version from 0.8.0 to 0.9.0. |
| Cargo.lock | Updates the locked cargo-anvil package version to 0.9.0. |
Review details
- Files reviewed: 5/6 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #164 +/- ##
=======================================
- Coverage 97.5% 97.5% -0.1%
=======================================
Files 300 300
Lines 68538 68538
=======================================
- Hits 66876 66873 -3
- Misses 1662 1665 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b9d4bd2 to
3cbf2b1
Compare
There was a problem hiding this comment.
🟢 Approval recommended
The changes are consistent with the stated release goals, and the new backfill workflow is clearly validated, isolated, and documented.
Review details
- Files reviewed: 5/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
And also this one: (blocks our oxidizer PRs) |
|
and #167 :D |
Evgenii (Vaiz)
left a comment
There was a problem hiding this comment.
you can ignore #162
Pull request was converted to draft
|
#159 has been merged |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ad83c731-5326-43e7-84fe-3aef46ef031f
3cbf2b1 to
8edc524
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
It modifies the release script and multiple release-critical artifacts (versions, lockfiles, changelog, and generated documentation), which warrants final human verification before merging.
Review details
- Files reviewed: 5/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
[copilot speaking]
Summary
Release
cargo-anvil0.9.0 from the complete set of cargo-anvil changes merged since the 0.8.0 tag, repair the missing 0.8.0 changelog history, and add a reproducible changelog-backfill mode to the release script.cargo-anvil 0.9.0
The generated 0.9.0 changelog contains every commit touching the crate since
cargo-anvil-v0.8.0:Bug fixes
anvil-fmtrun the pinned nightly rustfmt (fix(cargo-anvil): make anvil-fmt actually run the pinned nightly rustfmt #159)Performance
Build system
cargo-coverage-gateandcargo-heathercatalog pins (build(anvil): bump cargo-coverage-gate and cargo-heather catalog pins #167)The crate manifest, workspace lockfile, generated crate README, and
.anvil.lockmetadata are updated for 0.9.0. Applying cargo-anvil recordstool_version = "0.9.0"while preserving the catalog checksum generated by currentmain.Reconstructed 0.8.0 history
The
cargo-anvil-v0.8.0tag existed without a corresponding changelog section. This PR reconstructs that section from the authoritative range:The section records the breaking ADO stage-identification change (#154), the aggregate CI gate (#158), and container-based MSRV resolution (#155).
Changelog backfill support
release-crate.ps1now supports:Backfill mode:
-Versionor-BumpThe normal release path also no longer fabricates an “Initial release” section when an established changelog contains a historical gap.
Validation