File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
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
+
4
25
2.1.1
5
26
-----
6
27
@@ -36,7 +57,7 @@ Released.
36
57
---------
37
58
38
59
* ** 2016-11-30** : Changed file structure to have all php code in src/
39
-
60
+
40
61
1.4.0
41
62
-----
42
63
You can’t perform that action at this time.
0 commit comments