Skip to content

Releases: nystudio107/craft-imageoptimize

5.0.1

09 May 19:52
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where field content was not propagated to other sites on multi-site installs, causing missing images
  • Fixed an issue where the .imgTag() and .pictureTag() would output and invalid style attribute for lazy loaded images (#400)
  • Fixed an issue where the Subpath wasn't being included for remote volumes like S3 & Google Cloud (#403)

4.0.8

09 May 19:52
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the .imgTag() and .pictureTag() would output and invalid style attribute for lazy loaded images (#400)

1.6.54

09 May 19:51
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the .imgTag() and .pictureTag() would output and invalid style attribute for lazy loaded images (#400)

5.0.0

15 Apr 19:35
Compare
Choose a tag to compare

Added

  • Stable release for Craft CMS 5

5.0.0-beta.2

04 Apr 04:44
Compare
Choose a tag to compare
5.0.0-beta.2 Pre-release
Pre-release

Added

  • Added the ability to pass in a config array to .imgTag(), .pictureTag() and .linkPreloadTag()

Changed

  • Changed .loading().loadingStrategy(), .artDirection()addSourceFrom()

4.0.7

04 Apr 04:43
Compare
Choose a tag to compare

Added

  • Added the ability to pass in a config array to .imgTag(), .pictureTag() and .linkPreloadTag()

Changed

  • Changed .loading().loadingStrategy(), .artDirection()addSourceFrom()

1.6.53

04 Apr 04:42
Compare
Choose a tag to compare

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

02 Apr 20:32
Compare
Choose a tag to compare
5.0.0-beta.1 Pre-release
Pre-release

Added

  • Initial Craft CMS 5 compatibility
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • 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 the loading property

Changed

  • Added PDF to the Ignore Files field settings (#364)

4.0.6

02 Apr 20:31
Compare
Choose a tag to compare

Added

  • Added a --queue option to the image-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 and ecs code linting
  • Add code-analysis.yaml GitHub action
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • 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 the loading 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

02 Apr 20:30
Compare
Choose a tag to compare

Added

  • Added a --queue option to the image-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 and ecs code linting
  • Add code-analysis.yaml GitHub action
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • 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 the loading 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