You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted here: #15067 (review)
Deprecations should stay only in this location,
they are only removed when removed from code.
Until then "new deprecations" are just moved to "older deprecations" on
branch-off.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Copy file name to clipboardExpand all lines: developer_manual/release_notes/deprecations.rst
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,22 @@ New deprecations
21
21
.. todo:: This page needs a section for every new deprecation.
22
22
23
23
- ``\OCP\Broadcast\Events\\IBroadcastEvent`` is now deprecated as it is unused.
24
+
- ``\OCP\TaskProcessing\ISynchronousWatermarkingProvider`` is now deprecated. ``\OCP\TaskProcessing\ISynchronousOptionsAwareProvider`` should now be used.
24
25
25
26
Older deprecations
26
27
------------------
27
28
28
29
You find all current deprecations in this section.
29
30
30
31
..
31
-
This is where we will move the deprecations after the branch off. Entries will stay until actual removal.
32
+
This is where we will move the deprecations from the "new deprecations" section after the branch off. Entries will stay until actual removal.
33
+
34
+
- Deprecated since Nextcloud 34
35
+
36
+
- ``\OCP\Util::setChannel`` is deprecated in favor of ``\OCP\ServerVersion::setChannel``.
37
+
- ``\OCP\Util::linkToAbsolute`` is deprecated in favor of ``\OCP\IUrlGenerator::getAbsoluteUrl`` and ``\OCP\IUrlGenerator::linkTo``.
38
+
- ``\OCP\Util::linkToRemove`` is deprecated in favor of ``\OCP\IUrlGenerator::linkToRemote``.
39
+
- ``\OCP\Util::isPublicLinkPasswordRequired`` is deprecated in favor of ``\OCP\Share\IManager::shareApiLinkEnforcePassword``.
40
+
- ``\OCP\Util::isDefaultExpireDateEnforced`` is deprecated in favor of ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced``.
32
41
33
42
Also see the older :ref:`Release Notes <previous-versions>` for deprecations.
Copy file name to clipboardExpand all lines: developer_manual/release_notes/new.rst
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,9 @@ Expensive repair steps are only executed when explicitly requested by the admini
35
35
36
36
See :ref:`migration-repair-steps` for details.
37
37
38
+
Task Processing
39
+
---------------
40
+
38
41
Added APIs
39
42
^^^^^^^^^^
40
43
@@ -45,8 +48,3 @@ Changed APIs
45
48
46
49
- The ``\OCP\TaskProcessing\Task`` class now has ``getPreferStreaming`` and ``setPreferStreaming`` methods for indicating whether the provider should report the output progressively if it supports it.
47
50
- The TaskProcessing OCS API now also accepts the ``preferStreaming`` flag when scheduling tasks.
48
-
49
-
Deprecated APIs
50
-
^^^^^^^^^^^^^^^
51
-
52
-
- ``\OCP\TaskProcessing\ISynchronousWatermarkingProvider`` is now deprecated. ``\OCP\TaskProcessing\ISynchronousOptionsAwareProvider`` should now be used instead.
Copy file name to clipboardExpand all lines: developer_manual/release_notes/previous/upgrade_to_34.rst
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,7 @@ Upgrade to Nextcloud 34
5
5
Deprecations
6
6
------------
7
7
8
-
- ``\OCP\Util::setChannel`` is now deprecated and you need to use ``\OCP\ServerVersion::setChannel`` instead.
9
-
- ``\OCP\Util::linkToAbsolute`` is now deprecated and you need to use ``\OCP\IUrlGenerator::getAbsoluteUrl`` and ``\OCP\IUrlGenerator::linkTo`` instead.
10
-
- ``\OCP\Util::linkToRemove`` is now deprecated and you need to use ``\OCP\IUrlGenerator::linkToRemote`` instead.
11
-
- ``\OCP\Util::isPublicLinkPasswordRequired`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkEnforcePassword`` instead.
12
-
- ``\OCP\Util::isDefaultExpireDateEnforced`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced`` instead.
8
+
All deprecations that were announced in the :ref:`Deprecated APIs <deprecated-apis>` section.
0 commit comments