From cee90c6ab1ac732abb8b3530f2ef70f822bfd188 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Mon, 31 Mar 2025 15:53:23 +0200 Subject: [PATCH 1/3] feat(developer_manual): document removed API endpoint /testremote Signed-off-by: Benjamin Gaussorgues --- .../app_upgrade_guide/upgrade_to_31.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst index 95bc950a20a..10224e96d1f 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst @@ -178,3 +178,4 @@ Removed APIs - ``OCP\IServerContainer::getLogger`` was removed, use dependency injection with ``Psr\Log\LoggerInterface`` instead. - The internal class ``OC\AppFramework\Logger`` was removed, it should have been never used by apps. All using apps should migrate to ``Psr\Log\LoggerInterface``. +- Legacy endpoint to test remote share endpoint (``/testremote``) was removed. From 37557dc542002c5a0af98345fe464dd614933431 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Mon, 31 Mar 2025 16:36:09 +0200 Subject: [PATCH 2/3] feat(developer_manual): document Nextcloud DAV pagination Signed-off-by: Benjamin Gaussorgues --- .../app_upgrade_guide/upgrade_to_31.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst index 10224e96d1f..146cfa784c0 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst @@ -154,6 +154,24 @@ Changed APIs - ``DATETIME_TZ`` for fields that will (de)serialized as ``\DateTime`` instances with both the time part set and with timezone information. - ``DATETIME_TZ_IMMUTABLE`` for fields that will (de)serialized as ``\DateTimeImmutable`` instances with both the time part set and with timezone information. +- It's now possible to paginate DAV requests with new headers. + + - First request should contains the following headers: + + - ``X-NC-Paginate: true`` enables the functionnality + - ``X-NC-Paginate-Count: X`` sets the number of results per page (default 100) + + - Server will answer with new headers: + + - ``X-NC-Paginate-Total`` indicates the total number of results. + - ``X-NC-Paginate-Token`` gives a token to access other pages of the same result. + + - Issue new requests with token: + + - ``X-NC-Paginate-Token: xxx`` contains the token as sent by the server + - ``X-NC-Paginate-Count: X`` sets the number of results per page (default 100) + - ``X-NC-Paginate-Offset: Y`` sets the offset (number of ignored results) for the required page (usually "page_number × page_size") + Deprecated APIs ^^^^^^^^^^^^^^^ From 593a1e43a8c7bfdf7376b9ad862cec2d9118ee9e Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Mon, 31 Mar 2025 16:36:49 +0200 Subject: [PATCH 3/3] feat(developer_manual): document deprecated interface ICreateGroupBackend Signed-off-by: Benjamin Gaussorgues --- .../app_upgrade_guide/upgrade_to_30.rst | 1 + 1 file changed, 1 insertion(+) 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 1ccf78eb618..e4964696fb7 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 @@ -280,6 +280,7 @@ Deprecated APIs - Using ``OCP\TextProcessing\SummaryTaskType`` is deprecated and will be removed in the future. Use ``OCP\TaskProcessing`` instead (see :ref:`Task Processing`). Existing ``TextProcessing`` providers will continue to work with the TaskProcessing API until then. - Using ``OCP\TextProcessing\Task`` is deprecated and will be removed in the future. Use ``OCP\TaskProcessing`` instead (see :ref:`Task Processing`). Existing ``TextProcessing`` providers will continue to work with the TaskProcessing API until then. - Using ``OCP\TextProcessing\TopicsTaskType`` is deprecated and will be removed in the future. Use ``OCP\TaskProcessing`` instead (see :ref:`Task Processing`). Existing ``TextProcessing`` providers will continue to work with the TaskProcessing API until then. +- Using ``OCP\Group\Backend\ICreateGroupBackend`` interface is deprecated and will be removed in the future. Use ``OCP\Group\Backend\ICreateNamedGroupBackend`` instead. Removed APIs ^^^^^^^^^^^^