Merge pull request #12051 from nextcloud/share-api-change

chore: Add notes for `noExpirationDate` flag addition to share API
This commit is contained in:
F. E Noel Nfebe 2024-09-19 10:25:26 +01:00 committed by GitHub
commit ef34fff508
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,6 +210,8 @@ Changed APIs
- ``OCP\IGroupManager::isAdmin()`` should be used instead of checking is current user is part of admin group manually.
- ``IAttributes`` ``enabled`` key have bee renamed to ``value`` and supports more than boolean.
- ``OCP\DB\Exception`` uses the reason code ``REASON_LOCK_WAIT_TIMEOUT`` now, instead of ``REASON_SERVER`` for a LockWaitTimeoutException.
- ``OCP\Share\IShare::setNoExpirationDate()`` now sets an overwrite flag for falsy expiry date values, this flag is used to determine whether the system should overwrite falsy expiry date values before creating a share.
- ``OCP\Share\IShare::getNoExpirationDate()`` retrieves the value of the ``noExpirationDate`` flag.
Deprecated APIs
^^^^^^^^^^^^^^^