From 26b81ed28c3ccff92f0483c671aede5a24753f10 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 30 Oct 2025 23:04:10 +0100 Subject: [PATCH 1/2] chore: document removal of `OC.get` and `OC.set` Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_33.rst | 3 +++ 1 file changed, 3 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 54f397edd..7c3ae4e0a 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,9 @@ 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. +- ``OC.set`` and ``OC.get`` were removed. Both are deprecated since Nextcloud 19. + For ``get``, if really needed, use `lodash get `_. + And for ``set``, use `lodash set `_. - 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. From a9e580f86906dcfb376aa6d8351eb7cfe883260d Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 30 Oct 2025 23:41:32 +0100 Subject: [PATCH 2/2] chore: document removal of `OC.redirect` and `OC.reload` Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_33.rst | 3 +++ 1 file changed, 3 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 7c3ae4e0a..af8ffd5a3 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 @@ -29,6 +29,9 @@ Removed APIs - ``OC.set`` and ``OC.get`` were removed. Both are deprecated since Nextcloud 19. For ``get``, if really needed, use `lodash get `_. And for ``set``, use `lodash set `_. +- ``OC.redirect`` and ``OC.reload`` were removed. Both were deprecated since Nextcloud 17. + To replace ``OC.redirect`` directly use ``window.location``. + To replace ``OC.reload`` directly use ``window.location.reload``. - 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.