From c353c60b83100325908f9547c85962d6259c40a7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 18 Jul 2024 11:34:14 +0200 Subject: [PATCH 1/2] docs(developer): Document database deprecations due to upcoming doctrine update Signed-off-by: Joas Schilling --- .../app_upgrade_guide/upgrade_to_30.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst index b9b660db1..683fc3a43 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst @@ -139,6 +139,16 @@ Deprecated APIs - Using the ``@StrictCookieRequired`` annotation is deprecated and the ``#[OCP\AppFramework\Http\Attribute\StrictCookiesRequired]`` attribute should be used instead. - Using the ``@NoCSRFRequired`` annotation is deprecated and the ``#[OCP\AppFramework\Http\Attribute\NoCSRFRequired]`` attribute should be used instead. - Using the ``OCP\Group\Backend\ICreateGroupBackend`` interface is now deprecated and the ``OCP\Group\Backend\ICreateNamedGroupBackend`` interface should be used instead. +- Calling ``OCP\DB\QueryBuilder\IExpressionBuilder::andX()`` without arguments is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IExpressionBuilder::orX()`` without arguments is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::delete()`` with ``$alias`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::getQueryPart()`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::getQueryParts()`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::getState()`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::resetQueryPart()`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. Create a new query builder object instead. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::resetQueryParts()`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. Create a new query builder object instead. +- Calling ``OCP\DB\QueryBuilder\IQueryBuilder::update()`` with ``$alias`` is deprecated and will throw an exception in a future version as the underlying library is removing the functionality. +- Calling ``OCP\IDBConnection::getDatabasePlatform()`` is deprecated and will throw an exception in a future version as the underlying library is renaming and removing platforms which breaks the backwards-compatibility. Use ``getDatabaseProvider()`` instead. Removed APIs ^^^^^^^^^^^^ From 3c0222564f6127b20ed9160f131bcc57d8428e4d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 19 Jul 2024 16:43:23 +0200 Subject: [PATCH 2/2] feat(admin): List more supported Oracle versions Signed-off-by: Joas Schilling --- admin_manual/installation/system_requirements.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin_manual/installation/system_requirements.rst b/admin_manual/installation/system_requirements.rst index 8ed3a56b3..d9581ded6 100644 --- a/admin_manual/installation/system_requirements.rst +++ b/admin_manual/installation/system_requirements.rst @@ -24,7 +24,8 @@ For best performance, stability and functionality we have documented some recomm | | - CentOS Stream | +------------------+-----------------------------------------------------------------------+ | Database | - MySQL 8.0 / **8.4** or MariaDB 10.6/ **10.11** (recommended) / 11.4 | -| | - Oracle Database 11g (*only as part of an enterprise subscription*) | +| | - Oracle Database 11g, 18, 21, 23 | +| | (*only as part of an enterprise subscription*) | | | - PostgreSQL 12/13/14/15/16 | | | - SQLite (*only recommended for testing and minimal-instances*) | +------------------+-----------------------------------------------------------------------+