/
@home.texy
30 lines (21 loc) 路 964 Bytes
/
@home.texy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Upgrade Guide
*************
- [from Nette 3.1 to 3.2 |to-3-2]
- [from Nette 3.0 to 3.1 |to-3-1]
- [from Nette 2.4 to 3.0 |to-3-0]
- [from Nette 2.3 to 2.4 |to-2-4]
- [from Nette 2.2 to 2.3 |to-2-3]
- [from Nette 2.1 to 2.2 |to-2-2]
- [from Nette 2.0 to 2.1 |to-2-1]
Always update gradually, so not from Nette 2.4 to 3.1, but first to 3.0 and then to 3.1.
Before testing we recommend to disable reporting `E_USER_DEPRECATED` and allow it when everything will work:
```php
$configurator->enableTracy();
error_reporting(~E_USER_DEPRECATED); // note ~ before E_USER_DEPRECATED
```
Upgrade to the Latest Versions
------------------------------
The easiest way to increase the package versions in the `composer.json` file to the latest one is to use the script [composer-frontline.php|https://gist.github.com/dg/734bebf55cf28ad6a5de1156d3099bff]. Run it in the directory where the `composer.json` file is located, using:
```shell
php composer-frontline.php
```