Releases
v2.1.0
Compare
Sorry, something went wrong.
No results found
Features
New S3 adapter (subclassed from upstream package)
Fixed bugs with upstream version.
Handles directories better.
Handles operations on buckets directly.
New Cached adapter (subclassed from upstream package)
Fixed bugs with upstream version.
Exposed flush() method.
Supports including files.
Supports caching image info (with compatible cache adapter).
Doctrine, PSR-6, FS adapter, and Memory cache adapters are provided.
New Memory adapter (subclassed from upstream package)
Supports including files.
Support SVGs as Images and retrieving Image\Info for them.
(need to require the contao/imagine-svg package)
Image\Info is now serializable.
Adapters can now implement their own getImageInfo logic.
Image\Type can now register custom types. You should now typehint Image\TypeInterface instead of Image\Type.
Renamed AggregateFilesystemInterface to CompositeFilesystemInterface. Former one is deprecated.
Performance Improvements
The Local adapter now creates Image\Infos with native paths instead of reading file contents.
Image's magic call now tries plugins before image info, since it is way faster to check plugin list than read image contents.
Bug Fixes
Fixed NotSupportedException calls
listContents() now returns JsonFile/YamlFile objects for .json and .yml files.
Fixed Finder::append when given a list/iterator of HandlerInterface objects. They are also lazily evaluated now.
You can’t perform that action at this time.