Skip to content

Releases: symfony-cmf/Routing

2.3.0

28 Apr 13:12
@dbu dbu
4f21849

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

Choose a tag to compare

avoid symfony 4.3 event dispatcher deprecation warnings

2.1.1

10 Dec 10:43
@dbu dbu
2.1.1

Choose a tag to compare

  • Fix warning about get_class on null in PHP > 7.2

2.1.0

14 Jun 06:43
@dbu dbu
2.1.0
7370dfb

Choose a tag to compare

  • ChainRouter now returns a new RequestContext if none has been set, to be closer in behaviour to the Symfony router.
  • Dropped hhvm support

2.1.0-RC1

01 May 20:49
2.1.0-RC1
fe1e413

Choose a tag to compare

2.1.0-RC1 Pre-release
Pre-release
first release candidate

2.0.3

07 Dec 14:07
@dbu dbu
2.0.3

Choose a tag to compare

Fixed edge case with error reporting in ChainRouter

2.0.2

28 Sep 07:53
@dbu dbu
2.0.2

Choose a tag to compare

  • Fix support for PHP 7.2

2.0.1

09 May 08:19
@dbu dbu

Choose a tag to compare

  • Fix locale matching in candidates

1.4.1

09 May 08:19
@dbu dbu

Choose a tag to compare

  • Fix locale matching in candidates

2.0.0

24 Feb 17:03
@dbu dbu
2.0.0

Choose a tag to compare

2.0.0