diff --git a/bundles/CoreBundle/config/templating_twig.yaml b/bundles/CoreBundle/config/templating_twig.yaml index b00fcd94e08..27295f22116 100644 --- a/bundles/CoreBundle/config/templating_twig.yaml +++ b/bundles/CoreBundle/config/templating_twig.yaml @@ -67,11 +67,6 @@ services: Pimcore\Twig\Extension\ImageThumbnailExtension: ~ - # the deferred extension is needed for placeholder helpers to work - # as otherwise the placeholder block would be rendered before any - # content was added (e.g. headTitle) - Twig\DeferredExtension\DeferredExtension: ~ - Pimcore\Twig\Sandbox\SecurityPolicy: arguments: $allowedTags: '%pimcore.templating.twig.sandbox_security_policy.tags%' diff --git a/composer.json b/composer.json index 9b3ec24fe02..5b97c4e38c0 100644 --- a/composer.json +++ b/composer.json @@ -73,7 +73,6 @@ "pear/net_url2": "^2.2", "phpoffice/phpspreadsheet": "^1.24", "presta/sitemap-bundle": "^3.3", - "rybakit/twig-deferred-extension": "^3.0", "sabre/dav": "^4.1.2", "scheb/2fa-bundle": "^6.0", "scheb/2fa-google-authenticator": "^6.0", diff --git a/doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md b/doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md index c6d1fccd21c..13dcb1f66cc 100644 --- a/doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md +++ b/doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md @@ -6,6 +6,9 @@ - Unused setting `general.language` has been deprecated. #### [Listing] - The methods `setOrder()` and `setOrderKey()` throw an `InvalidArgumentException` if the parameters are invalid now. +#### [Twig Deferred Extension] +- Removed `rybakit/twig-deferred-extension` dependency and `Twig\DeferredExtension\DeferredExtension` service. + If you use deferred twig blocks, please add the dependency to your own `composer.json` and the service to your own `service.yaml`. #### [Html to Image] - [Gotenberg] Bumped the lowest requirement of `gotenberg-php` from `^2.0` to `^2.4` to add support of passing screenshot size #### [Assets]