Skill 3.1.3

Design and implement a dependency versioning strategy for code assets and packages, including semantic versioning (SemVer) and date-based (CalVer)

Key Concepts

Semantic versioning uses MAJOR.MINOR.PATCH. A breaking change raises MAJOR, a backward-compatible feature raises MINOR, and a backward-compatible fix raises PATCH. Prerelease labels such as 2.0.0-beta.1 sort before the release.

Calendar versioning uses dates, such as 2026.11.1, which suits products released on a schedule. Consumers should use lock files, and version ranges should be chosen deliberately, because a floating range can change a build without a code change.