This repository is versioned independently from consumer repositories. Versions communicate compatibility and migration effort, not a shipped Python package.
- Semantic versioning (SemVer)
- What consumers should pin
- Release notes (what to include)
- Releasing (maintainers)
- History
| Bump | When |
|---|---|
| MAJOR | Breaking changes consumers must react to: removed/renamed workflow inputs or files, changed contracts for reusable workflows, template moves that invalidate copies without migration. |
| MINOR | Backward-compatible additions: new optional workflow inputs, new templates, new docs, new reusable entry points. Existing callers keep working without changes. |
| PATCH | Fixes, clarifications, typo-only or docs-only corrections; no intended behavior change for callers. |
STANDARDS_VERSION in this repo uses MAJOR.MINOR.PATCH without a v prefix. Git tags use the v prefix (for example v2.0.0) so they are clearly distinguished from branch names.
| Pin style | Use when |
|---|---|
Version tag (vX.Y.Z) |
Default: copier update records it as _commit in .copier-answers.yml. |
| Commit SHA | Temporary --vcs-ref while validating a fix on main. |
Avoid adopting a branch ref: branch heads change without a version signal.
After each standards release, consumer maintainers should:
- Run
copier update: it records the new tag as_commitin.copier-answers.ymland brings the workflow pins of the managedci.yml. - Read CHANGELOG.md and docs/migration-guide.md for this repo before bumping major versions.
Each GitHub Release (and matching CHANGELOG.md section) should make adoption safe:
- Changed templates or workflow paths — what moved or was renamed.
- Callable workflow inputs/outputs — added, removed, deprecated, default changes.
- Migration impact — “no action”, “optional”, or “required steps”.
- Related docs — links to
docs/migration-guide.mdsections when relevant.
STANDARDS_VERSION is the canonical version. Release Please (release-please-config.json, .release-please-manifest.json, job release-please in .github/workflows/release-tag.yml) maintains a release PR from conventional PR titles; never bump, tag or publish by hand.
- Merge PRs titled
feat:/fix:(and!for breaking changes);ci:,docs:,chore:and similar titles do not open a release. - Release Please updates
STANDARDS_VERSION, every pin markedx-release-please-versionandCHANGELOG.mdin its release PR.scripts/tests/test_release_version_sync.pyfails if a marked pin differs or a current-version pin lacks its marker. - CI auto-merges the release PR once the required checks pass, then creates the tag and publishes the GitHub Release from the generated notes. Rerun a failed workflow to recover; an existing release is retained.
Version markers: the Release Please Generic updater replaces the first SemVer of each marked line. Mark only the line holding the standards pin: <!-- x-release-please-version --> at the end of a prose line, # x-release-please-version on a copier copy --vcs-ref line in a copyable shell example.
Frequency: Every merged feat:/fix: PR releases; title doc-only fixes docs: so they ride the next release.
- Git keeps full commit history; tags are immutable pointers to released commits.
- CHANGELOG.md is the human-facing summary; it does not replace
git log.