Skip to content

Releases: nystudio107/craft-imageoptimize

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

Version 4.0.0-beta.2

08 Apr 19:14
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with properties not being initialized before being accessed, which would cause image uploads to fail (#323)

Version 4.0.0-beta.1

30 Mar 03:56
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 compatibility

Version 1.6.44

24 Mar 22:53
Compare
Choose a tag to compare

Fixed

  • Fixed a regression due to a PR that could cause image variants to not be regenerated after resaving them

Version 1.6.43

14 Mar 16:34
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where an exception could be thrown when running the craft resave/assets console command (#78)

Version 1.6.42

23 Feb 17:55
Compare
Choose a tag to compare

Added

  • Added in GQL implementation for srcsetMinWidth, srcsetMaxWidth, srcsetMinWidthWebp & srcsetMaxWidthWebp.
    Updated the documentation to show how these are used (#315)

Changed

  • Only update variants for an existing asset if the image has been manipulated (#314)

Fixed

  • Use the new Imgix purge API endpoint properly (#4)
  • Fixed an issue where corrupted images could result in the Imgix transformer throwing an exception (#3) (#306)

Version 1.6.41

17 Jan 23:30
Compare
Choose a tag to compare

Fixed

  • Fixed an issue that could cause the JavaScript to not execute properly, causing the Settings to not appear
    correctly (#310)

Version 1.6.40

12 Jan 17:29
Compare
Choose a tag to compare

Added

  • Add .gitattributes & CODEOWNERS
  • Add linting to build
  • Add compression of assets
  • Add bundle visualizer