- Fixed issues with using named transforms or
AssetTransform
models whenuseForNativeTransforms
istrue
(fixes #237). - Fixed incorrect use of config setting
imagerSystemPath
when clearing cache (fixes #236). - Fixed docs for imgixConfig, domains are suppose to be strings.
- Fixed default value for
getExternalImageDimensions
inImgixSettings
model to correspond with the description in docs, and the example in theSettings
model.
- Fixed path encoding for AWS and GCS when using Windows (Thanks, @aaronwaldon).
- Fixed path encoding for Imgix when using Windows (Thanks, @aaronwaldon).
- Fixed error that would occur when using cwebp and the path had a space. (fixes #220).
- Optimize job now throws an exception if upload to external storage fails, so that it can be retried.
- AWS and GCS external storages now open files in binary mode just to be safe.
- Added environment parsing to volume subfolder setting in Imgix path parsing (Thanks, @Tam).
- Added support for addPath in Imgix config to make it easier to use several volumes with just one Imgix source and configuration.
- Fixed regression error where settings that could have alias was not possible to override with template config overrides.
- Fixes issue where spaces in asset folders broke URL encoding for Imgix.
- Fixes missing width and height when using Imgix and neither width or height was set in the transform (fixes #228).
- Fixes issue where files with upper case extensions were not transformed with Imager when useForCpThumbs was activated. (thanks, @johandouma).
- Fixes issue where files with upper case extensions were not transformed with Imager when useForNativeTransforms was activated. (thanks, @johandouma).
- Makes URL encoding of file paths for Imgix RFC 3986 compliant (#190) (thanks, @Mosnar).
- Fixes in issue with running Imager transforms from the command line (thanks, @janhenckens).
- Default quality is no longer sent to Imgix when auto compression is enabled (thanks, @jorenvanhee).
- Added support for purging images from Imgix (thanks, @mmikkel).
- Fixes an issue where the image driver would not be detected when using the static method hasSupportForWebP before the service was constructed.
- Fixes an issue where if the the remote filename is invalid the filename would be invalid locally and could not be created, this sanitizes the filename that will be created to it is always valid even if the remote filename is invalid (Thanks, @HelgeSverre).
- Fixes an issue with filename collisions when creating temporary filename, microtime() is now used instead of time() (thanks, @MflJoe).
- Added a ton of color utility template variables for getting brightness, hue, lightness, percieved brightness, relative luminance, saturation, brightness difference, color difference and (puh!) contrast ratio.
- Changed check for when to apply background colors. GIFs and PNGs can haz too.
- Changed composer dependency for imgix/imgix-php (#181).
- Fixes incorrect slashes in generated transform URLs on windows (#179).
- Fixes bug where it was not possible to create transparent gif placeholders (#178).
- Docs now mentions how to use Craft's built in asset focal point with position. Plus other minor updates.
- Changed composer dependency for tinify/tinify to allow older versions without dependecy for libcurl >=7.20.0.
- Also improved check for native transforms using Imager to make sure we're dealing only with images.
- Fixed an issue that could occur if an object was passed as a transform object instead of an array (Thanks, @Rias500!).
- Improved the check for when to create thumbnails to make sure we're dealing only with images (Thanks, @Rias500!).
- Documentation done, bumbed to 2.0.0.
- Added new placeholder template variable that replaces base64Pixel. Placeholders can now be SVG, GIF or SVG silhouettes.
- Added Yii alias support to imagerSystemPath setting, and replaces DOCUMENT_ROOT with Craft @webroot alias (Thanks, @mmikkel!).
- Fixed use of
Asset::getUri()
which was deprecated in RC13.
- Support for using Imager for native transforms (
useForNativeTransforms
config setting) and control panel thumbs (useForCpThumbs
config setting). Very beta atm. - Added support for native focal point in
position
. - Added support for aliases in
imagerSystemPath
andimagerUrl
. - Added config setting
cacheRemoteFiles
to enable and disable caching of remote images (enabled by default).
- The
suppressExceptions
config setting now usesdevMode
by default to determine initial value. Still possible to override though. - Improved error handling. More annotations and code documentation.
- Fixed a bug where
serverSupportsWebp
would throw an error if config was not initialized.
- Initial Craft 3 beta release