Skip to content

Commit

Permalink
[Routing][FrameworkBundle] Deprecated the apache dumper
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal authored and fabpot committed Jan 13, 2014
1 parent 147c82b commit 6258cfa
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
6 changes: 6 additions & 0 deletions UPGRADE-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/`
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
/**
* 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
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Routing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-----

Expand Down
4 changes: 4 additions & 0 deletions src/Symfony/Component/Routing/Matcher/ApacheUrlMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
/**
* 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>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
/**
* 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>
*/
Expand Down

0 comments on commit 6258cfa

Please sign in to comment.