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

fix: allow . to prefix prerelease in loose mode #167

Closed
wants to merge 1 commit into from
Closed

Commits on Apr 4, 2023

  1. fix: allow . to prefix prerelease in loose mode

    BREAKING CHANGE: prerelease tag requires a `-` if it doesn't start with
    a non-numeric value.  If it does start with a non-numeric value the `-`
    is optional and a `.` can be used instead.  This means that `1.2.34.5`
    is no longer a valid version in loose mode (previously it would split
    into `1.2.3-4.5` and `1.2.3.4` is invalid (previously it would split
    into `1.2.3-4`.
    
    Allowing 1.2.3.4 is confusing and weird.
    
    However, 1.2.3.beta should be allowed.
    isaacs authored and wraithgar committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    dcd032a View commit details
    Browse the repository at this point in the history