Skip to content

Commit ee14f64

Browse files
authored
Merge pull request #10678 from nextcloud/enh/noid/systemtag-related-changes
2 parents a145d4a + 5e79bbe commit ee14f64

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ Added APIs
6262
Changed APIs
6363
^^^^^^^^^^^^
6464

65-
* ``\OCP\Preview\BeforePreviewFetchedEvent`` now accepts: ``width, height, crop and mode`` as optional constructor arguments.
65+
* ``\OCP\Preview\BeforePreviewFetchedEvent`` now accepts: ``width, height, crop and mode`` as optional constructor arguments.
66+
* Interface ``\OCP\Files\Folder`` got a new method: ``searchBySystemTag(string $tagName, string $userId, int $limit = 0, int $offset = 0)``.
67+
* ``OCP\SystemTag\ISystemTagManager::getTagsByIds()`` now optionally accepts `IUser` as second parameter, to only retrieve system tags visible to that user.
6668

6769
Deprecated APIs
6870
^^^^^^^^^^^^^^^
@@ -80,9 +82,9 @@ Removed APIs
8082
* ``\OC_Defaults::getLogoClaim``: there is no replacement.
8183
* ``\OCP\Util::linkToPublic``: there is no replacement.
8284
* ``\OC_Defaults::getLogoClaim``: There is no replacement.
83-
* ``\OC::$server->createEventSource()`` has been removed, use ``\OC::$server->get(\OCP\IEventSourceFactory::class)->create()`` instead.
85+
* ``\OC::$server->createEventSource()`` has been removed, use ``\OC::$server->get(\OCP\IEventSourceFactory::class)->create()`` instead.
8486

85-
The factory ``\OCP\IEventSourceFactory`` works only from Nextcloud 28.
87+
The factory ``\OCP\IEventSourceFactory`` works only from Nextcloud 28.
8688
For older versions use ``\OC::$server->createEventSource()``.
8789

8890
If you want to support Nextcloud 27 and Nextcloud 28:

0 commit comments

Comments
 (0)