Skip to content

Commit 1fd0759

Browse files
authored
Merge pull request #14046 from nextcloud/docs/taskprocessing-33
fix(developer_manual): Add TaskProcessing updates to 33 upgrade guide
2 parents 04c3686 + f0c1a6f commit 1fd0759

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,17 @@ Added APIs
201201
You can add your own exporters by implementing ``\OCP\OpenMetrics\IMetricFamily`` interface.
202202
See :doc:`/digging_deeper/openmetrics` for more information.
203203

204+
- ``ImageToTextOpticalCharacterRecognition`` TaskProcessing task type was added
205+
206+
- ``ISynchronousWatermarkingProvider`` TaskProcessing provider interface was added to allow synchronous processing providers to react to the boolean includeWatermark flag
207+
204208
Changed APIs
205209
^^^^^^^^^^^^
206210

207211
- 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.
208212
- 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.
213+
- The ``\OCP\TaskProcessing\Task`` class now has ``getIncludeWatermark`` and ``setIncludeWatermark`` methods for indicating whether the provider should add a watermark to the generated output.
214+
- The TaskProcessing OCS API now also accepts the ``includeWatermark`` flag when scheduling tasks
209215

210216
Deprecated APIs
211217
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)