3.0.0
版本发布时间: 2022-02-11 23:00:07
symfony-cmf/Routing最新发布版本:3.0.3(2024-04-07 16:09:30)
- [BC Break] Removed deprecated VersatileRouterInterface::supports, as only string route names are allowed since Symfony 6.
- [BC Break] As with Symfony itself, the route name now must be a
string
. As noted in the changes for CMF Routing 2.3, to generate a route from an object is to useRouteObjectInterface::OBJECT_BASED_ROUTE_NAME
(cmf_routing_object
) as route name and pass the route object in the parameters with keyRouteObjectInterface::ROUTE_OBJECT
(_route_object
). - [BC Break] Added static type declarations to interfaces and classes.
- Revoked the deprecation on Router::match because Symfony keeps offering the match without request object.
- Support Symfony 6, dropped support for older Symfony versions.