Skip to content

chore: release - #611

Closed
cpp-linter-publisher[bot] wants to merge 2 commits into
mainfrom
release-plz-2026-11-26T05-44-04Z
Closed

cpp-linter-publisher[bot] wants to merge 2 commits into
mainfrom
release-plz-2026-11-26T05-44-04Z

Conversation

@cpp-linter-publisher

@cpp-linter-publisher cpp-linter-publisher Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

🤖 New release

  • clang-tools-manager: 0.4.0 -> 0.4.1
  • cpp-linter: 2.0.0-rc.28 -> 2.0.0-rc.29
  • cpp-linter-py: 2.0.0-rc.27 -> 2.0.0-rc.29
  • cpp-linter-js: 2.0.0-rc.26 -> 2.0.0-rc.29
Changelog

clang-tools-manager

0.4.1 - 2026-11-26

🗨️ Changed

  • Update Cargo.lock dependencies

Full commit diff: clang-tools-manager/v0.4.0...clang-tools-manager/v0.4.1

cpp-linter

2.0.0-rc.29 - 2026-11-26

🗨️ Changed

  • Update Cargo.toml dependencies

Full commit diff: cpp-linter/v2.0.0-rc.28...cpp-linter/v2.0.0-rc.29


This PR was generated with release-plz.

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.75%. Comparing base (262e85b) to head (15bdcaa).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #611   +/-   ##
=======================================
  Coverage   99.75%   99.75%           
=======================================
  Files          37       37           
  Lines        9779     9779           
=======================================
  Hits         9755     9755           
  Misses         24       24           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

2bndy5 pushed a commit that referenced this pull request Nov 26, 2026
…#612)

## Summary

When a package changes only through its dependencies, release-plz adds
its own changelog entry ("chore: update Cargo.lock dependencies" /
"chore: update Cargo.toml dependencies") with the placeholder commit id
`0000000`. Our template linked every entry without a PR number to its
commit, so the current release PR (#611) shows a link to
`commit/0000000`, which is a 404, in both CHANGELOG.md files and in the
PR body (and would end up in the GitHub release notes).

The template now leaves out the commit link for that placeholder id.
Checked with `release-plz update` on main: the entries become `- Update
Cargo.lock dependencies` and `- Update Cargo.toml dependencies`; nothing
else changes. Once this is merged, release-plz updates #611 on its own.

## Related Issues

Relates to #611

<!-- claude-projects-attribution: {"github_login":"shenxianpeng"} -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Changelog entries without a pull request no longer display a commit
link when the commit ID is a placeholder. Other commits without a pull
request continue to display a link using the shortened commit ID.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com>
@cpp-linter-publisher
cpp-linter-publisher Bot force-pushed the release-plz-2026-11-26T05-44-04Z branch from 9f47182 to 856c0e1 Compare November 26, 2026 07:25
@2bndy5

2bndy5 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Hmm.

  1. I'm not sure Cargo.lock should cause a version bump.
  2. Why is the only changes showing up as Cargo.lock update?
  3. How do we intentionally move from v2.0.0-rc.28 to v2.0.0?

shenxianpeng added a commit that referenced this pull request Nov 26, 2026
#613)

## Summary

Addresses the questions on #611, so that releases happen when we decide,
like with the old bump-n-release dispatch.

1. **No release for Cargo.lock-only changes.** release-plz bumps a
package that has a binary target when its locked dependencies changed
since the last crates.io release. That is why #611 bumped
clang-tools-manager to 0.4.1 (#604 updated `zip`), which then bumped
cpp-linter (its dependency on clang-tools-manager changed) and, through
the version group, cpp-linter-py/js. `release_commits =
"^(feat|fix|perf)"` now requires at least one `feat`, `fix` or `perf`
commit before a package is released. Dependency, docs and CI changes
alone no longer release anything.
2. **Why only a Cargo.lock entry showed up.** release-plz only counts
commits that touch files inside a package's directory. #604 only changed
the root `Cargo.lock`, so release-plz wrote its generic "Update
Cargo.lock dependencies" entry instead. There are no other changes in
`cpp-linter/` since rc.28. With 1. this kind of release does not happen
anymore.
3. **Moving to 2.0.0 on purpose.** The release PR is now only opened or
updated when the Release-plz workflow is run by hand
(`workflow_dispatch`); the `release` job still runs on every push to
main and only acts when a release PR is merged (`release_always =
false`). To go to 2.0.0, a PR titled `build: set version to 2.0.0` sets
the version with `cargo set-version` (as in CONTRIBUTING), then the
workflow is run. `release_commits` also matches that title, so a version
set by hand is released even without another `feat`/`fix`/`perf` commit;
the commit itself is left out of the changelog. Checked with
`release-plz update`: the release PR keeps 2.0.0 for all three packages,
and a hand-set clang-tools-manager 0.5.0 with no other commits is picked
up too.

One thing to know for 2.0.0, now noted in CONTRIBUTING: crates.io still
has the old `2.0.0-rc1` … `2.0.0-rc15` versions, and in semver `rc9`
sorts after `rc.28`. release-plz therefore takes `2.0.0-rc9` as the
previous version and the generated 2.0.0 changelog lists everything
since then (38 entries, no compare link). The 2.0.0 changelog in the
release PR should be edited by hand before merging.

Checked with `release-plz update` on current main plus this change: no
package is released (no `feat`/`fix`/`perf` commit since the last
releases). Once this is merged, #611 can be closed.

## Related Issues

Relates to #611

<!-- claude-projects-attribution: {"github_login":"shenxianpeng"} -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Release Process**
* Releases are now initiated manually rather than updated automatically
on every push to the main branch.
* Release preparation is limited to packages with feature, bug-fix, or
performance commits since their last release. Dependency-only,
documentation, and CI changes do not qualify; manually selected versions
are retained.
* Release guidance now clarifies when to rerun the workflow and how
publishing and deployment steps differ.

* **Documentation**
* Added guidance on how existing release-candidate versions affect
version selection and changelog entries.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

2 participants