Skip to content

Commit 22c0940

Browse files
acrobatdbu
authored andcommitted
Add changelog entries
1 parent 4169a53 commit 22c0940

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Changelog
22
=========
33

4+
2.3.0
5+
-----
6+
7+
* Dropped support for PHP 7.1 and Symfony 3.4 and 4.3.
8+
* Added support for Symfony 5.
9+
* Deprecated passing a route object (or anything else that is not a string) as
10+
the `$name` parameter in the `generate` method of the ChainRouter and the
11+
DynamicRouter. Symfony 5 enforces the `$name` parameter to be a string with
12+
static type declaration.
13+
The future proof way to generate a route from an object is to use the route
14+
name `RouteObjectInterface::OBJECT_BASED_ROUTE_NAME` (`cmf_routing_object`)
15+
and pass the route object in the parameters with key
16+
`RouteObjectInterface::ROUTE_OBJECT` (`_route_object`).
17+
* The VersatileGeneratorInterface is deprecated as it was used to avoid errors
18+
with routers not supporting objects in `$name`.
19+
20+
2.2.0
21+
-----
22+
23+
* Avoid Symfony 4.3 event dispatcher deprecation warnings.
24+
425
2.1.1
526
-----
627

@@ -36,7 +57,7 @@ Released.
3657
---------
3758

3859
* **2016-11-30**: Changed file structure to have all php code in src/
39-
60+
4061
1.4.0
4162
-----
4263

0 commit comments

Comments
 (0)