https://www.conventionalcommits.org/en/v1.0.0/
The commit contains the following structural elements, to communicate intent to the consumers of your library:
- fix: a commit of the type fixpatches a bug in your codebase (this correlates withPATCHin Semantic Versioning).
- feat: a commit of the type featintroduces a new feature to the codebase (this correlates withMINORin Semantic Versioning).
- BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a!after the type/scope, introduces a breaking API change (correlating withMAJORin Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
- types other than fix:andfeat:are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommendsbuild:,chore:,ci:,docs:,style:,refactor:,perf:,test:, and others.
- footers other than BREAKING CHANGE: <description>may be provided and follow a convention similar to git trailer format.