How to Write Conventional Commits and Build a Changelog from Git Log
Write commit messages that follow Conventional Commits, lint them as you type, then turn git log into grouped release notes and the next SemVer version.

How to Write Conventional Commits and Build a Changelog from Git Log
A commit history is documentation that nobody reads until something breaks. When messages say "fix" or "wip", finding the change that introduced a bug or writing release notes becomes slow detective work. Conventional Commits is a small convention that makes history readable for people and parseable for tools, and Semantic Versioning turns that history into a version number. This guide explains both and shows how to apply them with a browser-based builder.
What Conventional Commits are
The Conventional Commits specification defines a message header in the form type(scope): description. The type says what kind of change it is: feat for a new feature, fix for a bug fix, and others such as docs, refactor, perf, test, build, ci and chore. The scope is optional and names the area of the code, like api or parser. The description is a short summary.
After a blank line comes an optional body that explains why the change was made, and after that optional footers such as Refs: #142 or Co-authored-by: lines. A breaking change is marked with ! after the type or scope, and described in a BREAKING CHANGE: footer.
Common style conventions on top of the spec: write the description in the imperative mood ("add CSV export", not "added CSV export"), start it in lower case, omit the final full stop, and keep the header short enough to read in a one-line log.
How SemVer connects to commits
Semantic Versioning uses MAJOR.MINOR.PATCH. Incompatible API changes raise MAJOR, backwards-compatible features raise MINOR, and backwards-compatible fixes raise PATCH. Because Conventional Commits labels each change, the next version can be derived from the commits since the last release: any breaking change means a major bump, otherwise any feat means minor, otherwise a fix or perf means patch. Commits that only touch docs, tests or tooling do not require a release at all.
Before version 1.0.0 the rules are looser, and many projects bump the minor number for breaking changes.
Writing a message with the tool
Open the Git Commit Message and Changelog Builder. In the first tab, pick a type from the list, which describes each one, and choose or type a scope. Write the description and watch the length bar: it turns amber after 72 characters and red after 100. Add a body for the reasoning and footers for issue references. Ticking Breaking change inserts the ! marker and lets you write the footer that tells users what to do.
Lint checks run underneath as you type. Errors include a header that does not follow type(scope): description, an unknown type, an empty description, a trailing full stop or a header over 100 characters. Warnings cover a capitalised description, past-tense verbs such as "fixed", headers over 72 characters, a missing blank line after the header and very long body lines. When nothing is flagged, the message passes; copy it, download it or save it to history.
Turning git log into a changelog
In the second tab, paste the output of a command like git log --oneline v1.4.0..HEAD, or the default multi-line log. Set the current version and choose a style. The conventional-changelog style groups entries under Features, Bug Fixes, Performance Improvements and Reverts; the Keep a Changelog style uses Added, Fixed, Changed and Removed. Commits that do not follow the convention can be collected under Other changes. If you enter a repository URL, each hash becomes a link. A pre-release id such as beta produces versions like 2.0.0-beta.0.
Worked example
Say the log since v1.4.0 contains two feat commits, one fix, one perf, a docs change, a dependency chore, and feat(api)!: remove the v1 endpoints. The builder suggests a major bump to 2.0.0, because of the !. The release notes list two features, one fix and one performance item, plus a breaking-changes section quoting the footer. The docs and chore commits do not appear in the user-facing notes.
Tips and common mistakes
- Agree on a short list of scopes as a team; free-form scopes drift quickly.
- One logical change per commit makes the type obvious and the changelog accurate.
- Use the body for "why". The diff already shows "what".
- Do not mark something
fixwhen it changes behaviour users rely on; that is a breaking change.
Limits
The tool never reads your repository. It works only with the text you type or paste, so it cannot check that a scope exists in your code or that a referenced issue is real. Its version suggestion follows the commit labels mechanically; whether a change is truly breaking for your users is a decision you make, and a wrongly labelled commit will produce a wrong suggestion.



