mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-05-23 06:10:51 -05:00
[GH-ISSUE #165] breaking change should bump minor if version pre-1.0 #7819
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jasonkuhrt on GitHub (Jun 30, 2019).
Original GitHub issue: https://github.com/conventional-commits/conventionalcommits.org/issues/165
In accordance with https://semver.org/#spec-item-4
I don't think it makes sense that conventional commits assume BREAKING CHANGE always means bumping the major. Some projects might be unstable for a while but still want to communicate breaking changes to their users in a changelog/git history etc.
I think the spec should be as follows:
When BREAKING CHANGE is present:
featcausesMINORchange etc.)@damianopetrungaro commented on GitHub (Jun 30, 2019):
We should specify that if it is a 0.x.x we may not bump it up.
If > 0.x.y then https://semver.org/#spec-item-8
@jasonkuhrt commented on GitHub (Jun 30, 2019):
It should probably not be ambiguous so
must notrather thanmay not.But then, how does a user bump to 1.0.0?
@damianopetrungaro commented on GitHub (Jun 30, 2019):
When it is stable you tag it as 1.0.0 usually
On Sun, Jun 30, 2019, 14:13 Jason Kuhrt notifications@github.com wrote:
@jasonkuhrt commented on GitHub (Jun 30, 2019):
Yes certainly, but I was referring to the ability for conventional commits to support a well known commit pattern that would facilitate machines performing the bump. But the ROI on automation around a singular event (to a project) is questionable.
@damianopetrungaro commented on GitHub (Oct 10, 2019):
@jasonkuhrt wanna open a PR about this?
It sounds good to me :)
@jasonkuhrt commented on GitHub (Oct 11, 2019):
@damianopetrungaro Will do!