v1.7.0 - 2023-04-15
- Add
RemoteImageFactory
class. Support for remote Glide endpoints and filesystems
- Extract traits and interfaces to share code between both image factory classes
- Handle unknown image dimensions (
ImageRender
,ImageFile
)
v1.6.0 - 2023-03-02
- Initialize
ImageRender
andImageSetRender
from arrays
- Add test coverage report to Github workflow
v1.5.1 - 2022-10-08
- Remove unnecessary LQIP src attribute with wrapper element
- Handle HTML attribute overrides with
!
prefix
v1.5.0 - 2022-10-07
- Add image resampling feature (
ImageFactory
)
- Update README examples and presentation
- Prepare for PHP 8.2
v1.4.1 - 2022-09-16
- Format float values for padding-top CSS (
ImgRenderable
)
- Refactor test helpers (
Mocking
)
v1.4.0 - 2022-09-09
- Support image formats configuration (
ImageSet
) - Support custom Glide parameters (
ImageSet
)
- Cleanup HTML output of wrapper elements (
RendersHtml
)
- Update README examples
v1.3.0 - 2022-09-01
- Add shortcut for single image widths (
ImageSet
) - Add new configuration format for art-directed images (
ImageSet
) - Add integration test
- Refactor ImageSet internal data representation. Impacts
data()
andtoArray()
return values. (ImageSet
)
- Update README examples
v1.2.0 - 2022-08-24
- Accept render options as array (
ImageFactory
) - Add missing setter for padding element CSS class (
ImgRenderable
)
- Ensure base64 LQIP is usable with wrapper option (
ImgRenderable
)
- Document various configuration options
v1.1.0 - 2022-08-10
- Add option to use Base64 encoded URL as LQIP
- Use GIF format for LQIP in default Glide parameters
- Update README examples and presentation
- Update test helpers
v1.0.1 - 2022-08-04
- Update glide version constraints to allow installation on a wider range of projects
v1.0.0 - 2022-08-01
- Add
data()
method (ImageSet
) - Add
toArray()
methods (Image
andImageFile
)
- Export plain array from
toArray()
method (ImageSet
) - Change internal setter methods from public to protected (
ImageSet
) - Rename
source()
tomain()
to improve clarity (ImgRenderable
) - Get dimensions from last source item instead of original file (
ImageSetRender
)
- 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.