Yetangitu / owncloud-apps

Applications for Nextcloud and Owncloud personal cloud server
GNU Affero General Public License v3.0
86 stars 41 forks source link

Nextcloud 14 will drop OCP\JSON support #88

Open MorrisJobke opened 6 years ago

MorrisJobke commented 6 years ago

Hi @Yetangitu, 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: https://github.com/nextcloud/server/pull/8943 A PR that shows how to move from the ajax/ files to AppFramework: https://github.com/nextcloud/server/pull/8800