Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Versions shown in the wrong order #43

Closed
Diggsey opened this issue Apr 3, 2019 · 3 comments
Closed

Versions shown in the wrong order #43

Diggsey opened this issue Apr 3, 2019 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Diggsey
Copy link

Diggsey commented Apr 3, 2019

Describe the bug
Earlier versions appear as "newer" than later versions if they were published to crates.io later.

To Reproduce
Add aerosol as a dependency - 0.2.0 appears as older than 0.1.3. (Because 0.1.3 was published more recently)

Expected behavior
0.2 should appear newer than 0.1.3

serayuzgur added a commit that referenced this issue Apr 5, 2019
@serayuzgur serayuzgur self-assigned this Apr 5, 2019
@serayuzgur serayuzgur added the bug Something isn't working label Apr 5, 2019
@serayuzgur serayuzgur added this to the 0.4.1 milestone Apr 5, 2019
@serayuzgur
Copy link
Owner

Thanks for the issue. Please check version 0.4.1

@Diggsey
Copy link
Author

Diggsey commented Apr 5, 2019

Fixed thanks!

@normano
Copy link

normano commented Apr 5, 2019

Hmm, if you check serde_json, you'll see that the expected way is that 1.0.9 is older than 1.0.39, but this extension shows it the other way around in version 0.4.1. Might want to look into using something like https://www.npmjs.com/package/compare-versions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants