Skip to content

Releases: nystudio107/craft-imageoptimize

Version 1.6.26

27 Feb 00:33
Compare
Choose a tag to compare

Fixed

  • Fixed a regression that caused the image sizes to show up as ??? in the Asset Detail view

Version 1.6.25

23 Feb 16:32
Compare
Choose a tag to compare

Changed

  • Updated to use craft-imageoptimize-imgix version ^1.2.0

Fixed

  • Always display sticky errors

Version 1.6.24

20 Feb 04:11
Compare
Choose a tag to compare

Added

  • Added error logging for curl errors

Changed

  • Attempt to display optimized image variants even if the image curl fails
  • Remove the use of curl to obtain the remote image sizes, replacing it with frontend JS

Version 1.6.23

14 Feb 03:43
Compare
Choose a tag to compare

Fixed

  • Fixed parse errors with PHP < 7.3

Version 1.6.22

10 Feb 21:54
Compare
Choose a tag to compare

Added

  • Added a stickyErrors property to the OptimizedImages model, so we can post-facto display if something went wrong during image generation on the frontend to users
  • Implemented useFieldset for Craft 3.6

Fixed

  • Fixed deprecation errors in Craft CMS 3.5 or later
  • Fixed an issue where aspect ratios could be improperly rounded, causing a division by zero error

Version 1.6.21

31 Dec 16:01
Compare
Choose a tag to compare

Added

  • Added a ImageOptimize Info Utility that allows you to see the ImageOptimize settings even in environments where allowAdminChanges is false
  • Added a try/catch block to Imagine calls to handle errors more gracefully

Changed

  • Split out vendors & commons chunks
  • Switch from using ->each() to using craft\db\Paginator to paginate asset query results, to address out of memory issues on massive queries
  • ImageOptimize now requires Craft CMS 3.1.19 or later

Version 1.6.20

08 Dec 20:29
Compare
Choose a tag to compare

Changed

  • Lowercase written instances of "Imgix"
  • Added additional logging for image placeholder and color extraction
  • Moved the CSS/JS buildchain over to webpack 5
  • Updated to latest npm deps

Version 1.6.19

08 Oct 02:43
Compare
Choose a tag to compare

Fixed

  • Fixed improperly generated webp URL for Imgix

Version 1.6.18

29 Sep 02:14
Compare
Choose a tag to compare

Changed

  • If an Optimized Images field is edited, only re-save the transforms for that specific field
  • Allow an optional --field to be passed into the php craft image-optimize/optimize/create console command to only create image variants associated with a specific Optimized Images field
  • Allow an optional --force flag to be passed into the php craft image-optimize/optimize/create console command for force image variant creation

Version 1.6.17

18 Sep 18:46
Compare
Choose a tag to compare

Changed

  • Sped up image optimization on multi-site setups by not spawning a new optimizing images job if the element is merely propagating to other sites

Fixed

  • Fixes issue when using asset.getUrl({ }) with Imgix, where format would be coerced to the image's extension format, when it should have been left as null.