Merge pull request #12048 from nextcloud/feat/document-st3inys-changes

Document my changes to 30 for developers
This commit is contained in:
Joas Schilling
2024-07-22 09:51:41 +02:00
committed by GitHub

View File

@@ -5,6 +5,19 @@ Upgrade to Nextcloud 30
General
-------
A new dependency type ``backend`` was added to info.xml.
If your app requires or makes use of the CalDAV backend in server, please add the backend
``caldav`` to the dependencies of your app.
.. code-block:: xml
<dependencies>
<backend>caldav</backend>
</dependencies>
If no app is requiring the CalDAV backend, the CalDAV section in the admin settings will be hidden.
Currently, there is no other effect but that might change in the future.
Capabilities
------------
@@ -108,6 +121,11 @@ Added APIs
- ``OCP\Files\IFilenameValidator`` was added to allow storage independent filename validation.
- ``OCP\Files\Storage\IStorage::setOwner()`` was added to allow setting the owner of a storage so it can be handled independently from the current session user. This is especially useful for storages that have a shared ownership like groupfolders, external storages where the storage owner needs to be set to the user that is initializing the storage through their personal mountpoint.
- ``ShareAPIController::sendShareEmail()`` was added and is accessible via ocs ``/api/v1/shares/{shareId}/send-email``. See :ref:`send-email<Send email>` documentation.
- ``OCP\Calendar\Room\IManager::update()`` was added to update all rooms from all backends right now.
- ``OCP\Calendar\Resource\IManager::update()`` was added to update all resources from all backends right now.
- ``OCP\App\IAppManager::BACKEND_CALDAV`` was added to represent the caldav backend dependency for ``isBackendRequired()``.
- ``OCP\App\IAppManager::isBackendRequired()`` was added to check if at least one app requires a specific backend (currently only ``caldav``).
- ``OCP\Accounts\IAccountManager::PROPERTY_BIRTHDATE`` was added to allow users to configure their date of birth in their profiles.
Changed APIs
^^^^^^^^^^^^