Skip to content

Commit 6258cfa

Browse files
jakzalfabpot
authored andcommitted
[Routing][FrameworkBundle] Deprecated the apache dumper
1 parent 147c82b commit 6258cfa

File tree

6 files changed

+27
-1
lines changed

6 files changed

+27
-1
lines changed

UPGRADE-3.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ UPGRADE FROM 2.x to 3.0
271271
<?php echo $view['form']->end($form) ?>
272272
```
273273

274+
* The `RouterApacheDumperCommand` was removed.
275+
274276
### HttpKernel
275277

276278
* The `Symfony\Component\HttpKernel\Log\LoggerInterface` has been removed in
@@ -381,6 +383,10 @@ UPGRADE FROM 2.x to 3.0
381383
$route->setSchemes('https');
382384
```
383385

386+
* The `ApacheMatcherDumper` and `ApacheUrlMatcher` were removed since
387+
the performance gains were minimal and it's hard to replicate the behaviour
388+
of PHP implementation.
389+
384390
### Security
385391

386392
* The `Resources/` directory was moved to `Core/Resources/`

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ CHANGELOG
44
2.5.0
55
-----
66

7-
* Added `yaml:lint` command
7+
* Added `yaml:lint` command
8+
* Deprecated the `RouterApacheDumperCommand` which will be removed in Symfony 3.0.
89

910
2.4.0
1011
-----

src/Symfony/Bundle/FrameworkBundle/Command/RouterApacheDumperCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
/**
2222
* RouterApacheDumperCommand.
2323
*
24+
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
25+
* The performance gains are minimal and it's very hard to replicate
26+
* the behavior of PHP implementation.
27+
*
2428
* @author Fabien Potencier <fabien@symfony.com>
2529
*/
2630
class RouterApacheDumperCommand extends ContainerAwareCommand

src/Symfony/Component/Routing/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
CHANGELOG
22
=========
33

4+
2.5.0
5+
-----
6+
7+
* [DEPRECATION] The `ApacheMatcherDumper` and `ApacheUrlMatcher` were deprecated and
8+
will be removed in Symfony 3.0, since the performance gains were minimal and
9+
it's hard to replicate the behaviour of PHP implementation.
10+
411
2.3.0
512
-----
613

src/Symfony/Component/Routing/Matcher/ApacheUrlMatcher.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
/**
1717
* ApacheUrlMatcher matches URL based on Apache mod_rewrite matching (see ApacheMatcherDumper).
1818
*
19+
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
20+
* The performance gains are minimal and it's very hard to replicate
21+
* the behavior of PHP implementation.
22+
*
1923
* @author Fabien Potencier <fabien@symfony.com>
2024
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
2125
*/

src/Symfony/Component/Routing/Matcher/Dumper/ApacheMatcherDumper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
/**
1717
* Dumps a set of Apache mod_rewrite rules.
1818
*
19+
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
20+
* The performance gains are minimal and it's very hard to replicate
21+
* the behavior of PHP implementation.
22+
*
1923
* @author Fabien Potencier <fabien@symfony.com>
2024
* @author Kris Wallsmith <kris@symfony.com>
2125
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy