Skip to content

Review label taxonomy and establish release-notes template #440

Backlog

Description

@igel-devin-ai

Goal

Review the repository's label taxonomy and define a consistent release-notes template so that generated release notes land in meaningful sections instead of "Other Changes".

Current state

.github/release.yml already drives GitHub's auto-generated release notes:

Category Labels
⚠️ Breaking Changes (none yet — see proposal)
🚀 Features enhancement
🐛 Bug Fixes bug
📚 Documentation documentation
🔧 Maintenance maintenance, refactor
Other Changes * (catch-all)

Excluded: ignore-for-release, pipeline, and dependabot authors.

Label inventory issues

  • Overlapping labels: improvement vs enhancement; ci / pipeline / github-actions; maintenance vs refactor (both map to the same section anyway).
  • Unmapped labels fall into "Other Changes": improvement, security, test, ci, github-actions, java, dependencies, future-idea.
  • 7 labels have no description: ci, github-actions, improvement, maintenance, refactor, security, test.
  • Dependabot labelling uses dependencies + github-actions/java, but dependencies maps to no section — and dependabot authors are excluded while their PRs may still appear via *.

Findings from recent releases

  • v0.6.0: sections look right for labelled PRs, but the labelled set is small.
  • v0.5.0: almost everything landed in "Other Changes" because most merged PRs carried no category label.
  • v0.3.0: fully handwritten structure — inconsistent with the generated format.

How larger open-source projects do this

  • GitHub auto-generated notes + .github/release.yml is the standard baseline (used across GitHub-owned and Microsoft repos): categories map to labels, exclude.labels drops housekeeping.
  • Label taxonomy by type: Kubernetes (kind/*), Spring (type:*), Angular use a dedicated type: prefix so every PR has exactly one category label; area/severity use separate prefixes.
  • Dedicated Dependencies section: most projects (Spring Boot, release-drafter templates) group dependency bumps under ⬆️ Dependencies rather than hiding them.
  • Breaking changes get a top-level section: Kubernetes (⚠️ Breaking Changes / action required notes), Angular and semantic-release-based projects surface breaking changes first — often via a breaking-change label and/or the BREAKING CHANGE: commit footer from Conventional Commits. Upgrade notes are usually written by hand per item.
  • Security first: several projects put a 🔒 Security section at the top when security-labelled PRs exist.
  • Curated highlights on top: Spring Boot and Kubernetes add a hand-written highlights paragraph above the generated changelog — the template is for the generated part, not the whole notes.
  • release-drafter is the common alternative where notes need richer templating (versions, contributors, automatic drafting on merge); GitHub-native release.yml covers our needs without another workflow.

Proposal

1. Consolidate labels

  • Merge improvement → enhancement; ci + pipeline → github-actions (or one ci/cd label); decide maintenance vs refactor (keep one, or keep both mapped to the same section).
  • Add a breaking-change label (e.g. type:breaking if a prefix scheme is adopted) — an API-affecting PR carries it in addition to its category label.
  • Fill in the 7 missing descriptions.
  • Optionally adopt a type: prefix (type:feature, type:bug, type:docs, type:dependencies, type:ci, type:security, type:test) to enforce one-category-per-PR.

Multi-label handling (how other projects deal with it)

GitHub resolves conflicts by category order: a PR lands in the first section whose labels it matches — later matches are ignored (the * catch-all must therefore stay last). Common patterns to keep this deterministic:

  • Orthogonal label dimensions (Kubernetes kind/* + area/*, Spring type:* + status:*): exactly one category label decides the section; other labels (severity, area, breaking) only annotate. Enforcement is convention + review, or a CI check requiring ≥1 category label.
  • Breaking/semver flags outrank the category: breaking-change is deliberately listed first, so a breaking-change + bug PR sorts into Breaking regardless of the other label.
  • Section priority encodes intent: ordering categories by reader importance (Breaking → Security → Features → Fixes → Docs → Deps → Tests/CI → Maintenance) makes multi-label results predictable rather than arbitrary.
  • Hand override: most projects let the release manager move a mis-sorted line when curating notes — the label is a default, not a contract.

2. Extend .github/release.yml

  • Add ⚠️ Breaking Changes as the first category (breaking-change); a PR labelled breaking-change + bug then appears in both lists — that is intentional, the breaking note is what readers look for.
  • Add sections: 🔒 Security (security), ⬆️ Dependencies (dependencies, java, github-actions), 🧪 Tests (test), ⚙️ CI (github-actions/ci) — or fold CI under Dependencies/Maintenance.
  • Keep ignore-for-release for genuinely uninteresting PRs (version bumps, merge-only noise).

3. Release notes template

Standard skeleton per release:

  1. One-line intro + highlights (hand-written, only for noteworthy releases).
  2. Generated "What's Changed" with the sections above.
  3. Maven Central block (already in footer, incl. $RESOLVED_VERSION substitution).
  4. Full Changelog compare link.

4. Process

  • Require a category label on every non-trivial PR (can be checked in CI or just reviewed).
  • Retroactively label notable merged PRs when preparing a release.

Tasks

Done via #442:

  • Update .github/release.yml categories (Breaking → Security → Features → Fixes → Docs → Dependencies → Tests → CI → Maintenance → Other)
  • Document the release-notes template (RELEASE.md) and the labelling convention (docs/CONTRIBUTING.md)

For @AndreasIgel (needs repo admin):

  • Decide the canonical label set — recommendation: merge improvement → enhancement; merge ci + pipeline → github-actions; keep maintenance and refactor (they already share one section); skip the type: prefix
  • Create the breaking-change label (e.g. red b60205, description "Introduces an incompatible API change")
  • Fill in the missing label descriptions: ci, github-actions, improvement, maintenance, refactor, security, test
  • Backfill labels on recent merged PRs so the next release notes classify correctly
  • Merge chore: classify release notes by label and document the template (#440) #442

Activity

  1. added this to the v0.7.0 milestone on Nov 24, 2026
  2. changed the issue type fromtoon Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions