Conventional Commits and Your Changelog: Short Answers

Conventional Commits is a lightweight convention for commit messages that release tools can parse into version bumps and changelog sections. These are the questions maintainers raise most often when they consider adopting it, grouped by theme and answered directly.

The convention itself

What does a conventional commit look like?

A type, an optional scope in parentheses, a colon and a short description: fix(parser): handle empty input. An optional body and footers can follow after a blank line.

Which types matter for versioning?

The specification defines feat as a new feature, mapping to a MINOR bump, and fix as a bug fix, mapping to PATCH. Other types such as docs, refactor, test or chore are allowed, and many teams use them, but they do not trigger a release on their own in most setups.

How do I mark a breaking change?

Either add ! after the type or scope, as in feat(api)!: drop callback interface, or include a footer starting with BREAKING CHANGE: that explains what broke. Either one signals a MAJOR bump.

Generating the changelog

Can the changelog be fully automatic?

It can be generated automatically, and tools in several ecosystems do exactly that by grouping feat and fix commits under headings. Whether it should be published without review is another matter. Commit messages are written for reviewers; changelog lines are written for users. Treat the generated text as a draft.

Does this replace Keep a Changelog?

Not necessarily. They solve different problems. Conventional Commits structures the input; Keep a Changelog describes a readable output format. Plenty of projects use commit types to draft entries and then edit them into Keep a Changelog headings.

What about commits that users do not care about?

That is where the type pays off. Configure your tool to omit chore, ci and test from the published changelog, so internal work stays out of the release notes automatically.

Adoption in practice

Do all contributors need to follow it?

If you squash-merge pull requests, only the final squash message needs to be conventional, which makes adoption far easier. The maintainer merging the pull request can fix the title. With merge commits or rebases, every commit counts, and a commit-message linter in CI becomes more useful.

What if someone mislabels a breaking change as a fix?

Then automation will publish a patch release that breaks people, which is the main risk of relying entirely on commit messages. Code review is the backstop: reviewers should ask "is this breaking?" on any change to exported behaviour, and API-diff tooling can catch some cases mechanically.

Is it worth it for a small solo project?

Often yes, mainly as a habit. Writing feat: or fix: forces a two-second decision about the nature of each change, which makes picking the next version number trivial even if you never automate anything.

Where is the specification?

The Conventional Commits specification is published at conventionalcommits.org and is short enough to read in full in a few minutes. It is worth doing so before configuring any tool, because tools add their own extra conventions on top.