Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76fefe3

Browse filesBrowse files
committed
updated CHANGELOG and UPGRADE files
1 parent f7da1f0 commit 76fefe3
Copy full SHA for 76fefe3

File tree

6 files changed

+29
-10
lines changed
Filter options

6 files changed

+29
-10
lines changed

‎UPGRADE-2.2.md

Copy file name to clipboardExpand all lines: UPGRADE-2.2.md
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
After:
1515

1616
```
17-
{% render url('post_list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error' } %}
17+
{% render controller('BlogBundle:Post:list', { 'limit': 2 }), { 'alt': 'BlogBundle:Post:error' } %}
1818
```
1919

20-
where `post_list` is the route name for the `BlogBundle:Post:list` controller.
21-
2220
### HttpFoundation
2321

2422
* The MongoDbSessionHandler default field names and timestamp type have changed.
@@ -409,7 +407,12 @@
409407
<?php echo $view['actions']->render($view['router']->generate('post_list', array('limit' => 2)), array('alt' => 'BlogBundle:Post:error')) ?>
410408
```
411409

412-
where `post_list` is the route name for the `BlogBundle:Post:list` controller.
410+
where `post_list` is the route name for the `BlogBundle:Post:list`
411+
controller, or if you don't want to create a route:
412+
413+
```
414+
<?php echo $view['actions']->render(new ControllerReference('BlogBundle:Post:list', array('limit' => 2)), array('alt' => 'BlogBundle:Post:error')) ?>
415+
```
413416

414417
#### Configuration
415418

‎src/Symfony/Bridge/Twig/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/CHANGELOG.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ CHANGELOG
44
2.2.0
55
-----
66

7-
* [BC BREAK] restricted the `render` tag to only accept URIs as reference (the signature changed)
8-
* added a render function to render a request
7+
* added a `controller` function to help generating controller references
8+
* added a `render_esi` and a `render_hinclude` function
9+
* [BC BREAK] restricted the `render` tag to only accept URIs or ControllerReference instances (the signature changed)
10+
* added a `render` function to render a request
911
* The `app` global variable is now injected even when using the twig service directly.
1012
* Added an optional parameter to the `path` and `url` function which allows to generate
1113
relative paths (e.g. "../parent-file") and scheme-relative URLs (e.g. "//example.com/dir/file").

‎src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
+9-4Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ CHANGELOG
44
2.2.0
55
-----
66

7-
* [BC BREAK] restricted the `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` method to only accept URIs as reference
7+
* added a new `uri_signer` service to help sign URIs
8+
* deprecated `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` and `Symfony\Bundle\FrameworkBundle\HttpKernel::forward()`
9+
* deprecated the `Symfony\Bundle\FrameworkBundle\HttpKernel` class in favor of `Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel`
10+
* added support for adding new HTTP content rendering strategies (like ESI and Hinclude)
11+
in the DIC via the `kernel.content_renderer_strategy` tag
12+
* [BC BREAK] restricted the `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` method to only accept URIs or ControllerReference instances
813
* `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` method signature changed and the first argument
9-
must now be a URI (the `generateInternalUri()` method was removed)
10-
* The internal routes have been removed (`Resources/config/routing/internal.xml`)
11-
* The `render` method of the `actions` templating helper signature and arguments changed:
14+
must now be a URI or a ControllerReference instance (the `generateInternalUri()` method was removed)
15+
* The internal routes (`Resources/config/routing/internal.xml`) have been replaced with a new proxy route (`Resources/config/routing/proxy.xml`)
16+
* The `render` method of the `actions` templating helper signature and arguments changed
1217
* replaced Symfony\Bundle\FrameworkBundle\Controller\TraceableControllerResolver by Symfony\Component\HttpKernel\Controller\TraceableControllerResolver
1318
* replaced Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher by Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher
1419
* added Client::enableProfiler()

‎src/Symfony/Component/HttpFoundation/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ CHANGELOG
44
2.2.0
55
-----
66

7+
* added Request::getTrustedProxies()
8+
* deprecated Request::isProxyTrusted()
79
* added a IpUtils class to check if an IP belongs to a CIDR
810
* added Request::getRealMethod() to get the "real" HTTP method (getMethod() returns the "intended" HTTP method)
911
* disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to enable it)

‎src/Symfony/Component/HttpFoundation/Request.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Request.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ public static function setTrustedHeaderName($key, $value)
527527
* false otherwise.
528528
*
529529
* @return boolean
530+
*
531+
* @deprecated Deprecated since version 2.2, to be removed in 2.3. Use getTrustedProxies instead.
530532
*/
531533
public static function isProxyTrusted()
532534
{

‎src/Symfony/Component/HttpKernel/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ CHANGELOG
44
2.2.0
55
-----
66

7+
* added Symfony\Component\HttpKernel\UriSigner
8+
* added Symfony\Component\HttpKernel\HttpContentRenderer and rendering strategies (in Symfony\Component\HttpKernel\RenderingStrategy)
9+
* added Symfony\Component\HttpKernel\EventListener\RouterProxyListener
10+
* added Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel
11+
* added ControllerReference to create reference of Controllers (used in the HttpContentRenderer class)
712
* [BC BREAK] renamed TimeDataCollector::getTotalTime() to
813
TimeDataCollector::getDuration()
914
* updated the MemoryDataCollector to include the memory used in the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.