Skip to content

Latest commit

 

History

History
168 lines (86 loc) · 3.83 KB

CHANGELOG.md

File metadata and controls

168 lines (86 loc) · 3.83 KB

Release Notes

v1.7.0 - 2023-04-15

Added

  • Add RemoteImageFactory class. Support for remote Glide endpoints and filesystems

Changed

  • Extract traits and interfaces to share code between both image factory classes
  • Handle unknown image dimensions (ImageRender, ImageFile)

v1.6.0 - 2023-03-02

Added

  • Initialize ImageRender and ImageSetRender from arrays

Chores

  • Add test coverage report to Github workflow

v1.5.1 - 2022-10-08

Changed

  • Remove unnecessary LQIP src attribute with wrapper element
  • Handle HTML attribute overrides with ! prefix

v1.5.0 - 2022-10-07

Added

  • Add image resampling feature (ImageFactory)

Chores

  • Update README examples and presentation
  • Prepare for PHP 8.2

v1.4.1 - 2022-09-16

Changed

  • Format float values for padding-top CSS (ImgRenderable)

Chores

  • Refactor test helpers (Mocking)

v1.4.0 - 2022-09-09

Added

  • Support image formats configuration (ImageSet)
  • Support custom Glide parameters (ImageSet)

Changed

  • Cleanup HTML output of wrapper elements (RendersHtml)

Chores

  • Update README examples

v1.3.0 - 2022-09-01

Added

  • Add shortcut for single image widths (ImageSet)
  • Add new configuration format for art-directed images (ImageSet)
  • Add integration test

Changed

  • Refactor ImageSet internal data representation. Impacts data() and toArray() return values. (ImageSet)

Chores

  • Update README examples

v1.2.0 - 2022-08-24

Added

  • Accept render options as array (ImageFactory)
  • Add missing setter for padding element CSS class (ImgRenderable)

Changed

  • Ensure base64 LQIP is usable with wrapper option (ImgRenderable)

Chores

  • Document various configuration options

v1.1.0 - 2022-08-10

Added

  • Add option to use Base64 encoded URL as LQIP

Changed

  • Use GIF format for LQIP in default Glide parameters

Chores

  • Update README examples and presentation
  • Update test helpers

v1.0.1 - 2022-08-04

Fixed

  • Update glide version constraints to allow installation on a wider range of projects

v1.0.0 - 2022-08-01

Added

  • Add data() method (ImageSet)
  • Add toArray() methods (Image and ImageFile)

Changed

  • Export plain array from toArray() method (ImageSet)
  • Change internal setter methods from public to protected (ImageSet)
  • Rename source() to main() to improve clarity (ImgRenderable)
  • Get dimensions from last source item instead of original file (ImageSetRender)

Chores

  • Update lint config and reformat
  • Update README examples

v1.0.0-beta - 2022-07-28

v1 is a complete rewrite of the project with the following goals:

  • Optimize for prototyping and static site generators use cases
  • Use Glide for image processing
  • Support PHP >= 8.0
  • Cleaner code architecture
  • Fast and decoupled suite of tests

v0.1.1 - 2020-05-29

Bugfix: Initialize an image processor instance only if the image needs to be processed.

v0.1 - 2020-05-24

Initial release.