Quick Notes143 words

Dependency versioning strategy — quick notes

Versioning strategy — quick notes

SchemeEncodesBest for
SemVer MAJOR.MINOR.PATCHStable-public-API compatibilityLibraries and packages with a compatibility contract
CalVer e.g. YYYY.0M.0DRelease calendarTime-sensitive or externally driven projects
SemVer partMeaning
MAJORBreaking change
MINORBackward-compatible feature
PATCHBackward-compatible fix
  • Major zero (0.y.z) is initial development; its public API is not stable.
  • Pre-release tags (-beta.2) sort before the normal release; Azure view promotion is separate.
  • npm: a direct exact specification does not lock the transitive tree.
  • npm: compatible package.json range + committed package-lock.json gives explicit intent and a reproducible resolved tree.

Trap: a breaking change published as a PATCH — worse than no scheme, because consumers relied on the guarantee.

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free