Skip to content

Show latest non-yanked version (if any) #217

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

Closed
SimonSapin opened this issue Nov 18, 2015 · 2 comments
Closed

Show latest non-yanked version (if any) #217

SimonSapin opened this issue Nov 18, 2015 · 2 comments

Comments

@SimonSapin
Copy link
Contributor

/crates/<name> (without a version number) should show the latest version of the crate that is not yanked (if any).

For example:

  • The latest publish version of url was 0.2.37
  • A number of changes were merged in the git repo since, including one breaking change
  • I published 0.3.0
  • Then I realized that the breaking change was incorrect. I reverted the commit, and ran cargo yank --vers 0.3.0
  • I published 0.2.38 for the other changes

Now https://crates.io/crates/url shows 0.3.0 with "This crate has been yanked". It should show 0.2.28 instead.

@alexcrichton
Copy link
Member

I believe this is a dupe of #76, so closing in favor of that.

@SimonSapin
Copy link
Contributor Author

Ah, I didn't realise that max_version was what I was looking for. Sorry for the duplicate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants