You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: upgrades/upgrade-2.x.rst
+41-4
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,51 @@ Upgrading Sulu 2.x
3
3
4
4
This upgrade guide describes how to upgrade a Sulu 2.x project to any newer version below 3.0. In a majority of cases,
5
5
these upgrades should be unproblematic, because backwards compatibility is only broken when it is really necessary to
6
-
fix a bug. The upgrade process consists of the following steps:
6
+
fix a bug.
7
+
8
+
Unrelated to Sulu changes, upgrades sometimes require first updating PHP, Symfony, or other dependencies. The following table
9
+
should show you which versions of Sulu are compatible with which versions of PHP and Symfony. It is
10
+
recommended to avoid big upgrades that tackle Sulu, PHP, and Symfony simultaneously. Instead, upgrade them and release
11
+
the upgrade of your project in small, separate steps rather than one big step. This approach helps to better identify
12
+
the cause of any problems.
13
+
14
+
15
+
.. list-table:: Sulu, Symfony, PHP Version support
16
+
:header-rows: 1
17
+
18
+
* - Sulu Version
19
+
- supported PHP Versions
20
+
- supported Symfony Versions
21
+
* - 2.0
22
+
- 7.2 - 7.4
23
+
- 4.3 - 4.4
24
+
* - 2.1
25
+
- 7.2 - 8.0
26
+
- 4.3 - 5.4
27
+
* - 2.2
28
+
- 7.2 - 8.1
29
+
- 4.3 - 5.4
30
+
* - 2.3
31
+
- 7.2 - 8.1
32
+
- 4.4 - 5.4
33
+
* - 2.4
34
+
- 7.2 - 8.3
35
+
- 4.4 - 5.4
36
+
* - 2.5
37
+
- 8.0 - 8.4
38
+
- 5.4 - 6.4
39
+
* - 2.6
40
+
- 8.2 - 8.4
41
+
- 5.4 - 7.4
42
+
43
+
The upgrade process of Sulu consists of the following steps:
7
44
8
45
1. Update the sulu/sulu package
9
46
-------------------------------
10
47
11
-
The ``sulu/sulu`` package implements the functionality of the Sulu content management system. To update this package, you need to update the version constraint for the package in the ``composer.json`` of your project.
48
+
The ``sulu/sulu`` package implements the functionality of the Sulu content management system. To update this package, you need to update the version constraint for the package in the ``composer.json`` of your project.
12
49
13
-
To do this, you can replace the ``~x.x.x`` with the a version constraint like ``~2.2.7`` and execute the following
50
+
To do this, you can replace the ``~x.x.x`` with the a version constraint like ``~2.5.22`` and execute the following
14
51
command in the root folder of your project:
15
52
16
53
.. code-block:: bash
@@ -68,7 +105,7 @@ To simplify this step, Sulu provides a command to update the JavaScript build in
68
105
69
106
.. note::
70
107
71
-
Have a look at the :doc:`../cookbook/build-admin-frontend` documentation if you want to update the
108
+
Have a look at the :doc:`../cookbook/build-admin-frontend` documentation if you want to update the
72
109
JavaScript build in the project without using the ``sulu:admin:update-build`` command.
0 commit comments