Skip to content

Commit 1c8ddd4

Browse files
authored
Merge pull request #15117 from nextcloud/fix/release-notes
chore: only show deprecated API in one place
2 parents 7ede1d7 + 064a744 commit 1c8ddd4

3 files changed

Lines changed: 15 additions & 12 deletions

File tree

developer_manual/release_notes/deprecations.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,23 @@ New deprecations
2121
.. todo:: This page needs a section for every new deprecation.
2222

2323
- ``\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.
2425

2526
Older deprecations
2627
------------------
2728

2829
You find all current deprecations in this section.
2930

3031
..
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\AppFramework\App::buildAppNamespace`` is deprecated in favor of non-static method ``\OCP\App\IAppManager::getAppNamespace``
37+
- ``\OCP\Util::setChannel`` is deprecated in favor of ``\OCP\ServerVersion::setChannel``.
38+
- ``\OCP\Util::linkToAbsolute`` is deprecated in favor of ``\OCP\IUrlGenerator::getAbsoluteUrl`` and ``\OCP\IUrlGenerator::linkTo``.
39+
- ``\OCP\Util::linkToRemove`` is deprecated in favor of ``\OCP\IUrlGenerator::linkToRemote``.
40+
- ``\OCP\Util::isPublicLinkPasswordRequired`` is deprecated in favor of ``\OCP\Share\IManager::shareApiLinkEnforcePassword``.
41+
- ``\OCP\Util::isDefaultExpireDateEnforced`` is deprecated in favor of ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced``.
3242

3343
Also see the older :ref:`Release Notes <previous-versions>` for deprecations.

developer_manual/release_notes/new.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Expensive repair steps are only executed when explicitly requested by the admini
3535

3636
See :ref:`migration-repair-steps` for details.
3737

38+
Task Processing
39+
---------------
40+
3841
Added APIs
3942
^^^^^^^^^^
4043

@@ -45,8 +48,3 @@ Changed APIs
4548

4649
- 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.
4750
- 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.

developer_manual/release_notes/previous/upgrade_to_34.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@ Upgrade to Nextcloud 34
55
Deprecations
66
------------
77

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.
13-
- ``\OCP\AppFramework\App::buildAppNamespace`` is deprecated in favor of non-static method ``\OCP\App\IAppManager::getAppNamespace``
8+
All deprecations that were announced in the :ref:`Deprecated APIs <deprecated-apis>` section.
149

1510
Removed front-end APIs and libraries
1611
------------------------------------

0 commit comments

Comments
 (0)