Skip to content

V0.5.2

Choose a tag to compare

@guysoft guysoft released this 22 Feb 09:44
· 8 commits to main since this release

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" in pyproject.toml with dynamic = ["version"] + hatch-vcs
  • __version__ is now auto-generated into _version.py at build time
  • Removed duplicate version string from cli.py
  • CI workflow now checks out with fetch-depth: 0 so git tags are available during build