Back to lessons
Conventional Commits & Semantic Release
Standardize commit messages and automate versioning with the Conventional Commits specification.
Step 1 of 617%
Conventional Commits is a specification for structuring commit messages. It provides a standardized format that enables automated changelog generation, semantic versioning, and release automation.
The Conventional Commits specification is lightweight but powerful. By prefixing commits with structured types like feat, fix, or BREAKING CHANGE, you create machine-readable commit history. Tools can then parse this history to automatically determine the next semantic version number (major, minor, patch) and generate human-readable changelogs. Major projects like Angular and Next.js have adopted this standard, and tools like semantic-release can fully automate the release pipeline — from version bump to npm publish.
1 / 6