Skip to content

Conversation

Shnatsel
Copy link
Member

@Shnatsel Shnatsel commented Jul 9, 2021

  • Add support for ~ operator in version requirements, add tests
  • Add support for = operator in version requirements, add tests
  • Make ^ operator handling spec-compliant, add tests. The spec discrepancy doesn't seem to affect the current DB data.

After this is merged, if we use ~ requirements in the DB, that will work on both very old cargo-audit versions and very new ones, but version 0.15.0 exactly will be broken (it's the only released version with rustsec v0.24 before these changes)

@Shnatsel
Copy link
Member Author

Shnatsel commented Jul 9, 2021

Following this the only unsupported operator (that's supported by Cargo) is *

@tarcieri
Copy link
Member

tarcieri commented Jul 9, 2021

We could potentially yank v0.15.0. People who are on it already are probably updating fairly frequently.

But it would probably still be good to give it some time to bake after cutting another release before we actually tried to use these.

@Shnatsel
Copy link
Member Author

Shnatsel commented Jul 9, 2021

We could potentially yank v0.15.0. People who are on it already are probably updating fairly frequently.

That was the case until yesterday, when we broke v0.12 users 😝

Presumably they're all on v0.15 now

@Shnatsel Shnatsel merged commit cbb9672 into main Jul 9, 2021
@Shnatsel Shnatsel deleted the more-operators branch July 9, 2021 18:02
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

Successfully merging this pull request may close these issues.

2 participants