dependabot-core icon indicating copy to clipboard operation
dependabot-core copied to clipboard

Add update types for Cargo-style (in)compatible version upgrades

Open jwodder opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Feature description

Currently, the only options for update-types in dependabot.yml are "major", "minor", and "patch", all defined as per SemVer. However, Cargo (the Rust package manager) uses a modified form of SemVer in which "Versions are considered compatible if their left-most non-zero major/minor/patch component is the same." Thus, a version upgrade from v0.1.0 to v0.2.0 is considered "incompatible" even though, by typical SemVer standards, it is minor.

I therefore request that ignore.update-types and groups.*.update-types gain support for the options cargo-compatible and cargo-incompatible (just spitballing on the names) for ignoring/grouping (in)compatible version updates.

jwodder avatar May 06 '24 17:05 jwodder