Open anomiex opened 2 months ago
Yeah, we do follow the key parts of the semver spec, but cannot reasonably follow these minor details due to language support. So I disagree we should drop semver entirely because for most intents and purposes, this is quite semver compatible. But I agree that a warning in the readme at least is in order :)
And btw if you do want to send a PR for that, it'll for sure help resolve it sooner.
I'm not asking you to reverse the decision in #15 not to follow the actual semantic versioning specification. I'm asking you to please make it clear in the package description and documentation that this package implements a
version_compare()
-compatible versioning system rather than following semver.org's rules.For example,
Again, I'm not asking you to change any of those results. But please make it clear in the documentation that if someone is looking for a package to follow semver.org rather than
version_compare()
, they should keep looking.I suggest the following changes:
version_compare()
does. It does not follow the specification at semver.org." before the existing paragraph linking to the details. https://github.com/composer/semver/blob/a40ea7eb72c7963be479663b9dd3e73a7d42a391/README.md?plain=1#L29-L33(I'm not going to suggest renaming the package, namespaces, or classes. That would break too much stuff to be worth me advocating for.)
Thanks!