From fd818efcd160397b59e093c6867105a937cafc12 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 13 Oct 2025 15:29:05 +0200 Subject: [PATCH 1/2] fix(developer): add missing deprecations to the changelog of stable23 Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_23.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_23.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_23.rst index c80f6277987..1d15ee903e5 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_23.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_23.rst @@ -29,4 +29,12 @@ Updated core libraries ``doctrine/dbal`` ***************** -The Doctrine Database Abstraction Layer (dbal) powers Nextcloud's database connection and query builder. In Nextcloud 23 this dependency was updated from 3.0 to 3.1. As a consequence the ``\OC\DB\QueryBuilder\QueryBuilder::getFirstResult`` method now returns ``0`` instead of ``null`` if ``\OC\DB\QueryBuilder\QueryBuilder::setFirstResult`` wasn't called. \ No newline at end of file +The Doctrine Database Abstraction Layer (dbal) powers Nextcloud's database connection and query builder. In Nextcloud 23 this dependency was updated from 3.0 to 3.1. As a consequence the ``\OC\DB\QueryBuilder\QueryBuilder::getFirstResult`` method now returns ``0`` instead of ``null`` if ``\OC\DB\QueryBuilder\QueryBuilder::setFirstResult`` wasn't called. + +Front-end changes +----------------- + +Deprecated APIs +^^^^^^^^^^^^^^^ + +* The `OCA.Sharing.ExternalLinkActions` API was deprecated in favor of `OCA.Sharing.ExternalShareAction`. From 0d7f0a97e33107fd1cb4746b1355388f546cf800 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 13 Oct 2025 15:29:25 +0200 Subject: [PATCH 2/2] chore: add removal of `OCA.Sharing.ExternalLinkActions` Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_33.rst | 2 ++ 1 file changed, 2 insertions(+) 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 5008203f68f..54f397edd16 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 @@ -26,6 +26,8 @@ Removed APIs - The global ``md5`` implementation is removed. It was deprecated since Nextcloud 20 and not used by Nextcloud anymore. If you still need a ``md5`` implementation you can just use some external package like `crypto-browserify `_. - The ``OC.SystemTags`` api was removed. If you need to get the list of system tags, check `this merge request `_ for how to fetch the tags directly. +- The `OCA.Sharing.ExternalLinkActions` API was deprecated in Nextcloud 23 and is now removed. + It was replaced with `OCA.Sharing.ExternalShareAction` which now have a proper API by using `registerSidebarAction` from `@nextcloud/sharing` instead. Back-end changes ----------------