Skip to content

Releases: nystudio107/craft-imageoptimize

Version 1.4.19

23 Feb 15:33
Compare
Choose a tag to compare

Changed

  • Fix deprecation errors from Craft CMS 3 RC 12 (which were causing slowdowns)

Version 1.4.18

19 Feb 19:41
Compare
Choose a tag to compare

Added

  • Fix a division by 0 error with some custom Craft transforms when using Imgix as a transform method

Version 1.4.17

18 Feb 03:36
Compare
Choose a tag to compare

Added

  • Added lightswitch controls to the OptimizedImages field that let you control what is displayed

Changed

  • Ensure we handle all of the potential $transform types passed into EVENT_GET_ASSET_URL
  • Both createColorPalette and createPlaceholderSilhouettes are now off by default when using craft.imageOptimize.createOptimizedImages() via Twig, but can be overridden

Version 1.4.16

15 Feb 17:55
Compare
Choose a tag to compare

Added

  • Added support for optional security token used to sign image URLs from Imgix
  • Added image-optimize/optimize/create and image-optimize/optimize/clear console commands for command line Optimized Image Variant creation

Changed

  • Display the non-webp version of an image when it exists, but the browser doesn't support displaying .webp
  • Handles error conditions with filesize better

Version 1.4.15

14 Feb 17:04
Compare
Choose a tag to compare

Changed

  • Resave all asset volumes after the settings are changed (not just the Transform Method)
  • Save the Optimized Image Variants via an async queue when possible
  • Detect gd installation via function_exists instead of extension_loaded
  • Handle protocol-relative siteUrls better

Version 1.4.14

10 Feb 04:33
Compare
Choose a tag to compare

Changed

  • Fixed an issue where certain settings could not be saved via the AdminCP
  • Check to ensure that GD is installed before attempting to generate silhouette placeholders
  • Show a warning on the Settings page if GD is not installed

Version 1.4.13

05 Feb 14:05
Compare
Choose a tag to compare

Changed

  • Removed Edit Image button, since Craft CMS 3 now includes one in the Asset preview

Version 1.4.12

01 Feb 18:54
Compare
Choose a tag to compare

Changed

  • Removed the api-key parameter from Imgix image transform URLs

Version 1.4.11

30 Jan 14:30
Compare
Choose a tag to compare

Changed

  • Renamed the composer package name to craft-imageoptimize
  • Fixed a regression that broke protocol-relative siteUrls

Version 1.4.10

26 Jan 22:33
Compare
Choose a tag to compare

Added

  • Shows an error if an OptimizedImages field is added to anything other than an Asset's layout
  • Added a warning if a config setting is being overridden by the config.php
  • Added a number of config settings to the AdminCP GUI

Changed

  • UrlHelper::urlWithProtocol -> UrlHelper::urlWithScheme for Craft CMS 3 RC7 compatibility
  • Fixed an issue where you could delete the last Image Variant in the field settings, even though the option was disabled
  • Handle the display of Optimized Image Variant names better when coming from Imgix