Replies: 4 comments 1 reply
-
Similar issue for ring right now: (Five alpha versions shown, where 80% of downloads are on the latest stable version.) |
Beta Was this translation helpful? Give feedback.
-
The main issue here is that we can't easily determine the "most popular" versions efficiently. We could certainly add a layer of caching to do this, like we did for crates, but I don't know if it's worth doing that for what should be a minority case. I also think that "the most recent version isn't the one people are using" is something that is useful to show. What if we made sure that pre-release versions always go in "other"? |
Beta Was this translation helpful? Give feedback.
-
That definitely sounds like an improvement, at least. |
Beta Was this translation helpful? Give feedback.
-
Regarding pre-release versions, sometimes projects publish them for a long time, making the ecosystem depend on them instead of proper releases.
I think it happens more often than one thinks. Very often, crates have semver breaking versions 0.2x, 0.3.x, and users are distributed among those semver branches. Often, those users run This is observable in my lewton crate for example, where Other is a significant category, while 0.10.0 and 0.9.0 are barely used, but Other is quite significant: As a result, I don't know whether the 0.8.x branch is in use, or 0.7.x, or even older branches. IMO the ideal solution to resolve @sgrif 's concerns that the most recent version should be shown would be to always include the latest N versions (say latest 2), and fill the remaining 5-N versions with a ranking of most downloads, but still order them by semver ordering. |
Beta Was this translation helpful? Give feedback.
-
Consider: https://crates.io/crates/rand/all
The plot currently includes three pre-release versions (0.5.0-pre.*) with very low usage, plus two versions (0.4.2, 0.5.0) accounting for maybe 60% of usage. The older 0.3.22 (still approx 40% usage) isn't even shown.
(Yes, I know it's possible to browse by individual versions, e.g. https://crates.io/crates/rand/0.3.22 )
Beta Was this translation helpful? Give feedback.
All reactions