Open javier-godoy opened 2 years ago
Totally agree with this, the proposed definition has a better scope compared to the current one. And indeed a refactor cannot be a breaking change.
Does the "external behavior" include attributes such as method or package names?
Replace the current definition of
refactor
with:
Since the external behavior does not change, a commit of type
refactor
cannot be a breaking change (see https://github.com/conventional-commits/conventionalcommits.org/issues/229).Note that the external behavior is changed by bugfixes, performance improvements, as well as by the implementation, deprecation and removal of features; thus changes of these types cannot be included in refactors.