Skip to content

Releases: thaikolja/python-shutter-counter

v1.2.0

02 Apr 01:59

Choose a tag to compare

Code Structure Refactoring

  • Split functionality into separate modules:
    • shutter_counter/counter.py: Core EXIF parsing logic
    • shutter_counter/cli.py: Command-line interface
    • shutter_counter/__init__.py: Package exports
  • Removed redundant main.py file
  • Enhanced ShutterCounter class with better error handling and typing

Documentation Improvements

  • Added dynamic badges to README.md (pipeline status, coverage, PyPI version, Python version)
  • Improved documentation with better examples and clearer explanations
  • Updated installation and usage instructions

Code Quality

  • Fixed all linting issues identified by ruff
  • Combined nested with statements in tests for better readability
  • Added proper exception chaining (from e) where missing
  • Cleaned up unused imports
  • Updated type annotations to use Union | syntax

Git Configuration

  • Cleaned up .gitignore file by removing duplicate entries and unnecessary patterns
  • Streamlined ignore patterns for better maintainability

Testing

  • All 27 tests pass successfully
  • Improved test structure with better context management
  • Verified CLI functionality works correctly

CI/CD

  • Updated .gitlab-ci.yml with proper stages and Docker images
  • Added coverage reporting configuration

Full Changelog: v1.1.0...v1.2.0

v1.0.0

28 Jul 17:21
v1.0.0
7bb6576

Choose a tag to compare

v1.0.0 (2024-07-28)

  • Improved release of the Shutter Counter script.
  • Supports Nikon D850, D810, and D800 camera models.
  • Can output the shutter count as an integer or a string.

All changes: v0.0.1...v1.0.0