-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[semver] semver.mwl.be doesn't interpret the caret (^) operator same way as composer #7238
Comments
semver.mwl.be is not maintained by the composer team. Report this to their maintainers. |
your bug report is wrong. You are reporting about The tool is perfectly right in this case. A 0.x major version behaves in a special way in semver, as it means that any increment of the next number can be a BC breaking release too (and so See https://semver.mwl.be/#?package=symfony%2Fsymfony&version=%5E3.2.1&minimum-stability=stable for the proof. |
@alcohol this issue should be closed, as there is no issue at all |
and here is a quote from the composer doc (the last sentence in the paragraph you referenced in the original issue):
|
Sorry for the misunderstanding, I didn't noticed the special behavior for pre-1.0 versions. Thank you. |
Current documentation about Caret Version Range states that
^1.2.3
is equivalent to>=1.2.3 <2.0.0
, but semver.mwl.be interprets^1.2.3
as>=1.2.3 <1.3.0
, and^1.2
as>=1.2.0 <1.3.0
.See these examples:
https://semver.mwl.be/#?package=madewithlove%2Felasticsearcher&version=%5E0.1.1&minimum-stability=stable
Expected:
Current:
https://semver.mwl.be/#?package=madewithlove%2Felasticsearcher&version=%5E0.1&minimum-stability=stable
Expected:
Current:
The text was updated successfully, but these errors were encountered: