Closed
Description
Pub currently ranks packages based on the updated
column:
This works great, until it doesn't. For the angular
package, there is a historic, unsupported/maintained 1.x
version that is presented instead of the newest 4.0.0-alpha
version:
Under normal circumstances, this might be fine, i.e. ranking stable
releases higher than unstable
for viewing preference. However, package authors should be given an option (perhaps in an admin, or manually via a ticket system for the time being) to deprecate a version range.
In this case, imagine the following metadata was attached to the angular
package:
{
"deprecated": [
"<4.0.0-alpha",
],
}
And the ranking was instead stable
> unstable
> deprecated
.