by hirundo · 6y ago · 0 comments
> refactor!: drop support for Node 6
From Wikipedia's Code Refactoring:
> In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior.
So if a code change is just a refactor, then its external behavior is unchanged, therefore it is not a breaking change. These two commit labels are incompatible.
In this specific case, it is both a refactor and a breaking change.
> refactor: A code change that neither fixes a bug nor adds a feature
But yeah I'm with you in saying that this particular example is not well choosen