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
- Various methods from the legacy ``OC_Util`` static class were removed:
70
-
71
-
- Instead of ``\OC_Util::encodePath`` use ``\OCP\Util::encodePath``.
72
-
- Instead of ``\OC_Util::sanitizeHTML`` use ``\OCP\Util::sanitizeHTML``
73
-
- Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl``
74
-
- Instead of ``\OC_Util::checkAdminUser`` use ``IGroupManager::class::isAdmin``
75
-
76
-
77
-
Unified sharing
78
-
---------------
79
-
80
-
.. todo::
81
-
82
-
This is work in progress and needs an update when the changes have been finalized.
83
-
84
-
Changes to sharing APIs and user interface are planned. This includes both a new general API for sharing of entities and updates to the sharing user interface. See `nextcloud/server#51803 <https://github.com/nextcloud/server/issues/51803>`_ for details and mockups.
85
-
86
-
87
-
Navigation styling revisions
88
-
----------------------------
89
-
90
-
.. todo::
91
-
92
-
This is work in progress and needs an update when the changes have been finalized.
93
-
94
-
Styling of navigation components will be revised. See `nextcloud-libraries/nextcloud-vue#7222 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7222>`_ for details.
95
-
96
-
97
-
Sidebar tabs redesign
98
-
---------------------
99
-
100
-
.. todo::
101
-
102
-
This is work in progress and needs an update when the changes have been finalized.
103
-
104
-
Sidebar tab components will be redesigned. See `nextcloud-libraries/nextcloud-vue#7520 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7520>`_ for details.
105
-
106
-
107
-
Settings title left-alignment
108
-
-----------------------------
109
-
110
-
.. todo::
111
-
112
-
This is work in progress and needs an update when the changes have been finalized.
113
-
114
-
The title alignment of settings pages will be changed to left-aligned. See `nextcloud-libraries/nextcloud-vue#7641 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7641>`_ for details.
Copy file name to clipboardExpand all lines: developer_manual/release_notes/deprecations.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
@@ -20,11 +20,7 @@ New deprecations
20
20
21
21
.. todo:: This page needs a section for every new deprecation.
22
22
23
-
- ``\OCP\Util::setChannel`` is now deprecated and you need to use ``\OCP\ServerVersion::setChannel`` instead.
24
-
- ``\OCP\Util::linkToAbsolute`` is now deprecated and you need to use ``\OCP\IUrlGenerator::getAbsoluteUrl`` and ``\OCP\IUrlGenerator::linkTo`` instead.
25
-
- ``\OCP\Util::linkToRemove`` is now deprecated and you need to use ``\OCP\IUrlGenerator::linkToRemote`` instead.
26
-
- ``\OCP\Util::isPublicLinkPasswordRequired`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkEnforcePassword`` instead.
27
-
- ``\OCP\Util::isDefaultExpireDateEnforced`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced`` instead.
- ``\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
+
14
+
Removed front-end APIs and libraries
15
+
------------------------------------
16
+
17
+
- ``OC.Dialogs.fileexists`` was deprecated and is now removed.
18
+
Use the conflict picker from the ``@nextcloud/dialogs`` library instead.
19
+
- ``OC.Notifications`` was deprecated and is now removed.
20
+
Use the notification API from the ``@nextcloud/dialogs`` library instead.
21
+
- ``OC.Apps`` was deprecated and is now removed.
22
+
Use Vue components from the ``@nextcloud/vue`` instead.
23
+
- ``OC.*menu*`` methods were deprecated and are now removed.
24
+
Use Vue components from the ``@nextcloud/vue`` instead.
25
+
- Magic handling of ``.live-relative-timestamp`` (elements with this class were automatically updated to show relative timestamps) was removed.
26
+
Use the ``NcDateTime`` component from the ``@nextcloud/vue`` library instead
27
+
- The global ``snapper`` was deprecated and is now removed.
28
+
For the app navigation please migrate your app to Vue
29
+
and use the ``NcAppNavigation`` component from the ``@nextcloud/vue`` library instead.
30
+
- Some deprecated globally shared libraries were removed. If you still rely on them, you need to bundle them with your app:
31
+
32
+
- ``jQuery`` was deprecated and scheduled for removal since Nextcloud 19.
33
+
- ``jQuery UI`` was deprecated and scheduled for removal since Nextcloud 19.
34
+
- ``Backbone`` was deprecated and scheduled for removal since Nextcloud 19.
35
+
- ``OC.Files.Client`` as it was extending the ``Backbone``.
36
+
- ``Handlebars`` was deprecated and scheduled for removal since Nextcloud 19.
37
+
38
+
39
+
Removed back-end APIs
40
+
---------------------
41
+
42
+
- ``\OCP\Share_Backend``, ``\OCP\Share_Backend_Collection``, ``\OCP\Share_Backend_File_Dependent`` were removed. This old
43
+
share backend was replaced in Nextcloud 9 with a new backend system based on ``IShareProvider``.
44
+
- All these methods were deprecated since before Nextcloud 20 and were removed:
- Various methods from the legacy ``OC_Util`` static class were removed:
58
+
59
+
- Instead of ``\OC_Util::encodePath`` use ``\OCP\Util::encodePath``.
60
+
- Instead of ``\OC_Util::sanitizeHTML`` use ``\OCP\Util::sanitizeHTML``
61
+
- Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl``
62
+
- Instead of ``\OC_Util::checkAdminUser`` use ``IGroupManager::class::isAdmin``
63
+
64
+
65
+
Unified sharing
66
+
---------------
67
+
68
+
.. todo::
69
+
70
+
This is work in progress and needs an update when the changes have been finalized.
71
+
72
+
Changes to sharing APIs and user interface are planned. This includes both a new general API for sharing of entities and updates to the sharing user interface. See `nextcloud/server#51803 <https://github.com/nextcloud/server/issues/51803>`_ for details and mockups.
73
+
74
+
75
+
Navigation styling revisions
76
+
----------------------------
77
+
78
+
.. todo::
79
+
80
+
This is work in progress and needs an update when the changes have been finalized.
81
+
82
+
Styling of navigation components will be revised. See `nextcloud-libraries/nextcloud-vue#7222 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7222>`_ for details.
83
+
84
+
85
+
Sidebar tabs redesign
86
+
---------------------
87
+
88
+
.. todo::
89
+
90
+
This is work in progress and needs an update when the changes have been finalized.
91
+
92
+
Sidebar tab components will be redesigned. See `nextcloud-libraries/nextcloud-vue#7520 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7520>`_ for details.
93
+
94
+
95
+
Settings title left-alignment
96
+
-----------------------------
97
+
98
+
.. todo::
99
+
100
+
This is work in progress and needs an update when the changes have been finalized.
101
+
102
+
The title alignment of settings pages will be changed to left-aligned. See `nextcloud-libraries/nextcloud-vue#7641 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7641>`_ for details.
0 commit comments