Releases: nystudio107/craft-imageoptimize
Releases · nystudio107/craft-imageoptimize
Version 1.6.26
Fixed
- Fixed a regression that caused the image sizes to show up as
???
in the Asset Detail view
Version 1.6.25
Changed
- Updated to use
craft-imageoptimize-imgix
version^1.2.0
Fixed
- Always display sticky errors
Version 1.6.24
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
Fixed
- Fixed parse errors with PHP < 7.3
Version 1.6.22
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
Added
- Added a ImageOptimize Info Utility that allows you to see the ImageOptimize settings even in environments where
allowAdminChanges
isfalse
- Added a try/catch block to Imagine calls to handle errors more gracefully
Changed
- Split out vendors & commons chunks
- Switch from using
->each()
to usingcraft\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
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
Fixed
- Fixed improperly generated
webp
URL for Imgix
Version 1.6.18
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 thephp 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 thephp craft image-optimize/optimize/create
console command for force image variant creation
Version 1.6.17
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, whereformat
would be coerced to the image's extension format, when it should have been left asnull
.