Skip to content

Commit 52d5bc6

Browse files
committed
feat: Add the newest batch deprecations and removals
See: - nextcloud/server#60955 - nextcloud/server#60954 - nextcloud/server#60953 Signed-off-by: Carl Schwan <carlschwan@kde.org>
1 parent 546fa26 commit 52d5bc6

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

developer_manual/release_notes/critical_changes.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,17 @@ Removed back-end APIs
7373
- Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl``
7474
- Instead of ``\OC_Util::checkAdminUser`` use ``IGroupManager::class::isAdmin``
7575

76+
- All these interfaces were deprecated since Nextcloud 23 and were removed without replacement:
77+
- ``\OCP\Remote\ICredentials``
78+
- ``\OCP\Remote\IInstance``
79+
- ``\OCP\Remote\IInstanceFactory``
80+
- ``\OCP\Remote\IUser``
81+
- ``\OCP\Remote\API\IUserApi``
82+
- ``\OCP\Remote\API\ICapabilitiesApi``
83+
- ``\OCP\Remote\API\IApiFactory``
84+
- ``\OCP\Remote\API\IApiCollection``
85+
86+
- All the deprecated methods of ``\OCP\Calendar\Resource\IManager`` and ``\OCP\Calendar\Room\IManager`` were deprecated since Nextcloud 24 and were removed without replacement.
7687

7788
Unified sharing
7889
---------------

developer_manual/release_notes/deprecations.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ New deprecations
2525
- ``\OCP\Util::linkToRemove`` is now deprecated and you need to use ``\OCP\IUrlGenerator::linkToRemote`` instead.
2626
- ``\OCP\Util::isPublicLinkPasswordRequired`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkEnforcePassword`` instead.
2727
- ``\OCP\Util::isDefaultExpireDateEnforced`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced`` instead.
28+
- ``\OCP\Broadcast\Events\\IBroadcastEvent`` is now deprecated as it is unused.
2829

2930
Older deprecations
3031
------------------

0 commit comments

Comments
 (0)