Releases: nystudio107/craft-imageoptimize
Releases · nystudio107/craft-imageoptimize
4.0.8
1.6.54
5.0.0
Added
- Stable release for Craft CMS 5
5.0.0-beta.2
Added
- Added the ability to pass in a config array to
.imgTag()
,.pictureTag()
and.linkPreloadTag()
Changed
- Changed
.loading()
→.loadingStrategy()
,.artDirection()
→addSourceFrom()
4.0.7
Added
- Added the ability to pass in a config array to
.imgTag()
,.pictureTag()
and.linkPreloadTag()
Changed
- Changed
.loading()
→.loadingStrategy()
,.artDirection()
→addSourceFrom()
1.6.53
Added
- Added the ability to pass in a config array to
.imgTag()
,.pictureTag()
and.linkPreloadTag()
Changed
- Changed
.loading()
→.loadingStrategy()
,.artDirection()
→addSourceFrom()
5.0.0-beta.1
Added
- Initial Craft CMS 5 compatibility
- Add
.imgTag()
to theOptimizedImage
model, which generates a complete<img>
tag from theOptimizedImage
- Add
.pictureTag()
to theOptimizedImage
model, which generates a complete<picture>
tag from theOptimizedImage
- Add
.linkPreloadTag()
to theOptimizedImage
model, which generates a complete<link rel="preload">
tag from theOptimizedImage
- Add
craft.imageOptimize.renderLazySizesJs()
to render the LazySizes JavaScript for lazy loading images - Add
craft.imageOptimize.renderLazySizesFallbackJs()
to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support theloading
property
Changed
- Added PDF to the Ignore Files field settings (#364)
4.0.6
Added
- Added a
--queue
option to theimage-optimize/optimize/create
console command if you want to defer the image generation to be run via queue job, rather than immediately via the console command - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action - Add
.imgTag()
to theOptimizedImage
model, which generates a complete<img>
tag from theOptimizedImage
- Add
.pictureTag()
to theOptimizedImage
model, which generates a complete<picture>
tag from theOptimizedImage
- Add
.linkPreloadTag()
to theOptimizedImage
model, which generates a complete<link rel="preload">
tag from theOptimizedImage
- Add
craft.imageOptimize.renderLazySizesJs()
to render the LazySizes JavaScript for lazy loading images - Add
craft.imageOptimize.renderLazySizesFallbackJs()
to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support theloading
property
Changed
- Added PDF to the Ignore Files field settings (#364)
- Updated docs to use node 20 & a new sitemap plugin
- Switch over to Vite
^5.0.0
& Node^20.0.0
for the buildchain - PHPstan code cleanup
- ECS code cleanup
1.6.52
Added
- Added a
--queue
option to theimage-optimize/optimize/create
console command if you want to defer the image generation to be run via queue job, rather than immediately via the console command - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action - Add
.imgTag()
to theOptimizedImage
model, which generates a complete<img>
tag from theOptimizedImage
- Add
.pictureTag()
to theOptimizedImage
model, which generates a complete<picture>
tag from theOptimizedImage
- Add
.linkPreloadTag()
to theOptimizedImage
model, which generates a complete<link rel="preload">
tag from theOptimizedImage
- Add
craft.imageOptimize.renderLazySizesJs()
to render the LazySizes JavaScript for lazy loading images - Add
craft.imageOptimize.renderLazySizesFallbackJs()
to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support theloading
property
Changed
- Added PDF to the Ignore Files field settings (#364)
- Updated docs to use node 20 & a new sitemap plugin
- Switch over to Vite
^5.0.0
& Node^20.0.0
for the buildchain - PHPstan code cleanup
- ECS code cleanup
4.0.5
Changed
- Automate release generation via GitHub action
- Add versioning to the docs