Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Nextcloud 14 - drop of deprecated APIs #45

Closed
MorrisJobke opened this issue Jan 14, 2018 · 5 comments
Closed

Nextcloud 14 - drop of deprecated APIs #45

MorrisJobke opened this issue Jan 14, 2018 · 5 comments

Comments

@MorrisJobke
Copy link
Contributor

MorrisJobke commented Jan 14, 2018

Hi just want to inform you that with 14 we will drop for example OCP\Config nextcloud/server#7840

See the PHPDoc in that class for how to handle this now.

Please also have a look at nextcloud/server#7827 for other dropped methods or use the app:code-check to highlight deprecated methods in the current code.

@pierre-alain-b
Copy link
Owner

Well received, thanks for the heads up.

@MorrisJobke
Copy link
Contributor Author

Hi just want to inform you that with 14 we will also drop linkTo* methods of OCP\Util nextcloud/server#8811

So looking at nextcloud/server#7827 from time to time helps to know of all the dropped stuff ;)

@MorrisJobke
Copy link
Contributor Author

Hi @pierre-alain-b, OCP\JSON is deprecated since version 8.1 and will run into the 3 year deprecation time soon. With the upcoming Nextcloud 14 this will not be available anymore. We highly encourage you to move over from those manual checks in the files in ajax/ to the AppFramework way of writing methods. This then takes care of all the checks that are provided by OCP\JSON out of the box. If you need help with the migration please reach out to us. The AppFramework was introduced in ownCloud 7 and thus there should be no problems with this migration regarding being compatible to both vendors.

The removal PR: nextcloud/server#8943
A PR that shows how to move from the ajax/ files to AppFramework: nextcloud/server#8800

@pierre-alain-b
Copy link
Owner

Hello all, seeing the number number of people asking for it, I am planning to spend some time and try to do it starting this week-end.
Who would accept being a beta-tester? Who would be able to help in reading the code changes and provide comments/suggestions?

I am locking this thread but discussions can happen in #72

Repository owner locked and limited conversation to collaborators Sep 13, 2018
@pierre-alain-b
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants