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

Fixes #21: pre-releases not API compatible #23

Merged
merged 2 commits into from
Oct 27, 2016
Merged

Fixes #21: pre-releases not API compatible #23

merged 2 commits into from
Oct 27, 2016

Conversation

mattfarina
Copy link
Member

Per SemVer, pre-releases are not API compatible with the releases
at the same point. The range comparisons have been updated to:

  • if the constraint does not have a pre-release then versions
    with a pre-release are not compatible.
  • if the constraint has a pre-release than versions with a
    pre-release are evaluated.

Per SemVer, pre-releases are not API compatible with the releases
at the same point. The range comparisons have been updated to:

- if the constraint does not have a pre-release then versions
  with a pre-release are not compatible.
- if the constraint has a pre-release than versions with a
  pre-release are evaluated.
@technosophos
Copy link
Member

LGTM

@sdboyer
Copy link
Member

sdboyer commented Oct 27, 2016

Yeah, LGTM. This'll be more involved for 2.x, though it shouldn't be terrible - and actually simpler implementation than the one I had in mind for this general problem space, anyway.

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

Successfully merging this pull request may close these issues.

3 participants