Skip to content

Release 0.1.2

Latest

Choose a tag to compare

@jonpspri jonpspri released this 07 Oct 13:19
· 5 commits to main since this release
6acbe4d

Test Coverage Improvements

This release focuses on improved test coverage and release infrastructure.

Coverage Increases

  • Overall coverage: 88.61% → 89.05%
  • _version.py: 71.43% → 100%
  • exceptions.py: 83.67% → 100%
  • data_session.py: 81.25% → 100%

Added (26 new tests)

Release Infrastructure

  • Added tests/packaging/test_packaged_version.sh script to validate version consistency between pyproject.toml and installed package before deployment
  • Updated .github/workflows/publish.yml to run packaging validation tests before PyPI publication
  • Added .claude/commands/release-prep.md slash command for streamlined release management workflow

Test Coverage

  • All exception class constructors and serialization (to_dict() method)
  • Data session error paths (validation methods, stats generation)
  • Version string format validation

Changed

  • Version Handling: Simplified _version.py by removing PackageNotFoundError fallback logic (package metadata always available in deployment environments)

Fixed

  • Version Validation: Packaging test now validates three-part semver format (MAJOR.MINOR.PATCH) with regex pattern matching

Full Changelog: v0.1.1...v0.1.2