-
Notifications
You must be signed in to change notification settings - Fork 107
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
Define plugin versioning approach #300
Comments
The main benefit of 1. is that it makes version numbers entirely predictable, we will know in advance what the next releases will be as the code changes we make don't affect the version number. The tradeoff is that it doesn't respect semantic versioning (which to be fair, WordPress core does not either). The main benefit of 3. is that it respects semantic versioning. The tradeoff is that for every release we have to carefully evaluate what is going into it and based on that define the version number shortly before (basically after code freeze), which makes it a bit more maintenance work. The benefit of 2. is that it is a middle ground between 1. and 3. It has the benefits and trade-offs of both, just to a lesser degree. The tradeoff here is that it's not really consistent as it doesn't follow either approach. |
Please vote for this approach with the designated emoji. Voting will close on Monday, May 2 at 5pm UTC.
|
👍🏼 and additional thoughts... While I appreciate SemVer and wish more would follow that to keep version changes explicit in terms of what's included, keeping the same approach that both WordPress core and Gutenberg take is probably the easiest approach here. |
@kasparsd Sorry about that! Please use 🚀 for option 3; I've updated the comment. |
Voting is now closed. Based on 10 thumbs up votes and no votes for the other options, we will follow WordPress core's versioning approach and increment the minor version until a maximum of 9 before incrementing the major version. Patch releases will only be used on demand for hot fix releases (e.g. critical bug fix, security fix). |
I've updated the milestone name accordingly: https://github.com/WordPress/performance/milestone/6 is now "1.1.0". We can close this issue now that this has been decided. |
With our first stable release 1.0.0 going out on Monday, April 18, it's time to look at what's next. We need to define our versioning policy. It's probably not worth breaking our heads about this, but we should definitely define an approach and stick to it.
At a high level, I can think of a few options:
9
before incrementing the major version. Patch releases would only be used on demand for hot fix releases (e.g. critical bug fix, security fix).9
. In this model, we will only increase the major version in case of an intentional breaking change, e.g. when bumping the minimum WordPress version requirement due to a module being removed after core merge (see our version support policy for context). The approach for patch releases would match 1. exactly.The text was updated successfully, but these errors were encountered: