diff --git a/CHANGELOG.md b/CHANGELOG.md index 687563979..ccdd11a41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## mm/dd/2020 1. [](#new) + * Support for `webp` image format in Page Media #1168 * Added `Route::getBase()` method 1. [](#improved) * Support symlinks when saving `File` diff --git a/composer.json b/composer.json index 15d65ccf7..468f881d5 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "filp/whoops": "~2.2", "matthiasmullie/minify": "^1.3", "monolog/monolog": "~1.0", - "gregwar/image": "2.*", + "gregwar/image": "~2.0", "donatj/phpuseragentparser": "~0.10", "pimple/pimple": "~3.2", "rockettheme/toolbox": "~1.5", diff --git a/composer.lock b/composer.lock index e8790601b..4b6e4724f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1fe7faf2a0c3746a2970416597c6615d", + "content-hash": "3deb19274879ec4b3566d70163f0e4f3", "packages": [ { "name": "antoligy/dom-string-iterators", @@ -1019,16 +1019,16 @@ }, { "name": "maximebf/debugbar", - "version": "v1.16.1", + "version": "v1.16.2", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "58998b818c6567fac01e35b8a4b70c1a64530556" + "reference": "40f375504a4dd8e59f779c3f3cac524777ddcde5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/58998b818c6567fac01e35b8a4b70c1a64530556", - "reference": "58998b818c6567fac01e35b8a4b70c1a64530556", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/40f375504a4dd8e59f779c3f3cac524777ddcde5", + "reference": "40f375504a4dd8e59f779c3f3cac524777ddcde5", "shasum": "" }, "require": { @@ -1076,7 +1076,7 @@ "debug", "debugbar" ], - "time": "2019-11-24T09:46:11+00:00" + "time": "2020-04-16T09:05:52+00:00" }, { "name": "miljar/php-exif", diff --git a/system/config/media.yaml b/system/config/media.yaml index 7326b03cb..1ceb7d82f 100644 --- a/system/config/media.yaml +++ b/system/config/media.yaml @@ -24,6 +24,10 @@ types: type: image thumb: media/thumb-png.png mime: image/png + webp: + type: image + thumb: media/thumb-webp.png + mime: image/webp gif: type: animated thumb: media/thumb-gif.png