From a8a9386dcc572f4fbe146f0ae0fe4d27515d94db Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 23 Dec 2021 13:06:45 +0100 Subject: [PATCH] Update UPGRADE.md --- UPGRADE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 0a4abe6..4650d9e 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,7 +1,7 @@ # TwigBridge Upgrade Guide -## Upgrade v0.11.x -> x.x.x -Version greater than v0.11.x now require Twig3. There are some feature that were removed in Twig3, so we were forced to remove some features as well in TwigBridge +## Upgrade v0.12.x -> v0.13.x +Version greater than v0.12.x now require Twig3. There are some feature that were removed in Twig3, so we were forced to remove some features as well in TwigBridge - add `'TwigBridge\Extension\Loader\Globals'` in the configuration twigbridge.extensions.enabled. Or else, you will loose global variables `errors`, `app` and all other shared with `View::share` - add `'TwigBridge\Extension\Laravel\Event'` in the configuration twigbridge.extensions.enabled. Or else, `composing:{view name}` and `creating:{view name}` events will no longer be triggered.