[Routing][FrameworkBundle] Deprecated the apache dumper

This commit is contained in:
Jakub Zalas 2014-01-08 22:03:56 +00:00 committed by Fabien Potencier
parent 147c82b39d
commit 6258cfaa03
6 changed files with 27 additions and 1 deletions

View File

@ -271,6 +271,8 @@ UPGRADE FROM 2.x to 3.0
<?php echo $view['form']->end($form) ?>
```
* The `RouterApacheDumperCommand` was removed.
### HttpKernel
* The `Symfony\Component\HttpKernel\Log\LoggerInterface` has been removed in
@ -381,6 +383,10 @@ UPGRADE FROM 2.x to 3.0
$route->setSchemes('https');
```
* The `ApacheMatcherDumper` and `ApacheUrlMatcher` were removed since
the performance gains were minimal and it's hard to replicate the behaviour
of PHP implementation.
### Security
* The `Resources/` directory was moved to `Core/Resources/`

View File

@ -4,7 +4,8 @@ CHANGELOG
2.5.0
-----
* Added `yaml:lint` command
* Added `yaml:lint` command
* Deprecated the `RouterApacheDumperCommand` which will be removed in Symfony 3.0.
2.4.0
-----

View File

@ -21,6 +21,10 @@ use Symfony\Component\Routing\RouterInterface;
/**
* RouterApacheDumperCommand.
*
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
* The performance gains are minimal and it's very hard to replicate
* the behavior of PHP implementation.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class RouterApacheDumperCommand extends ContainerAwareCommand

View File

@ -1,6 +1,13 @@
CHANGELOG
=========
2.5.0
-----
* [DEPRECATION] The `ApacheMatcherDumper` and `ApacheUrlMatcher` were deprecated and
will be removed in Symfony 3.0, since the performance gains were minimal and
it's hard to replicate the behaviour of PHP implementation.
2.3.0
-----

View File

@ -16,6 +16,10 @@ use Symfony\Component\Routing\Exception\MethodNotAllowedException;
/**
* ApacheUrlMatcher matches URL based on Apache mod_rewrite matching (see ApacheMatcherDumper).
*
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
* The performance gains are minimal and it's very hard to replicate
* the behavior of PHP implementation.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
*/

View File

@ -16,6 +16,10 @@ use Symfony\Component\Routing\Route;
/**
* Dumps a set of Apache mod_rewrite rules.
*
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
* The performance gains are minimal and it's very hard to replicate
* the behavior of PHP implementation.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Kris Wallsmith <kris@symfony.com>
*/