From 6a4686d17b8b2251a3b8fbd6ef736b7c44f7013a Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Thu, 10 Dec 2020 11:19:27 -0800 Subject: [PATCH 1/7] Update composer first thing --- .github/workflows/tests.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 94b417d51..ca8cb16b3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,6 +27,9 @@ jobs: extensions: opcache, gd coverage: none + - name: Update composer + run: composer update + - name: Validate composer.json and composer.lock run: composer validate From d9c14455424babd6292acdc1caf33e03990bbe51 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Mon, 14 Dec 2020 21:28:42 -0700 Subject: [PATCH 2/7] prepare for release --- CHANGELOG.md | 2 +- system/defines.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcbe25d9b..30f526a95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # v1.6.31 -## mm/dd/2020 +## 12/14/2020 1. [](#improved) * Allow all CSS and JS via `robots.txt` [#2006](https://github.com/getgrav/grav/issues/2006) [#3067](https://github.com/getgrav/grav/issues/3067) diff --git a/system/defines.php b/system/defines.php index 086b246c3..4f5164d37 100644 --- a/system/defines.php +++ b/system/defines.php @@ -8,7 +8,7 @@ // Some standard defines define('GRAV', true); -define('GRAV_VERSION', '1.6.30'); +define('GRAV_VERSION', '1.6.31'); define('GRAV_TESTING', false); define('DS', '/'); From b7aa20ed88f91f9dc872f13d453209eeb3ba76f6 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 24 Dec 2020 11:33:37 -0700 Subject: [PATCH 3/7] vendor updates --- composer.lock | 148 +++++++++++++++++++++++++------------------------- 1 file changed, 73 insertions(+), 75 deletions(-) diff --git a/composer.lock b/composer.lock index be864f8ce..4d8f13789 100644 --- a/composer.lock +++ b/composer.lock @@ -781,16 +781,16 @@ }, { "name": "matthiasmullie/minify", - "version": "1.3.63", + "version": "1.3.64", "source": { "type": "git", "url": "https://github.com/matthiasmullie/minify.git", - "reference": "9ba1b459828adc13430f4dd6c49dae4950dc4117" + "reference": "38f9d58c739687e269f46c6dff4647de9e2eb855" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/9ba1b459828adc13430f4dd6c49dae4950dc4117", - "reference": "9ba1b459828adc13430f4dd6c49dae4950dc4117", + "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/38f9d58c739687e269f46c6dff4647de9e2eb855", + "reference": "38f9d58c739687e269f46c6dff4647de9e2eb855", "shasum": "" }, "require": { @@ -839,9 +839,9 @@ ], "support": { "issues": "https://github.com/matthiasmullie/minify/issues", - "source": "https://github.com/matthiasmullie/minify/tree/1.3.63" + "source": "https://github.com/matthiasmullie/minify/tree/1.3.64" }, - "time": "2020-01-21T20:21:08+00:00" + "time": "2020-12-23T13:37:53+00:00" }, { "name": "matthiasmullie/path-converter", @@ -898,25 +898,25 @@ }, { "name": "maximebf/debugbar", - "version": "v1.16.3", + "version": "v1.16.4", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372" + "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/1a1605b8e9bacb34cc0c6278206d699772e1d372", - "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/c86c717e4bf3c6d98422da5c38bfa7b0f494b04c", + "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c", "shasum": "" }, "require": { - "php": "^7.1", + "php": "^7.1|^8", "psr/log": "^1.0", "symfony/var-dumper": "^2.6|^3|^4|^5" }, "require-dev": { - "phpunit/phpunit": "^5" + "phpunit/phpunit": "^7.5.20 || ^9.4.2" }, "suggest": { "kriswallsmith/assetic": "The best way to manage assets", @@ -957,9 +957,9 @@ ], "support": { "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.3" + "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.4" }, - "time": "2020-05-06T07:06:27+00:00" + "time": "2020-12-07T10:48:48+00:00" }, { "name": "miljar/php-exif", @@ -1023,16 +1023,16 @@ }, { "name": "monolog/monolog", - "version": "1.25.5", + "version": "1.26.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "1817faadd1846cd08be9a49e905dc68823bc38c0" + "reference": "2209ddd84e7ef1256b7af205d0717fb62cfc9c33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1817faadd1846cd08be9a49e905dc68823bc38c0", - "reference": "1817faadd1846cd08be9a49e905dc68823bc38c0", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/2209ddd84e7ef1256b7af205d0717fb62cfc9c33", + "reference": "2209ddd84e7ef1256b7af205d0717fb62cfc9c33", "shasum": "" }, "require": { @@ -1048,7 +1048,7 @@ "graylog2/gelf-php": "~1.0", "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", - "php-parallel-lint/php-parallel-lint": "^1.0", + "phpstan/phpstan": "^0.12.59", "phpunit/phpunit": "~4.5", "ruflin/elastica": ">=0.90 <3.0", "sentry/sentry": "^0.13", @@ -1068,11 +1068,6 @@ "sentry/sentry": "Allow sending log messages to a Sentry server" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { "Monolog\\": "src/Monolog" @@ -1098,7 +1093,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/1.25.5" + "source": "https://github.com/Seldaek/monolog/tree/1.26.0" }, "funding": [ { @@ -1110,7 +1105,7 @@ "type": "tidelift" } ], - "time": "2020-07-23T08:35:51+00:00" + "time": "2020-12-14T12:56:38+00:00" }, { "name": "nyholm/psr7", @@ -1875,21 +1870,24 @@ }, { "name": "seld/cli-prompt", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/Seldaek/cli-prompt.git", - "reference": "a19a7376a4689d4d94cab66ab4f3c816019ba8dd" + "reference": "b8dfcf02094b8c03b40322c229493bb2884423c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/cli-prompt/zipball/a19a7376a4689d4d94cab66ab4f3c816019ba8dd", - "reference": "a19a7376a4689d4d94cab66ab4f3c816019ba8dd", + "url": "https://api.github.com/repos/Seldaek/cli-prompt/zipball/b8dfcf02094b8c03b40322c229493bb2884423c5", + "reference": "b8dfcf02094b8c03b40322c229493bb2884423c5", "shasum": "" }, "require": { "php": ">=5.3" }, + "require-dev": { + "phpstan/phpstan": "^0.12.63" + }, "type": "library", "extra": { "branch-alias": { @@ -1921,9 +1919,9 @@ ], "support": { "issues": "https://github.com/Seldaek/cli-prompt/issues", - "source": "https://github.com/Seldaek/cli-prompt/tree/master" + "source": "https://github.com/Seldaek/cli-prompt/tree/1.0.4" }, - "time": "2017-03-18T11:32:45+00:00" + "time": "2020-12-15T21:32:01+00:00" }, { "name": "symfony/console", @@ -3397,16 +3395,16 @@ }, { "name": "fzaninotto/faker", - "version": "v1.9.1", + "version": "v1.9.2", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" + "reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/848d8125239d7dbf8ab25cb7f054f1a630e68c2e", + "reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e", "shasum": "" }, "require": { @@ -3445,10 +3443,10 @@ ], "support": { "issues": "https://github.com/fzaninotto/Faker/issues", - "source": "https://github.com/fzaninotto/Faker/tree/v1.9.1" + "source": "https://github.com/fzaninotto/Faker/tree/v1.9.2" }, "abandoned": true, - "time": "2019-12-12T13:22:17+00:00" + "time": "2020-12-11T09:56:16+00:00" }, { "name": "guzzlehttp/guzzle", @@ -4115,16 +4113,16 @@ }, { "name": "nette/schema", - "version": "v1.0.3", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "34baf9eca75eccdad3d04306c5d6bec0f6b252ad" + "reference": "3b6b9702a2a54170c81d157b65570fac871caba0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/34baf9eca75eccdad3d04306c5d6bec0f6b252ad", - "reference": "34baf9eca75eccdad3d04306c5d6bec0f6b252ad", + "url": "https://api.github.com/repos/nette/schema/zipball/3b6b9702a2a54170c81d157b65570fac871caba0", + "reference": "3b6b9702a2a54170c81d157b65570fac871caba0", "shasum": "" }, "require": { @@ -4139,7 +4137,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.1-dev" } }, "autoload": { @@ -4171,9 +4169,9 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.0.3" + "source": "https://github.com/nette/schema/tree/v1.1.0" }, - "time": "2020-11-25T21:54:59+00:00" + "time": "2020-12-20T22:18:49+00:00" }, { "name": "nette/utils", @@ -4259,16 +4257,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.10.3", + "version": "v4.10.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "dbe56d23de8fcb157bbc0cfb3ad7c7de0cfb0984" + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dbe56d23de8fcb157bbc0cfb3ad7c7de0cfb0984", - "reference": "dbe56d23de8fcb157bbc0cfb3ad7c7de0cfb0984", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", "shasum": "" }, "require": { @@ -4309,9 +4307,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.3" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" }, - "time": "2020-12-03T17:45:45+00:00" + "time": "2020-12-20T10:01:03+00:00" }, { "name": "phar-io/manifest", @@ -5894,16 +5892,16 @@ }, { "name": "symfony/browser-kit", - "version": "v4.4.17", + "version": "v4.4.18", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "5f11947e9ec072ac32c605c07cb22522c30f4b28" + "reference": "85efcc33545ed472653eb2d00a4ab36e6258a5b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/5f11947e9ec072ac32c605c07cb22522c30f4b28", - "reference": "5f11947e9ec072ac32c605c07cb22522c30f4b28", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/85efcc33545ed472653eb2d00a4ab36e6258a5b6", + "reference": "85efcc33545ed472653eb2d00a4ab36e6258a5b6", "shasum": "" }, "require": { @@ -5945,7 +5943,7 @@ "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/browser-kit/tree/v4.4.17" + "source": "https://github.com/symfony/browser-kit/tree/v4.4.18" }, "funding": [ { @@ -5961,20 +5959,20 @@ "type": "tidelift" } ], - "time": "2020-10-28T20:42:29+00:00" + "time": "2020-12-18T07:41:31+00:00" }, { "name": "symfony/css-selector", - "version": "v4.4.17", + "version": "v4.4.18", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "5e6efcb6e5d120249da366417e2517c55b50c931" + "reference": "74bd82e75da256ad20851af6ded07823332216c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/5e6efcb6e5d120249da366417e2517c55b50c931", - "reference": "5e6efcb6e5d120249da366417e2517c55b50c931", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/74bd82e75da256ad20851af6ded07823332216c7", + "reference": "74bd82e75da256ad20851af6ded07823332216c7", "shasum": "" }, "require": { @@ -6010,7 +6008,7 @@ "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v4.4.17" + "source": "https://github.com/symfony/css-selector/tree/v4.4.18" }, "funding": [ { @@ -6026,20 +6024,20 @@ "type": "tidelift" } ], - "time": "2020-10-28T20:42:29+00:00" + "time": "2020-12-08T16:59:59+00:00" }, { "name": "symfony/dom-crawler", - "version": "v4.4.17", + "version": "v4.4.18", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "30ad9ac96a01913195bf0328d48e29d54fa53e6e" + "reference": "d44fbb02b458fe18d00fea18f24c97cefb87577e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/30ad9ac96a01913195bf0328d48e29d54fa53e6e", - "reference": "30ad9ac96a01913195bf0328d48e29d54fa53e6e", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/d44fbb02b458fe18d00fea18f24c97cefb87577e", + "reference": "d44fbb02b458fe18d00fea18f24c97cefb87577e", "shasum": "" }, "require": { @@ -6083,7 +6081,7 @@ "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v4.4.17" + "source": "https://github.com/symfony/dom-crawler/tree/v4.4.18" }, "funding": [ { @@ -6099,20 +6097,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T11:50:19+00:00" + "time": "2020-12-18T07:41:31+00:00" }, { "name": "symfony/finder", - "version": "v4.4.17", + "version": "v4.4.18", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9f1d1d883b79a91ef320c0c6e803494e042ef36e" + "reference": "ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9f1d1d883b79a91ef320c0c6e803494e042ef36e", - "reference": "9f1d1d883b79a91ef320c0c6e803494e042ef36e", + "url": "https://api.github.com/repos/symfony/finder/zipball/ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b", + "reference": "ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b", "shasum": "" }, "require": { @@ -6144,7 +6142,7 @@ "description": "Symfony Finder Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v4.4.17" + "source": "https://github.com/symfony/finder/tree/v4.4.18" }, "funding": [ { @@ -6160,7 +6158,7 @@ "type": "tidelift" } ], - "time": "2020-11-17T19:45:34+00:00" + "time": "2020-12-08T16:59:59+00:00" }, { "name": "symfony/polyfill-intl-idn", From 2738107b1e086d8bf16607f4222dbdda5a944067 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Mon, 28 Dec 2020 11:04:24 -0700 Subject: [PATCH 4/7] composer update for matthiasmullie/minify --- composer.lock | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/composer.lock b/composer.lock index 4d8f13789..cf1f17400 100644 --- a/composer.lock +++ b/composer.lock @@ -781,16 +781,16 @@ }, { "name": "matthiasmullie/minify", - "version": "1.3.64", + "version": "1.3.65", "source": { "type": "git", "url": "https://github.com/matthiasmullie/minify.git", - "reference": "38f9d58c739687e269f46c6dff4647de9e2eb855" + "reference": "227f19062451c55a797e0cc667ef983834e6580c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/38f9d58c739687e269f46c6dff4647de9e2eb855", - "reference": "38f9d58c739687e269f46c6dff4647de9e2eb855", + "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/227f19062451c55a797e0cc667ef983834e6580c", + "reference": "227f19062451c55a797e0cc667ef983834e6580c", "shasum": "" }, "require": { @@ -839,9 +839,23 @@ ], "support": { "issues": "https://github.com/matthiasmullie/minify/issues", - "source": "https://github.com/matthiasmullie/minify/tree/1.3.64" + "source": "https://github.com/matthiasmullie/minify/tree/1.3.65" }, - "time": "2020-12-23T13:37:53+00:00" + "funding": [ + { + "url": "https://github.com/[user1", + "type": "github" + }, + { + "url": "https://github.com/matthiasmullie] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g.", + "type": "github" + }, + { + "url": "https://github.com/user2", + "type": "github" + } + ], + "time": "2020-12-27T21:43:29+00:00" }, { "name": "matthiasmullie/path-converter", @@ -3043,16 +3057,16 @@ }, { "name": "codeception/phpunit-wrapper", - "version": "7.8.1", + "version": "7.8.2", "source": { "type": "git", "url": "https://github.com/Codeception/phpunit-wrapper.git", - "reference": "bc6f37d770ec00c4c7c78a1cac2b8ac0f9c9eec5" + "reference": "cafed18048826790c527843f9b85e8cc79b866f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/bc6f37d770ec00c4c7c78a1cac2b8ac0f9c9eec5", - "reference": "bc6f37d770ec00c4c7c78a1cac2b8ac0f9c9eec5", + "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/cafed18048826790c527843f9b85e8cc79b866f1", + "reference": "cafed18048826790c527843f9b85e8cc79b866f1", "shasum": "" }, "require": { @@ -3084,9 +3098,9 @@ "description": "PHPUnit classes used by Codeception", "support": { "issues": "https://github.com/Codeception/phpunit-wrapper/issues", - "source": "https://github.com/Codeception/phpunit-wrapper/tree/7.8.1" + "source": "https://github.com/Codeception/phpunit-wrapper/tree/7.8.2" }, - "time": "2020-10-11T18:23:48+00:00" + "time": "2020-12-28T14:00:26+00:00" }, { "name": "codeception/stub", From cbd4ed311fabcb8a07915d54d19943f10c7dc51d Mon Sep 17 00:00:00 2001 From: Nico Date: Mon, 11 Jan 2021 20:46:37 +0100 Subject: [PATCH 5/7] Set twig_first setting to the correct default (#3138) I've also verified this via code, the correct default is `false`. It is also documented here: https://learn.getgrav.org/16/basics/grav-configuration#pages --- system/src/Grav/Common/Page/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index b33d514c6..44df6ca23 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -676,7 +676,7 @@ class Page implements PageInterface $cache_enable = $this->header->cache_enable ?? $config->get('system.cache.enabled', true); $twig_first = $this->header->twig_first ?? $config->get('system.pages.twig_first', - true); + false); // never cache twig means it's always run after content $never_cache_twig = $this->header->never_cache_twig ?? $config->get('system.pages.never_cache_twig', From fd18eeb62c4c5ebe88cc647c90a3a1b3098c0ce6 Mon Sep 17 00:00:00 2001 From: Nico Date: Mon, 11 Jan 2021 20:47:43 +0100 Subject: [PATCH 6/7] Add grav twig extensions to its own `evaluate` and `evaluate_twig` filters (#3139) I wanted to use `evaluate_twig()` with a template the uses `theme_var()` or also a simpler twig function `string`. I made them available with this simple call. --- system/src/Grav/Common/Twig/TwigExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/src/Grav/Common/Twig/TwigExtension.php b/system/src/Grav/Common/Twig/TwigExtension.php index 3da65dd2a..ed42d3066 100644 --- a/system/src/Grav/Common/Twig/TwigExtension.php +++ b/system/src/Grav/Common/Twig/TwigExtension.php @@ -837,6 +837,7 @@ class TwigExtension extends \Twig_Extension implements \Twig_Extension_GlobalsIn $loader = new \Twig_Loader_Filesystem('.'); $env = new \Twig_Environment($loader); + $env->addExtension($this); $template = $env->createTemplate($twig); From d7378f87c50674fbcf0fed100a0609985ec0f316 Mon Sep 17 00:00:00 2001 From: angusmcb <58976795+angusmcb@users.noreply.github.com> Date: Mon, 11 Jan 2021 23:49:37 +0100 Subject: [PATCH 7/7] Added 'format' to magic actions for images (#3144) --- system/src/Grav/Common/Page/Medium/ImageMedium.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Page/Medium/ImageMedium.php b/system/src/Grav/Common/Page/Medium/ImageMedium.php index 13c142aba..4aed02035 100644 --- a/system/src/Grav/Common/Page/Medium/ImageMedium.php +++ b/system/src/Grav/Common/Page/Medium/ImageMedium.php @@ -53,7 +53,7 @@ class ImageMedium extends Medium 'resize', 'forceResize', 'cropResize', 'crop', 'zoomCrop', 'negate', 'brightness', 'contrast', 'grayscale', 'emboss', 'smooth', 'sharp', 'edge', 'colorize', 'sepia', 'enableProgressive', - 'rotate', 'flip', 'fixOrientation', 'gaussianBlur' + 'rotate', 'flip', 'fixOrientation', 'gaussianBlur', 'format' ]; /**