Skip to content

Releases: symfony-cmf/Routing

3.0.3

07 Apr 08:09
@dbu dbu
3.0.3
Compare
Choose a tag to compare
  • Fix regression: Any kind of iterable can be used with the ContentAwareGenerator

3.0.2

17 Feb 16:58
@dbu dbu
3.0.2
bec8b60
Compare
Choose a tag to compare
  • Allow installation with Symfony 7.

3.0.1

04 Jul 08:59
@dbu dbu
3.0.1
Compare
Choose a tag to compare
  • Bugfix: Fix handling non-array return from route provider (#279)

3.0.0

11 Feb 15:00
@dbu dbu
3.0.0
d1fc412
Compare
Choose a tag to compare
  • [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 use
    RouteObjectInterface::OBJECT_BASED_ROUTE_NAME (cmf_routing_object) as
    route name and pass the route object in the parameters with key
    RouteObjectInterface::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.

2.3.4

08 Nov 16:33
@dbu dbu
2.3.4
Compare
Choose a tag to compare
  • Allow installation with psr/log 2 and 3

2.3.3

06 Oct 10:16
@dbu dbu
2.3.3
Compare
Choose a tag to compare

Allow installation with PHP 8.
(Note that many dependencies do not yet support PHP 8, this release is mainly useful to test PHP 8 support.)

2.3.2

27 May 08:28
@dbu dbu
2.3.2
Compare
Choose a tag to compare
  • ProviderBasedGenerator no longer passes the route object in the parameters to the Symfony generator, to avoid bogus query strings e.g. from doctrine proxy objects.

2.3.1

04 May 14:16
@dbu dbu
2.3.1
ab47aab
Compare
Choose a tag to compare
  • ProviderBasedGenerator now also supports the RouteObjectInterface::OBJECT_BASED_ROUTE_NAME
    and RouteObjectInterface::ROUTE_OBJECT.

2.3.0

28 Apr 13:12
@dbu dbu
4f21849
Compare
Choose a tag to compare
  • Dropped support for PHP 7.1 and Symfony 3.4 and 4.3.
  • Added support for Symfony 5.
  • Deprecated passing a route object (or anything else that is not a string) as
    the $name parameter in the generate method of the ChainRouter and the
    DynamicRouter. Symfony 5 enforces the $name parameter to be a string with
    static type declaration.
    The future proof way to generate a route from an object is to use the route
    name RouteObjectInterface::OBJECT_BASED_ROUTE_NAME (cmf_routing_object)
    and pass the route object in the parameters with key
    RouteObjectInterface::ROUTE_OBJECT (_route_object).
  • The VersatileGeneratorInterface::supports method is deprecated as it was used
    to avoid errors with routers not supporting objects in $name.

2.2.0

19 Mar 10:07
@dbu dbu
Compare
Choose a tag to compare

avoid symfony 4.3 event dispatcher deprecation warnings