Skip to content
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

Document versioning schema of JUnit 5 release numbers (Semver?) #1011

Closed
1 task
JLLeitschuh opened this issue Aug 8, 2017 · 3 comments
Closed
1 task

Document versioning schema of JUnit 5 release numbers (Semver?) #1011

JLLeitschuh opened this issue Aug 8, 2017 · 3 comments

Comments

@JLLeitschuh
Copy link
Contributor

JLLeitschuh commented Aug 8, 2017

Question

Will this project's release numbers conform to Semver?

Inevitably in every project mistakes are made and the team realizes that API's that made sense once no longer do. Semver defines a versioning schema.

Many projects say that they conform to Semver but they ignore the 8th point:

8. Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced to the public API. It MAY include minor and patch level changes. Patch and minor version MUST be reset to 0 when major version is incremented.
- Semver Section 8

Many projects are afraid to bump the major version unless there is some major feature addition or wild rewrite of the API.
One exception to this is Google Guava's releases.
They will perform many major version releases in a year because they break API's. That team isn't afraid of the major version number.

That being said, they have a prominent warning in their README about their versioning.

The @API annotations are great; guava has something similar with their @Beta annotation.

Implications

If JUnit 5 decides to follow Semver and makes a release that has a breaking API change, it would be JUnit 6!

Deliverables

  • Document detailing the release number versioning decisions of the JUnit Team
@marcphilipp marcphilipp added this to the 5.1 Backlog milestone Aug 19, 2017
@marcphilipp
Copy link
Member

Related: apiguardian-team/apiguardian#9

@sbrannen sbrannen changed the title Versioning schema of Junit 5 Release Numbers (Semver?) Document versioning schema of JUnit 5 release numbers (Semver?) Mar 9, 2018
@stale
Copy link

stale bot commented May 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the status: stale label May 13, 2021
@stale
Copy link

stale bot commented Jun 3, 2021

This issue has been automatically closed due to inactivity. If you have a good use case for this feature, please feel free to reopen the issue.

@stale stale bot closed this as completed Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants