Skip to content

Commit e4806c3

Browse files
committed
udpated the CHANGELOG for 2.3
1 parent 189db85 commit e4806c3

File tree

1 file changed

+49
-2
lines changed

1 file changed

+49
-2
lines changed

UPGRADE-2.3.md

+49-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
UPGRADE FROM 2.2 to 2.3
22
=======================
33

4-
* You now have to manually enable the [debug component](http://symfony.com/blog/new-in-symfony-2-3-new-debug-component) in [`web/app_dev.php`](https://github.com/symfony/symfony-standard/blob/2.3/web/app_dev.php)
5-
by adding `Debug::enable();` just after including the boostrap cache.
4+
When upgrading Symfony from 2.2 to 2.3, you need to do the following changes
5+
to the code that came from the Standard Edition:
6+
7+
* The debugging tools are not enabled by default anymore and should be added
8+
to the
9+
[`web/app_dev.php`](https://github.com/symfony/symfony-standard/blob/2.3/web/app_dev.php)
10+
front controller manually, just after including the bootstrap cache:
11+
12+
use Symfony\Component\Debug\Debug;
13+
14+
Debug::enable();
15+
16+
You also need to enable debugging in the
17+
[`app/console`](https://github.com/symfony/symfony-standard/blob/2.3/app/console)
18+
script, after the `$debug` variable is defined:
19+
20+
use Symfony\Component\Debug\Debug;
21+
22+
if ($debug) {
23+
Debug::enable();
24+
}
25+
26+
* The `parameters.yml` file can now be managed by the
27+
`incenteev/composer-parameter-handler` bundle that comes with the 2.3
28+
Standard Edition:
29+
30+
* add `"incenteev/composer-parameter-handler": "~2.0"` to your
31+
`composer.json` file;
32+
33+
* add `/app/config/parameters.yml` to your `.gitignore` file;
34+
35+
* create a
36+
[`app/config/parameters.yml.dist`](https://github.com/symfony/symfony-standard/blob/2.3/app/config/parameters.yml.dist)
37+
file with sensible values for all your parameters.
38+
39+
* It is highly recommended that you switch the minimum stability to `stable`
40+
in your `composer.json` file.
41+
42+
* If you are using Apache, have a look at the new
43+
[`.htaccess`](https://github.com/symfony/symfony-standard/blob/2.3/web/.htaccess)
44+
configuration and change yours accordingly.
45+
46+
* In the
47+
[`app/autoload.php`](https://github.com/symfony/symfony-standard/blob/2.3/app/autoload.php)
48+
file, the section about `intl` should be removed as it is not needed anymore.
49+
50+
You can also have a look at the
51+
[diff](https://github.com/symfony/symfony-standard/compare/v2.2.0%E2%80%A62.3)
52+
between the 2.2 version of the Standard Edition and the 2.3 version.

0 commit comments

Comments
 (0)