5.0.0-beta.1
Pre-release
Pre-release
github-actions
released this
02 Apr 20:32
·
66 commits
to develop-v5
since this release
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)