Repository navigation
Release 0.3.3 - Version Management System
π― 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.tomlscripts/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 versionmake 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