Pre-release versions show up as an "X" by default
kotx opened this issue · 4 comments
Describe the bug
Pre-release versions will show up as an "X" despite being newer than the latest releases, unless crates.listPreReleases
is true
. However, this config setting also lists pre-release versions in the version list, which may not be desired.
To Reproduce
Steps to reproduce the behavior:
- Use a RC or beta version of a crate like
rocket 0.5.0-rc.1
- See the "X" in Cargo.toml
- Set
crates.listPreReleases
totrue
- See the absence of the "X"
Expected behavior
Pre-release versions should not error even when crates.listPreReleases
is set to false
.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Version 21H2 (22000.282)
I would agree especially because the settings flag is global. This makes it difficult to use everywhere because some projects I am using pre-releases but others I dont.
Maybe it would be possible to have pre-releases marked with a yellow warning or something similar when the allow-pre-release setting is turned off. (And a similar warning when not using pre-releases when the setting is turned on).
I know this isn’t exactly what you are asking for, but would this resolve your issue?
That looks good to me!
Any updates on this, it really annoys me.
we are working on an update, all parsing etc refactored. So please lets deal all with these after the new release. It will be easier to patch things up after refactor.