Skip to content

Changelog

0.0.3 - 2025-09-08

Changes

Drop support for Python 3.11 (ade0b0e)

This release will drop support for Python 3.11 and set the minimum required version to Python 3.12. This is needed due to the use of the @typing.override decorator that was introduced in Python 3.12. It is also possible to install the typing_extensions package as a runtime dependency if support for older versions of Python is needed. This project is new and does not need to support older versions of Python, so it is simpler to just drop support for Python 3.11.

Commits

  • Bump version from 0.0.2 to 0.0.3 (b877c36)
  • Drop support for Python 3.11 (ade0b0e)
  • Update changelog for version 0.0.2 (#2) (0db3694)
  • Add workflow_dispatch to changelog job (e8d926e)
  • Fix ref in GitHub Actions changelog job (3ca374f)

Tagger: Brendon Smith bws@bws.bio

Date: 2025-09-08 04:16:42 -0400

-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgwLDNmire1DHY/g9GC1rGGr+mrE
kJ3FC96XsyoFKzm6IAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQGrPPnzaE2fsO9Uv8aVew/JSESmvfEcwbPpSAmuqeEpIum/R4d8oadzPRcrbn77kZ5
QDz36QTatBXp/PVjvZjQg=
-----END SSH SIGNATURE-----

0.0.2 - 2025-09-08

Changes

Enforce minimum and maximum image dimensions (3c673c2)

This release will add enforcement of minimum and maximum image dimensions to the suggest subcommand.

  • Backdrops (16:9): minimum 1280x720 pixels, maximum 3840x2160 pixels
  • Posters (2:3): minimum 500x750 pixels, maximum 2000x3000 pixels

This will be accomplished with a dataclass that checks image dimensions as part of its __init__ method. Tests will be added to verify that the error messages and exit codes are propagated back to the user.

Commits

  • Bump version from 0.0.1 to 0.0.2 (7268885)
  • Enforce minimum and maximum image dimensions (3c673c2)
  • Add more related projects to README (f0aa320)
  • Clarify installing vs. running CLI in README (4b15489)
  • Add PyPI badge to README (958eff9)
  • Add test coverage badge to README (3641bbf)
  • Remove CodeQL GitHub Actions workflow (1a53bce)
  • Format Git tag messages with Prettier (d7136fc)
  • Update references to develop branch (755610f)
  • Update changelog for version 0.0.1 (#1) (f320050)

Tagger: Brendon Smith bws@bws.bio

Date: 2025-09-08 01:45:12 -0400

-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgwLDNmire1DHY/g9GC1rGGr+mrE
kJ3FC96XsyoFKzm6IAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQKKlG8jFW3Elsf0Jplxdp2e8sNULHMNhWL/Q9wJKFs7ACC6wy5MRvD6qQw0VQukT+a
UOec6ayxMQxrAQsgwc9wA=
-----END SSH SIGNATURE-----

0.0.1 - 2025-09-07

Changes

Implement suggest subcommand (08a18dd, a0d7072)

This release will provide a minimal working implementation of a suggest subcommand. The purpose of the suggest subcommand is to suggest dimensions for cropping images of the given image type.

Images often need to be cropped to specific aspect ratios and dimensions for upload to sites like TheMovieDB.

  • Backdrops: 16:9 (minimum 1280x720 pixels, maximum 3840x2160 pixels)
  • Posters: 2:3 (minimum 500x750 pixels, maximum 2000x3000 pixels)

This command suggests dimensions to use for cropping. Examples:

crp suggest --width=3940 --height 2160 backdrop -> Crop to 3840x2160
crp suggest --width 1652 --height 2214 poster -> Crop to 1476x2214

-h is not used as a short option for --height because it would conflict with the -h used for help.

This command does not currently enforce minimum and maximum dimensions. Support for minimum and maximum dimensions is planned for a future release.

The implementation uses enum.StrEnum, which was introduced in Python 3.11. This release will set the minimum Python version to 3.11 accordingly.

Commits

  • Bump version to 0.0.1 (83e0e2d)
  • Add subprocess test for invoking with python -m (a0d7072)
  • Implement suggest subcommand (08a18dd)
  • Fix Hatch env in GitHub Actions (091a880)
  • Publish to PyPI with trusted publisher (5012782)
  • Add a changelog (3d47f39)
  • Use same contributing file for repo and docs (0a68946)
  • Use same file for README and docs homepage (7bab3b3)
  • Update project configuration (29ae4d4)
  • Use $HATCH_ENV_TYPE_VIRTUAL_PATH (822d0d5)
  • Format pyproject.toml with Tombi (6982e47)
  • Format Git commit messages with Prettier (352c3da)
  • Update .gitignore (36a434b)
  • Remove example code (70c0b28)
  • Initial commit (d1b3efa)

Tagger: Brendon Smith bws@bws.bio

Date: 2025-09-07 03:38:31 -0400

-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgwLDNmire1DHY/g9GC1rGGr+mrE
kJ3FC96XsyoFKzm6IAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQJFoREsICt+w9C9qje4acnBmk52Rg/51fGsxQ6ZCEoMbIo2iq4gjFOgZFcTtKBPrwb
jQHsBgu8Eox6pNaUYY+Qw=
-----END SSH SIGNATURE-----