From 3bab527d8f2240ff9c9b19405ec01c2bc8b54f9b Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Mon, 20 Mar 2023 20:51:42 +0200 Subject: [PATCH] Fix links Signed-off-by: Andrey Borysenko --- .../app_upgrade_guide/upgrade_to_26.rst | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_26.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_26.rst index 4ed196de1..c6b111d7d 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_26.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_26.rst @@ -59,7 +59,7 @@ Nextcloud 26 supports PHP8.0 and later. This allows the migration from PHPDoc an Planned removal of PSR-0 class loading ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Nextcloud is still loading classes that follow the long deprecated and replaced :ref:`PSR-0 standard `. Nextcloud 26 is the last version that register a generic PSR-0 class loader. From Nextcloud 27 on apps have to either change class file names to match PSR-4 or ship their own (composer) class loader for PSR-0 files or. (`PR#36434 `_ by `nickvergessen `_) +Nextcloud is still loading classes that follow the long deprecated and replaced :ref:`PSR-0 standard `. Nextcloud 26 is the last version that register a generic PSR-0 class loader. From Nextcloud 27 on apps have to either change class file names to match PSR-4 or ship their own (composer) class loader for PSR-0 files or. (`PR#36434 `_ by `ChristophWurst `_) Dependency Injection Parameters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -79,17 +79,18 @@ Changed APIs * ``protected function setter($name, $args) -> protected function setter(string $name, array $args): void`` * ``protected function getter($name) -> protected function getter(string $name): mixed`` * ``protected function markFieldUpdated($attribute) -> protected function markFieldUpdated(string $attribute): void`` -* Middlewares can be registered globally (see :ref:`global_middlewares`, `PR#36310 `_) +* Middlewares can be registered globally (see :ref:`global_middlewares`, `PR#36310 `_ by `ChristophWurst `_) Removed APIs ^^^^^^^^^^^^ -* ``OCP\BackgroundJob\IJobList::getAll`` method was removed (`PR#36073 `_) -* 3rdparty dependency ``php-ds/php-ds`` was removed (`PR#36198 `_) -* ``OCP\Contacts\IManager::getAddressBooks`` method was removed (`PR#34329 `_) -* ``OCP\Util`` loglevel constants were removed (`PR#34329 `_) -* 3rdparty dependency ``nikic/php-parser`` was removed (`PR#36393 `_) - +* ``OCP\BackgroundJob\IJobList::getAll`` method was removed (`PR#36073 `_ by `come-nc `_) +* 3rdparty dependency ``php-ds/php-ds`` was removed (`PR#36198 `_ by `kesselb `_) +* ``OCP\Contacts\IManager::getAddressBooks`` method was removed (`PR#34329 `_ by `come-nc `_) +* ``OCP\Util`` loglevel constants were removed (`PR#34329 `_ by `come-nc `_) +* 3rdparty dependency ``nikic/php-parser`` was removed (`PR#36393 `_ by `kesselb `_) +* Deprecated ``OCP\AppFramework\Db\Mapper`` was removed. You can easily migrate to ``OCP\AppFramework\Db\QBMapper``, which is doing the same thing using the query builder instead of string based queries. (`PR#34490 `_ by `rullzer `_) +* Deprecated classes of ``OCP\Dashboard`` were removed (`PR#35966 `_ by `juliushaertl `_) Added APIs ^^^^^^^^^^ @@ -102,11 +103,9 @@ Added APIs Deprecated ---------- -* Deprecated ``OCP\AppFramework\Db\Mapper`` was removed. You can easily migrate to ``OCP\AppFramework\Db\QBMapper``, which is doing the same thing using the query builder instead of string based queries. (`PR#34490 `_ by `rullzer `_) * ``OCP\BackgroundJob\IJobList::getJobs`` method was deprecated (`PR#36073 `_) -* Controller action annotation ``@UseSession`` is deprecated. Use new ``UseSession`` attribute instead (`PR#36363 `_) -* Deprecated classes of ``OCP\Dashboard`` were removed (`PR#35966 `_) -* **Notifications jQuery event deprecated**: The ``OCA.Notification.Action`` event of the notifications app is deprecated in favor of a ``notifications:action:executed`` event-bus event with (`PR#728 `_) +* Controller action annotation ``@UseSession`` is deprecated. Use new ``UseSession`` attribute instead (`PR#36363 `_ by `ChristophWurst `_) +* **Notifications jQuery event deprecated**: The ``OCA.Notification.Action`` event of the notifications app is deprecated in favor of a ``notifications:action:executed`` event-bus event with (`PR#728 `_ by `nickvergessen `_) Changes for admins ------------------