Skip to content

Releases: baldwin-agency/magento2-module-image-cleanup

1.2.6

11 Apr 06:49

Choose a tag to compare

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

09 Apr 15:38

Choose a tag to compare

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-directories was removing resized images for those pages, which was incorrect. This is now fixed (f02a642)

1.2.4

27 Aug 18:23

Choose a tag to compare

Fixed

  • If directory catalog/product/cache doesn't exists yet, no longer crash, fixes #8

1.2.3

22 Mar 16:54

Choose a tag to compare

New

  • Added compatibility with PHP 8.3 and symfony/console 6 for the upcoming Magento 2.4.7 release (92149a7)

1.2.2

26 Sep 18:45

Choose a tag to compare

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

20 Sep 09:09

Choose a tag to compare

Improved

  • Improved checking for corrupt resized image files, we now also detect files that have more than 0 bytes but are still corrupt (b609d10)

1.2.0

20 Sep 07:14
80636fb

Choose a tag to compare

New

  • Added a new command catalog:images:remove-corrupt-resized-files to find and remove resized product image files that have 0 bytes (#2)

1.1.0

21 Apr 07:10

Choose a tag to compare

New

  • Added a new command catalog:images:remove-obsolete-db-entries to 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

1.0.2

01 Mar 15:03

Choose a tag to compare

New

  • Added compatibility with PHP 8.2 for the upcoming Magento 2.4.6 release

1.0.1

07 Sep 09:38

Choose a tag to compare

Bugfixes

  • Core Magento doesn't define a default preference for Magento\Framework\Filesystem\DriverInterface so we need to use a concrete implementation of this interface, otherwise the module crashes