Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Conventional Commits

From Wikipedia, the free encyclopedia

Conventional Commits are a formatting standard for commits in version control systems. They distinguishes code changes based on their purpose.

Specification

[edit]

The standard defines the following format:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

The specification defines only two classification types.[1]

  • feat: introducing new features to the codebase
  • fix: fixing a bug in the codebase

Unspecified types are allowed,[1] for example, build, for changes to the building of the codebase, which is derived from Angular, and chore, for changes not affecting production code, which was introduced by Conventional Commits.[2]

History

[edit]

The nature of managing open source software projects necessitates a structured way to interpret commits, and commit classification emerged as a way to improve software quality and maintainability.[3] Conventional Commits originates from the commit format of the Angular repository, and mostly inherits its classification types. While these projects were not the first to introduce classification to commit messages, unlike earlier systems, their classifications had a level of granularity not present in earlier systems, which allowed for deeper resulting analysis,[4] and were chosen to be mutually exclusive.[5]

Adoption

[edit]

A 2025 study found that, of 381 randomly selected JavaScript projects on GitHub, 360 contained commits formatted according to Conventional Commits, and 198 of those had 80% or more of their commits formatted this way.[6] In projects that had not adopted Conventional Commits, 10% of commits adhered to the standard anyways.[7]

Notes

[edit]
  1. 1 2 "Conventional Commits". Conventional Commits. Retrieved 2026-07-03.
  2. Kramer 2024, p. 13-14.
  3. Berciu et al. 2025, p. 841-842.
  4. Berciu et al. 2025, p. 842.
  5. Kramer 2024, p. 12-13.
  6. Kong et al. 2025, p. 111:6.
  7. Zeng et al. 2025, p. 2281.

References

[edit]
[edit]