Skip to content

Commit 17128a7

Browse files
committed
fix(developer_manual): Add TaskProcessing updates to 33 upgrade guide
see nextcloud/server#56908 see nextcloud/server#56717 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 5018236 commit 17128a7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Added APIs
8181
- ``OCA.Profile.ProfileSections`` was added as a framework agnostic replacement for ``OCA.Core.ProfileSections``.
8282
See section about the profile app above.
8383

84+
8485
Changed APIs
8586
^^^^^^^^^^^^
8687

@@ -197,11 +198,18 @@ Added APIs
197198
}
198199
$result->closeCursor();
199200
201+
- ``ImageToTextOpticalCharacterRecognition`` TaskProcessing task type was added
202+
203+
- ``ISynchronousWatermarkingProvider`` TaskProcessing provider interface was added to allow synchronous processing providers to react to the boolean includeWatermark flag
204+
205+
200206
Changed APIs
201207
^^^^^^^^^^^^
202208

203209
- The ``setId`` and ``getId`` methods of ``\OCP\BackgroundJob\IJob`` were changed to return/accept a string instead of an int. Same for ``\OCP\BackgroundJob\IJobList`` were some methods (``removedById``, ``getById`` and ``getDetailsById``) are now taking a string instead of an int. The string is suppose to be a snowflake id.
204210
- The ``setObjectId`` and ``getObjectId`` methods of ``\OCP\Activity\IEvent`` were changed to return/accept a string in addition to an int. The string is suppose to be a snowflake id.
211+
- The ``\OCP\TaskProcessing\Task`` class now has ``getIncludeWatermark`` and ``setIncludeWatermark`` methods for indicating whether the provider should add a watermark to the generated output.
212+
- The TaskProcessing OCS API now also accepts the ``includeWatermark`` flag when scheduling tasks
205213

206214
Deprecated APIs
207215
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)