-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking changes and refactor
(and maybe style
) type.
#536
Comments
|
Hi @Thiernosy82, |
I disagree. "A refactor can not introduce changes" is an assertion that one human-level dictionary definition is the only correct one. Yes, one definition of "refactor" is a code change with no change to behavior. This is a good definition. I would even argue that in some situations it is the Objectively Rightest definition to use. But that is not the only (good) definition in use today. If Conventional Commits goes out of its way to forbid combining "this is a refactor" and "this broke some bit of promised API", there should be a strong argument that there is a big benefit to preventing saying it (or forcing it to be said in a way that's just harder to parse/notice). A few arguments the other way:
|
P.S. Note that Conventional Commits v1.0.0 does not even define a |
Well-served by #537 - if I was writing Conventional Commits tooling/libraries, I'd love to have a central place to find good ideas and well-designed proposals for extensions such as "if the environment variable [...] is set, reject/warn upon encountering |
By definitions, a refactor can not introduce changes, so, I think it is worth mentioning that we should never create a commit message:
Also, what do you think about style? Can a style change introduce a breaking change?
The text was updated successfully, but these errors were encountered: