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

Introduce SemVer-compressed versions like "1.0" as valid #2421

Open
techtonik opened this issue Aug 29, 2019 · 0 comments
Open

Introduce SemVer-compressed versions like "1.0" as valid #2421

techtonik opened this issue Aug 29, 2019 · 0 comments

Comments

@techtonik
Copy link

Enhancements and Features

#855 proposes to count "1.0" as SemVer, but SemVer is a specification, so it will break the spec. Instead, SourceRank can introduce SemVer-compressed or SemV that is just shortened version, which allows to omit trailing .0. That is useful for small projects where "functionality in a backwards compatible manner" (MINOR) are rarely added and often is a part of "backwards compatible bug fixes" (PATCH).

SemV is just MAJOR.MINOR, where:

  • MAJOR is incremented on incompatible API changes
  • MINOR increment means new backwards compatible functionality or backwards compatible bug fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant