8000 [TwigBridge] Fix upgrade/changelog notes · symfony/symfony@d2d59f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2d59f1

Browse files
committed
[TwigBridge] Fix upgrade/changelog notes
1 parent 2de9dd1 commit d2d59f1

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

UPGRADE-3.2.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ TwigBridge
134134
----------
135135

136136
* Deprecated the possibility to inject the Form Twig Renderer into the form
137-
extension. Inject it into the `TwigRendererEngine` instead.
137+
extension. Inject the Twig Environment into the `TwigRendererEngine` and load
138+
the Twig Renderer using the Twig FactoryRuntimeLoader instead.
139+
140+
* Deprecated the `TwigRendererEngineInterface` interface, will be removed in 4.0.
138141

139142
Validator
140143
---------

UPGRADE-4.0.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ TwigBridge
187187
----------
188188

189189
* The possibility to inject the Form Twig Renderer into the form extension
190-
has been removed. Inject it into the `TwigRendererEngine` instead.
190+
has been removed. Inject the Twig Environment into the `TwigRendererEngine`
191+
and load the Twig Renderer using the Twig FactoryRuntimeLoader instead.
192+
193+
* Removed the `TwigRendererEngineInterface` interface.
191194

192195
Validator
193196
---------

src/Symfony/Bridge/Twig/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ CHANGELOG
55
-----
66

77
* added `AppVariable::getToken()`
8-
* Deprecated the possibility to inject the Form Twig Renderer into the form
9-
extension. Inject it on TwigRendererEngine instead.
8+
* Deprecated the possibility to inject the Form Twig Renderer into the form extension.
9+
Inject the Twig Environment into the `TwigRendererEngine` and load the Twig Renderer
10+
using the Twig FactoryRuntimeLoader instead.
11+
* Deprecated the `TwigRendererEngineInterface` interface.
1012

1113
2.7.0
1214
-----

0 commit comments

Comments
 (0)
0