V0.5.2
What's changed
Automated version management -- the package version is now derived from the git tag at build time using hatch-vcs, instead of being hardcoded in three separate files (pyproject.toml, __init__.py, cli.py).
This eliminates the risk of version drift between the git tag, PyPI release, and rt82display --version output. No functional changes.
Details
- Replaced hardcoded
version = "0.5.1"inpyproject.tomlwithdynamic = ["version"]+ hatch-vcs __version__is now auto-generated into_version.pyat build time- Removed duplicate version string from
cli.py - CI workflow now checks out with
fetch-depth: 0so git tags are available during build