From 3fb02487c1cee95a24d2f0a0472c5b8478f1dc39 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 19 Dec 2025 16:51:28 +0100 Subject: [PATCH] feat: Support PHP 8.5 in Nextcloud 33 Signed-off-by: Joas Schilling --- admin_manual/installation/system_requirements.rst | 1 + admin_manual/release_notes/upgrade_to_33.rst | 1 + .../app_upgrade_guide/upgrade_to_33.rst | 11 ++++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/admin_manual/installation/system_requirements.rst b/admin_manual/installation/system_requirements.rst index 89bbd452a..26a553e95 100644 --- a/admin_manual/installation/system_requirements.rst +++ b/admin_manual/installation/system_requirements.rst @@ -36,6 +36,7 @@ For best performance, stability and functionality we have documented some recomm | PHP Runtime | - 8.2 (*deprecated*) | | | - 8.3 | | | - **8.4** (*recommended*) | +| | - 8.5 | +------------------+-----------------------------------------------------------------------+ See :doc:`source_installation` for minimum PHP-modules and additional software for installing Nextcloud. diff --git a/admin_manual/release_notes/upgrade_to_33.rst b/admin_manual/release_notes/upgrade_to_33.rst index cdc329b64..428c10f4c 100644 --- a/admin_manual/release_notes/upgrade_to_33.rst +++ b/admin_manual/release_notes/upgrade_to_33.rst @@ -5,6 +5,7 @@ Upgrade to Nextcloud 33 System requirements ------------------- +* PHP 8.5 is now supported. * PHP 8.2 is now deprecated but still supported. * PHP 8.1 is no longer supported. * Oracle 11g is no longer supported. diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst index fb9c6f400..d9a607255 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst @@ -48,6 +48,11 @@ Removed APIs Back-end changes ---------------- +Support for PHP 8.5 added +^^^^^^^^^^^^^^^^^^^^^^^^^ + +See below section for option code changes in your app and dependency management + Support for PHP 8.1 removed ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -58,7 +63,7 @@ In this release support for PHP 8.1 was removed. Follow the steps below to make .. code-block:: xml - + @@ -69,11 +74,11 @@ In this release support for PHP 8.1 was removed. Follow the steps below to make { "require": { - "php": ">=8.2 <=8.4" + "php": ">=8.2 <=8.5" } } -3. If you have :ref:`continuous integration ` set up, remove PHP 8.1 from the matrices of tests and linters. +3. If you have :ref:`continuous integration ` set up, remove PHP 8.1 and add PHP 8.5 from the matrices of tests and linters. Default user agent for outgoing requests changed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^