1
1
.. index ::
2
2
single: Upgrading; Minor Version
3
3
4
- Upgrading a Minor Version (e.g. 4 .0.0 to 4 .1.0)
4
+ Upgrading a Minor Version (e.g. 5 .0.0 to 5 .1.0)
5
5
===============================================
6
6
7
7
If you're upgrading a minor version (where the middle number changes), then
@@ -24,20 +24,20 @@ There are two steps to upgrading a minor version:
24
24
The ``composer.json `` file is configured to allow Symfony packages to be
25
25
upgraded to patch versions. But to upgrade to a new minor version, you will
26
26
probably need to update the version constraint next to each library starting
27
- ``symfony/ ``. Suppose you are upgrading from Symfony 4 .3 to 4 .4:
27
+ ``symfony/ ``. Suppose you are upgrading from Symfony 5 .3 to 5 .4:
28
28
29
29
.. code-block :: diff
30
30
31
31
{
32
32
"...": "...",
33
33
34
34
"require": {
35
- - "symfony/cache": "4 .3.*",
36
- + "symfony/cache": "4 .4.*",
37
- - "symfony/config": "4 .3.*",
38
- + "symfony/config": "4 .4.*",
39
- - "symfony/console": "4 .3.*",
40
- + "symfony/console": "4 .4.*",
35
+ - "symfony/cache": "5 .3.*",
36
+ + "symfony/cache": "5 .4.*",
37
+ - "symfony/config": "5 .3.*",
38
+ + "symfony/config": "5 .4.*",
39
+ - "symfony/console": "5 .3.*",
40
+ + "symfony/console": "5 .4.*",
41
41
"...": "...",
42
42
43
43
"...": "A few libraries starting with
@@ -57,8 +57,8 @@ Your ``composer.json`` file should also have an ``extra`` block that you will
57
57
"extra": {
58
58
"symfony": {
59
59
"...": "...",
60
- - "require": "4 .3.*"
61
- + "require": "4 .4.*"
60
+ - "require": "5 .3.*"
61
+ + "require": "5 .4.*"
62
62
}
63
63
}
64
64
@@ -82,7 +82,7 @@ to your code to get everything working. Additionally, some features you're
82
82
using might still work, but might now be deprecated. While that's fine,
83
83
if you know about these deprecations, you can start to fix them over time.
84
84
85
- Every version of Symfony comes with an UPGRADE file (e.g. `UPGRADE-4 .4.md `_)
85
+ Every version of Symfony comes with an UPGRADE file (e.g. `UPGRADE-5 .4.md `_)
86
86
included in the Symfony directory that describes these changes. If you follow
87
87
the instructions in the document and update your code accordingly, it should be
88
88
safe to update in the future.
@@ -94,4 +94,4 @@ These documents can also be found in the `Symfony Repository`_.
94
94
.. include :: /setup/_update_recipes.rst.inc
95
95
96
96
.. _`Symfony Repository` : https://github.com/symfony/symfony
97
- .. _`UPGRADE-4 .4.md` : https://github.com/symfony/symfony/blob/4 .4/UPGRADE-4 .4.md
97
+ .. _`UPGRADE-5 .4.md` : https://github.com/symfony/symfony/blob/5 .4/UPGRADE-5 .4.md
0 commit comments