pub fn calculate_next_version(
current_version: Option<Version>,
classified_commits: &[(CommitSummary, BumpLevel)],
) -> VersionExpand description
Calculate the next version based on commits since last tag.
Algorithm (SRS §5.3):
- Get current version from last tag
- Classify commits to find highest bump
- Increment version using highest bump
- Handle edge cases: no tag → use initial version (0.1.0)