Skip to content

Exclude yanked version on getting currentVersion #1683

Closed
@sunng87

Description

@sunng87

Live case: https://crates.io/crates/handlebars

Handlebars' current version was 2.0.0-beta.1. Its last stable version 1.2.0 was yanked.

Previously crates.io showed 1.1.0 correctly as max version as 1.2.0 yanked. However after 2.0.0-beta.1 released, crates.io picked 1.2.0 as max one and it's said the crate is yanked.

There should be issue with max_version in krates/models.rs

Update: the data returned from backend was correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions