Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions developer_manual/release_notes/critical_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Removed back-end APIs
- ``\OCP\AppFramework\Http\StrictContentSecurityPolicy``
- ``\OCP\AppFramework\Http\StrictEvalContentSecurityPolicy``
- ``\OCP\AppFramework\Http\StrictInlineContentSecurityPolicy``
- Various methods from the legacy ``OC_Util`` static class were removed.
- Instead of ``\OC_Util::encodePath`` use ``\OCP\Util::encodePath``.
- Instead of ``\OC_Util::sanitizeHTML`` use ``\OCP\Util::sanitizeHTML``
- Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl``
- Instead of ``\OC_Util::checkAdminUser`` use ``IGroupManager::class::isAdmin``


Unified sharing
Expand Down
6 changes: 6 additions & 0 deletions developer_manual/release_notes/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ New deprecations

.. todo:: This page needs a section for every new deprecation.

- ``\OCP\Util::setChannel`` is now deprecated and you need to use ``\OCP\ServerVersion::setChannel`` instead.
- ``\OCP\Util::linkToAbsolute`` is now deprecated and you need to use ``\OCP\IUrlGenerator::getAbsoluteUrl`` and ``\OCP\IUrlGenerator::linkTo`` instead.
- ``\OCP\Util::linkToRemove`` is now deprecated and you need to use ``\OCP\IUrlGenerator::linkToRemote`` instead.
- ``\OCP\Util::isPublicLinkPasswordRequired`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkEnforcePassword`` instead.
- ``\OCP\Util::isDefaultExpireDateEnforced`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced`` instead.

Older deprecations
------------------

Expand Down
Loading