added changelog entries
This commit is contained in:
parent
1997e2e978
commit
6703fb59d3
@ -5,6 +5,8 @@ CHANGELOG
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
* The `app` global variable is now injected even when using the twig service directly.
|
* The `app` global variable is now injected even when using the twig service directly.
|
||||||
|
* Added an optional parameter to the `path` and `url` function which allows to generate
|
||||||
|
relative paths (e.g. "../parent-file") and scheme-relative URLs (e.g. "//example.com/dir/file").
|
||||||
|
|
||||||
2.1.0
|
2.1.0
|
||||||
-----
|
-----
|
||||||
|
@ -79,6 +79,12 @@ CHANGELOG
|
|||||||
pass the requirements (otherwise it would break your link anyway).
|
pass the requirements (otherwise it would break your link anyway).
|
||||||
* There is no restriction on the route name anymore. So non-alphanumeric characters
|
* There is no restriction on the route name anymore. So non-alphanumeric characters
|
||||||
are now also allowed.
|
are now also allowed.
|
||||||
|
* Added possibility to generate relative paths and network paths in the UrlGenerator, e.g.
|
||||||
|
"../parent-file" and "//example.com/dir/file". The third parameter in
|
||||||
|
`UrlGeneratorInterface::generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)`
|
||||||
|
now accepts more values and you should use the constants defined in `UrlGeneratorInterface` for
|
||||||
|
claritiy. The old method calls with a Boolean parameter will continue to work because they
|
||||||
|
equal the signature using the constants.
|
||||||
|
|
||||||
2.1.0
|
2.1.0
|
||||||
-----
|
-----
|
||||||
|
Reference in New Issue
Block a user