Skip to content

Commit a8a3571

Browse files
committed
feat(developer): drop php 8.0
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
1 parent 2929777 commit a8a3571

2 files changed

Lines changed: 64 additions & 0 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ These sub pages will cover the most important changes in Nextcloud, as well as s
1111
.. toctree::
1212
:maxdepth: 1
1313

14+
upgrade_to_30.rst
1415
upgrade_to_29.rst
1516
upgrade_to_28.rst
1617
upgrade_to_27.rst
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
=======================
2+
Upgrade to Nextcloud 30
3+
=======================
4+
5+
General
6+
-------
7+
8+
Front-end changes
9+
-----------------
10+
11+
Added APIs
12+
^^^^^^^^^^
13+
14+
Changed APIs
15+
^^^^^^^^^^^^
16+
17+
Removed APIs
18+
^^^^^^^^^^^^
19+
20+
Removed globals
21+
^^^^^^^^^^^^^^^
22+
23+
Back-end changes
24+
----------------
25+
26+
Support for PHP 8.0 removed
27+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
28+
29+
In this release support for PHP 8.0 was removed. Follow the steps below to make your app compatible.
30+
31+
1. If ``appinfo/info.xml`` has a dependency specification for PHP, increase the ``min-version`` to 8.1.
32+
33+
.. code-block:: xml
34+
35+
<dependencies>
36+
<php min-version="8.1" max-version="8.3" />
37+
<nextcloud min-version="27" max-version="30" />
38+
</dependencies>
39+
40+
41+
2. If your app has a ``composer.json`` and the file contains the PHP restrictions from ``info.xml``, adjust it as well.
42+
43+
.. code-block:: json
44+
45+
{
46+
"require": {
47+
"php": ">=8.1 <=8.3"
48+
}
49+
}
50+
51+
3. If you have :ref:`continuous integration <app-ci>` set up, remove PHP 8.0 from the matrices of tests and linters.
52+
53+
Added APIs
54+
^^^^^^^^^^
55+
56+
Changed APIs
57+
^^^^^^^^^^^^
58+
59+
Removed APIs
60+
^^^^^^^^^^^^
61+
62+
Removed events
63+
^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)