Skip to content

Releases: nystudio107/craft-imageoptimize

Version 4.0.3

17 Nov 19:52
Compare
Choose a tag to compare

Changed

  • Fixed HMR in local dev with explicit alias that resolves to the actual directory

Fixed

  • Fixed an issue where the craft image-optimize/optimize/create CLI command did not properly optimize all images (#350)
  • Fixed an issue which caused the Imgix auto to no longer work for auto format (#357)
  • Fixed a JavaScript console error in field settings due to Garnish shuffling around how things work for menus
  • Fixed an issue where srcsetWidth() wouldn't return the proper variant, due to strict comparison operator (#327)
  • Fixed an issue where using a transform method other than Craft along with asset.getUrl() in your templates could throw an exception (#363)

Version 1.6.49

17 Nov 19:51
Compare
Choose a tag to compare

Changed

  • Fixed HMR in local dev with explicit alias that resolves to the actual directory

Version 4.0.2

17 Jul 20:29
Compare
Choose a tag to compare

Changed

  • Add allow-plugins to composer.json to allow CI tests to work

Fixed

  • Fixed an issue where transforms don't get deleted on remote volumes if the format was set to auto (#341)
  • Normalize for lowercase file extensions and normalize jpeg -> jpg everywhere

Version 1.6.48

17 Jul 20:26
Compare
Choose a tag to compare

Changed

  • Add allow-plugins to composer.json to allow CI tests to work

Fixed

  • Fixed an issue where transforms don't get deleted on remote volumes if the format was set to auto (#341)
  • Normalize for lowercase file extensions and normalize jpeg -> jpg everywhere

Version 4.0.1

09 Jul 00:09
Compare
Choose a tag to compare

Fixed

  • If there's no transform requested, return null so other plugins have a crack at it (#349)

Fixed

  • Fixed an issue where calling generateUrl() would throw an exception for the Imgix transform method (#342)

Version 1.6.47

09 Jul 00:07
Compare
Choose a tag to compare

Fixed

  • If there's no transform requested, return null so other plugins have a crack at it (#349)

Version 1.6.46

29 Jun 14:34
Compare
Choose a tag to compare

Fixed

  • Fixed an issue that could throw an exception when double-clicking on an asset, due to an incorrect asset bundle path

Version 4.0.0

28 Jun 17:29
Compare
Choose a tag to compare

Changed

  • If there's no transform requested, and we're not using some external service for image transforms, return null so other plugins have a crack at it

Fixed

  • Set the variant format to the current asset format if it is left empty, otherwise Craft recursively calls getTransformUrl() and hangs the queue ([#329]#329) (#343)
  • Fixed an issue where variants would not resave under certain circumstance due to a typing issue (#335)
  • Make the properties in the OptimizedImage nullable to avoid null property values throwing an exception (#345)
  • Fixed an issue that caused sub-folders to not appear in the OptimizedImages field settings (#333)
  • Fixed an issue that could cause JavaScript errors for newly created OptimizedImages fields, and in slideouts (#344)

Version 1.6.45

28 Jun 17:25
Compare
Choose a tag to compare

Changed

  • If there's no transform requested, and we're not using some external service for image transforms, return null so other plugins have a crack at it

Fixed

  • Removed empty type on registered script tags, which would prevent them loading via the Vite dev server
  • Fix syntax errors in OptimizedImagesField.js
  • Fixed an issue that could cause JavaScript errors for newly created OptimizedImages fields, and in slideouts (#344)

Version 4.0.0-beta.3

08 Apr 22:55
Compare
Choose a tag to compare

Fixed

  • Fix ImageTransform::getAssetUri() to properly handle S3 and other volume sub-directories