PhoenixKit 2.56.1: Subject crops stay tied to their photo, video settings apply
PhoenixKit 2.56.1 fixes the subject-aware crops added in 2.56.0 and the new video rendition settings.
A subject crop could outlive the photo it was made from. Now editing a photo clears its old focal point, and reverting restores it. Changing or clearing a point marks its subject crops for remaking, and copies of a photo with different points no longer overwrite each other’s crops. A failed subject detector falls back to the middle.
Video renditions with a fixed height, and their posters, now follow that height. Quality applies when the original container is kept, and a shared rendition converts its 1 to 100 quality to a valid video setting instead of passing values such as 85.
Upgrading
If you used subject crops in 2.56.0, run Check every file on their rendition profile: the reconciler remakes them with separate keys for each point.
Full release notes: PhoenixKit 2.56.1
2.56.1 · 7 October 2026
Fixed
- Subject crops stay tied to the photo they were made from. Detection cannot record a point after an edit replaces the original, and a rendition cannot publish after its point changes. Editing clears the old point; reverting restores the unedited photo’s point. Changing or clearing a point marks its generated subject crops for regeneration. Different focal points use different stored object keys, so copies of a photo with different manual points cannot overwrite each other’s crops.
- A failed subject detector falls back to the middle. Decoder exceptions are caught inside the linked task, and hosts without the optional Vix dependency compile without undefined-module warnings.
- Video renditions preserve the supported settings. Height-fixed renditions and posters follow their height. Preserving the original container still applies quality, and a rendition shared by images and videos converts its 1–100 quality to CRF instead of passing invalid values such as 85. MP4 and MOV renditions explicitly select the H.264 encoder when setting CRF.
- The new image regression fixtures work with ImageMagick 6 and 7, using the same
convertcommand as the image processor. Added real FFmpeg output checks for video sizing and quality.
Upgrading
- If you used subject crops in 2.56.0, run Check files on their rendition profile after upgrading. Their spec hash now changes, so the reconciler remakes them with separate keys for each point. Center crops and renditions that keep proportions retain their hashes.
PhoenixKit 2.56.1. Install or update: {:phoenix_kit, "~> 2.56"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.