Skip to content

Commit 203dce8

Browse files
committed
Improve CHANGELOGs and UPGRADEs
1 parent 3f7c70f commit 203dce8

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

UPGRADE-4.3.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ Security
148148
TwigBridge
149149
==========
150150

151-
* Passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
152-
is deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead.
151+
* The `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been deprecated. Pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead.
153152

154153
Workflow
155154
--------

UPGRADE-5.0.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,7 @@ TwigBundle
368368
TwigBridge
369369
----------
370370

371-
* Passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
372-
now throws a `\TypeError`, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead.
373-
* Removed the second constructor argument of `HttpFoundationExtension`.
371+
* The `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been removed. Pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead.
374372

375373
Validator
376374
--------

src/Symfony/Bridge/Twig/CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ CHANGELOG
66

77
* added the `form_parent()` function that allows to reliably retrieve the parent form in Twig templates
88
* added the `workflow_transition_blockers()` function
9-
* passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
10-
is deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead
9+
* the `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead
1110

1211
4.2.0
1312
-----

0 commit comments

Comments
 (0)