Skip to content

Commit fb8e497

Browse files
Merge branch '2.5' of github.com:sulu/sulu-docs into 2.6
2 parents c40a515 + b85fa94 commit fb8e497

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed

upgrades/upgrade-2.x.rst

+41-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,51 @@ Upgrading Sulu 2.x
33

44
This upgrade guide describes how to upgrade a Sulu 2.x project to any newer version below 3.0. In a majority of cases,
55
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:
744

845
1. Update the sulu/sulu package
946
-------------------------------
1047

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.
1249

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
1451
command in the root folder of your project:
1552

1653
.. code-block:: bash
@@ -68,7 +105,7 @@ To simplify this step, Sulu provides a command to update the JavaScript build in
68105
69106
.. note::
70107

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
72109
JavaScript build in the project without using the ``sulu:admin:update-build`` command.
73110

74111
.. _Composer documentation: https://getcomposer.org/doc/articles/versions.md#writing-version-constraints

0 commit comments

Comments
 (0)