Some context: I'm working on a team which produces 6 different NuGet packages, which depend directly, and sometimes indirectly, on each other. Simply, we could have a situation like p0 < p1 < p2
, where package p0
depends on p1
, which in turn depends on p2
. We're trying to follow Semantic Versioning for these packages, but aren't quite sure what to do with p0
's version when p1
or p2
changes.
Here are some concrete examples:
p1
makes a breaking change (say0.0.0
→1.0.0
). We want to publish a version ofp0
which depends on1.0.0
. Should this be a major or minor version bump forp0
?p1
makes a minor changes (0.0.0
→0.1.0
). Should this make a minor / patch version bump forp0
?
More importantly,
Is there any standard / consensus on how dependency version changes should affect package version changes?