[Routing][FrameworkBundle] Deprecated the apache dumper
This commit is contained in:
parent
147c82b39d
commit
6258cfaa03
|
@ -271,6 +271,8 @@ UPGRADE FROM 2.x to 3.0
|
||||||
<?php echo $view['form']->end($form) ?>
|
<?php echo $view['form']->end($form) ?>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* The `RouterApacheDumperCommand` was removed.
|
||||||
|
|
||||||
### HttpKernel
|
### HttpKernel
|
||||||
|
|
||||||
* The `Symfony\Component\HttpKernel\Log\LoggerInterface` has been removed in
|
* The `Symfony\Component\HttpKernel\Log\LoggerInterface` has been removed in
|
||||||
|
@ -381,6 +383,10 @@ UPGRADE FROM 2.x to 3.0
|
||||||
$route->setSchemes('https');
|
$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
|
### Security
|
||||||
|
|
||||||
* The `Resources/` directory was moved to `Core/Resources/`
|
* The `Resources/` directory was moved to `Core/Resources/`
|
||||||
|
|
|
@ -4,7 +4,8 @@ CHANGELOG
|
||||||
2.5.0
|
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
|
2.4.0
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -21,6 +21,10 @@ use Symfony\Component\Routing\RouterInterface;
|
||||||
/**
|
/**
|
||||||
* RouterApacheDumperCommand.
|
* 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>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*/
|
*/
|
||||||
class RouterApacheDumperCommand extends ContainerAwareCommand
|
class RouterApacheDumperCommand extends ContainerAwareCommand
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
CHANGELOG
|
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
|
2.3.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,10 @@ use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||||
/**
|
/**
|
||||||
* ApacheUrlMatcher matches URL based on Apache mod_rewrite matching (see ApacheMatcherDumper).
|
* 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 Fabien Potencier <fabien@symfony.com>
|
||||||
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
|
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,6 +16,10 @@ use Symfony\Component\Routing\Route;
|
||||||
/**
|
/**
|
||||||
* Dumps a set of Apache mod_rewrite rules.
|
* 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 Fabien Potencier <fabien@symfony.com>
|
||||||
* @author Kris Wallsmith <kris@symfony.com>
|
* @author Kris Wallsmith <kris@symfony.com>
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue