Releases: baldwin-agency/magento2-module-image-cleanup
Releases · baldwin-agency/magento2-module-image-cleanup
1.2.6
Fixed
The code we added in v1.2.5 for Hyvä theme fallback compatibility was sometimes triggering at unexpected moments which could crash unrelated functionalities in Magento. This is now fixed by only activating this code when we need it during catalog:images:remove-unused-hash-directories, thanks for the report @ProxiBlue (#9)
1.2.5
New
- Added compatibility with PHP 8.4 and also tested the module with Magento 2.4.8 (bde3203)
Fixed
- If you have a Magento shop with Hyvä and use the Hyvä fallback functionality to display certain pages with a non-Hyvä theme and those pages display resized images, then our command
catalog:images:remove-unused-hash-directorieswas removing resized images for those pages, which was incorrect. This is now fixed (f02a642)
1.2.4
1.2.3
1.2.2
Improved
- We already supported preventing deleting image files with alternative extensions where the original file extension got replaced like:
original-filename.webp, but next to that we now also support appending the alternative extension while keeping the original extension in the filename, like:original-filename.jpg.webp(#3)
1.2.1
1.2.0
1.1.0
New
- Added a new command
catalog:images:remove-obsolete-db-entriesto remove entries from the database that are no longer linked to an existing product.
Improved
- Improved the output of the progress indicator when running
catalog:images:remove-unused-files, it should now give you a better idea of at where the process is - Tweaked outputting the final summary in the log file