PR Bro uses Semantic Versioning 2.0 with automated version bumping via release-plz.
Commits trigger version bumps based on type:
| Commit Type | Example | Version Bump |
|---|---|---|
feat |
feat(tui): add score breakdown view |
0.1.0 -> 0.2.0 (MINOR) |
fix |
fix(cache): handle network timeout |
0.1.0 -> 0.1.1 (PATCH) |
perf |
perf(scoring): optimize label matching |
0.1.0 -> 0.1.1 (PATCH) |
feat! / BREAKING CHANGE: |
feat(config)!: change YAML schema |
0.1.0 -> 1.0.0 (MAJOR) |
docs, style, refactor, test, build, ci, chore |
Any | No bump |
During 0.x releases (initial development), minor version bumps may include breaking changes per the SemVer 2.0 spec.
These changes warrant a major version bump (or minor bump during 0.x):
- CLI flag renames or removals
- Config schema changes requiring user edits to existing configs
- Output format changes that break scripting or automation
- Removal of features
These are safe additive changes:
- Adding new features (as long as existing features work unchanged)
- Bug fixes that change behavior to match documentation
- Internal refactoring with no user-visible changes
- Performance improvements
Normal SemVer rules apply after 1.0.0 β breaking changes always trigger a major bump.
The release workflow runs automatically:
- Merge a PR to
master - release-plz analyzes commits since last release using conventional commit format
- Calculates version bump based on commit types
- Opens a release PR with updated Cargo.toml version
- Merge the release PR
- release-plz creates a git tag (e.g.,
v0.2.0) - Tag triggers release workflow β builds binaries for macOS (Intel + Apple Silicon) and Linux (x64)
- GitHub Release created with binaries and auto-generated release notes
- Homebrew tap (toniperic/homebrew-tap) automatically updated with new formula
release-plz supports pre-release versioning for gradual rollouts:
0.2.0-alphaβ early testing, unstable API, frequent breaking changes expected0.2.0-betaβ feature-complete, API stabilizing, bug fixes only0.2.0-rc.1β release candidate, production-ready testing, critical fixes only
Pre-releases have lower precedence than stable versions per SemVer (0.2.0-alpha < 0.2.0-beta < 0.2.0-rc.1 < 0.2.0).