Skip to content

Release 0.3.3 - Version Management System

Choose a tag to compare

@gerchowl gerchowl released this 10 Nov 18:32
· 22 commits to main since this release
5e8d91a

🎯 Highlights

Automated version management system with pyproject.toml as single source of truth!

✨ Added

Version Management System

  • scripts/get_version.py: Extract version from pyproject.toml
  • scripts/bump_version.py: Automated semantic version bumping
    • Supports major, minor, patch version bumps
    • Auto-updates CHANGELOG.md with version and date
    • Dry-run mode for previewing changes
    • Comprehensive error handling and validation
  • Makefile targets for version management:
    • make version: Display current version
    • make bump-patch: Bump patch version (0.3.2 β†’ 0.3.3)
    • make bump-minor: Bump minor version (0.3.2 β†’ 0.4.0)
    • make bump-major: Bump major version (0.3.2 β†’ 1.0.0)
  • docs/VERSION_MANAGEMENT.md: Comprehensive documentation
    • Single source of truth approach with pyproject.toml
    • Release workflow guidelines
    • Best practices for version management
    • Troubleshooting guide

πŸ”§ Changed

  • pyproject.toml: Now serves as single source of truth for version numbers
  • Makefile: Added version management section to help output

🎁 Benefits

  • βœ… Eliminates version number duplication across files
  • βœ… Prevents version mismatches between files
  • βœ… Automates CHANGELOG.md updates
  • βœ… Streamlines release workflow
  • βœ… Follows semantic versioning standards
  • βœ… Provides both CLI and Make interfaces for version management

πŸš€ Quick Start

# Show current version
make version

# Bump patch version
make bump-patch

# Dry run to preview changes
python3 scripts/bump_version.py minor --dry-run

πŸ“– Documentation

See docs/VERSION_MANAGEMENT.md for complete documentation.


Full Changelog: 0.3.2...0.3.3