-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat: Add the newest batch deprecations and removals #15066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CarlSchwan
wants to merge
2
commits into
master
Choose a base branch
from
carl/deprecation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
developer_manual/release_notes/previous/upgrade_to_34.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| ======================= | ||
| Upgrade to Nextcloud 34 | ||
| ======================= | ||
|
|
||
| info.xml requirements | ||
| --------------------- | ||
|
|
||
| Update info.xml to add Nextcloud 34 to the support range: | ||
|
|
||
| .. code-block:: xml | ||
|
|
||
| <dependencies> | ||
| <nextcloud min-version="34" max-version="34" /> | ||
| </dependencies> | ||
|
|
||
| To allow installation on older versions too, just keep the previous min-version. | ||
|
|
||
| Removed front-end APIs and libraries | ||
| ------------------------------------ | ||
|
|
||
| - ``OC.Dialogs.fileexists`` was deprecated and is now removed. | ||
| Use the conflict picker from the ``@nextcloud/dialogs`` library instead. | ||
| - ``OC.Notifications`` was deprecated and is now removed. | ||
| Use the notification API from the ``@nextcloud/dialogs`` library instead. | ||
| - ``OC.Apps`` was deprecated and is now removed. | ||
| Use Vue components from the ``@nextcloud/vue`` instead. | ||
| - ``OC.*menu*`` methods were deprecated and are now removed. | ||
| Use Vue components from the ``@nextcloud/vue`` instead. | ||
| - Magic handling of ``.live-relative-timestamp`` (elements with this class were automatically updated to show relative timestamps) was removed. | ||
| Use the ``NcDateTime`` component from the ``@nextcloud/vue`` library instead | ||
| - The global ``snapper`` was deprecated and is now removed. | ||
| For the app navigation please migrate your app to Vue | ||
| and use the ``NcAppNavigation`` component from the ``@nextcloud/vue`` library instead. | ||
| - Some deprecated globally shared libraries were removed. If you still rely on them, you need to bundle them with your app: | ||
|
|
||
| - ``jQuery`` was deprecated and scheduled for removal since Nextcloud 19. | ||
| - ``jQuery UI`` was deprecated and scheduled for removal since Nextcloud 19. | ||
| - ``Backbone`` was deprecated and scheduled for removal since Nextcloud 19. | ||
| - ``OC.Files.Client`` as it was extending the ``Backbone``. | ||
| - ``Handlebars`` was deprecated and scheduled for removal since Nextcloud 19. | ||
|
|
||
|
|
||
| Removed back-end APIs | ||
| --------------------- | ||
|
|
||
| - ``\OCP\Share_Backend``, ``\OCP\Share_Backend_Collection``, ``\OCP\Share_Backend_File_Dependent`` were removed. This old | ||
| share backend was replaced in Nextcloud 9 with a new backend system based on ``IShareProvider``. | ||
| - All these methods were deprecated since before Nextcloud 20 and were removed: | ||
|
|
||
| - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalScript`` | ||
| - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::addAllowedChildSrcDomain`` | ||
| - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::disallowChildSrcDomain`` | ||
| - ``\OCP\Collaboration\Resources\IManager::registerResourceProvider`` | ||
| - ``\OCP\Notification\IManager::registerNotifier`` | ||
| - ``\OCP\Util::recursiveArraySearch`` | ||
| - All these classes were deprecated since before Nextcloud 20 and were removed: | ||
|
|
||
| - ``\OCP\AppFramework\Http\StrictContentSecurityPolicy`` | ||
| - ``\OCP\AppFramework\Http\StrictEvalContentSecurityPolicy`` | ||
| - ``\OCP\AppFramework\Http\StrictInlineContentSecurityPolicy`` | ||
| - Various methods from the legacy ``OC_Util`` static class were removed: | ||
|
|
||
| - Instead of ``\OC_Util::encodePath`` use ``\OCP\Util::encodePath``. | ||
| - Instead of ``\OC_Util::sanitizeHTML`` use ``\OCP\Util::sanitizeHTML`` | ||
| - Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl`` | ||
| - Instead of ``\OC_Util::checkAdminUser`` use ``IGroupManager::class::isAdmin`` | ||
|
|
||
| - All these interfaces were deprecated since Nextcloud 23 and were removed without replacement: | ||
| - ``\OCP\Remote\ICredentials`` | ||
| - ``\OCP\Remote\IInstance`` | ||
| - ``\OCP\Remote\IInstanceFactory`` | ||
| - ``\OCP\Remote\IUser`` | ||
| - ``\OCP\Remote\API\IUserApi`` | ||
| - ``\OCP\Remote\API\ICapabilitiesApi`` | ||
| - ``\OCP\Remote\API\IApiFactory`` | ||
| - ``\OCP\Remote\API\IApiCollection`` | ||
|
|
||
| - All the deprecated methods of ``\OCP\Calendar\Resource\IManager`` and ``\OCP\Calendar\Room\IManager`` were deprecated since Nextcloud 24 and were removed without replacement. | ||
|
|
||
| Unified sharing | ||
| --------------- | ||
|
|
||
| .. todo:: | ||
|
|
||
| This is work in progress and needs an update when the changes have been finalized. | ||
|
|
||
| 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. | ||
|
|
||
|
|
||
| Navigation styling revisions | ||
| ---------------------------- | ||
|
|
||
| .. todo:: | ||
|
|
||
| This is work in progress and needs an update when the changes have been finalized. | ||
|
|
||
| Styling of navigation components will be revised. See `nextcloud-libraries/nextcloud-vue#7222 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7222>`_ for details. | ||
|
|
||
|
|
||
| Sidebar tabs redesign | ||
| --------------------- | ||
|
|
||
| .. todo:: | ||
|
|
||
| This is work in progress and needs an update when the changes have been finalized. | ||
|
|
||
| Sidebar tab components will be redesigned. See `nextcloud-libraries/nextcloud-vue#7520 <https://github.com/nextcloud-libraries/nextcloud-vue/issues/7520>`_ for details. | ||
|
|
||
|
|
||
| Settings title left-alignment | ||
| ----------------------------- | ||
|
|
||
| .. todo:: | ||
|
|
||
| This is work in progress and needs an update when the changes have been finalized. | ||
|
|
||
| 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. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea of the comment was to explain how content is added to this page.