-
Notifications
You must be signed in to change notification settings - Fork 610
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
isUnstableVersion
counts versions with build metadata as unstable and shouldn't
#1060
Comments
Yep, looks like this I think a fix to paper over this problem would be to add |
isUnstableVersion
counts versions with build metadata as unstable and shouldn't
There are semver libraries for JavaScript aren't there? Is there a reason that we don't just use one of those? |
Not quite; metadata may contain non-numeric fields (as the given example If we stick to string-based check (rather than going full real-semver), a better solution might be:
|
From talking to @sgrif today, it seems like this may be an issue on the Postgres side with how we sort versions in the database. |
I just noticed the same issue with the zstd crate (gyscos/zstd-rs#62). It claims 0.4.14 is latest but the actual latest version is 0.4.24. |
We are now using the I'm aware that there maybe be other problems with the current approach of figuring out the "latest stable" version on the frontend, but iirc there are other GitHub issues for that already. |
https://crates.io/crates/openssl-src points to 110.0.0, but the newest release is 110.0.1+1.1.0f.
The text was updated successfully, but these errors were encountered: