Skip to content

Implement auto-semver bumping from schema diff#30

Merged
sigent-ai-dev merged 1 commit into
mainfrom
feature/13-auto-semver
May 21, 2026
Merged

Implement auto-semver bumping from schema diff#30
sigent-ai-dev merged 1 commit into
mainfrom
feature/13-auto-semver

Conversation

@sigent-ai-dev

Copy link
Copy Markdown
Owner

Summary

Auto-determines semver bump type by diffing JSON Schemas: removed fields or type changes → MAJOR, new optional fields → MINOR, metadata only → PATCH.

Linked Issues

Closes #13

Test Plan

  • 14 tests pass covering all bump scenarios

Adds semver.py with:
- determine_bump() — compares two JSON Schemas, returns major/minor/patch
- compute_next_version() — given old schema path + current version, returns next
- Breaking changes (removed fields, type changes) → MAJOR
- Additive optional fields → MINOR
- No schema change → PATCH

14 new tests.

Closes #13
@sigent-ai-dev
sigent-ai-dev merged commit b274fbb into main May 21, 2026
@sigent-ai-dev
sigent-ai-dev deleted the feature/13-auto-semver branch May 21, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-semver bumping from schema diff

1 participant