Skip to content
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

Nextcloud 14 will drop OCP\JSON support #29

Closed
MorrisJobke opened this issue Mar 22, 2018 · 4 comments
Closed

Nextcloud 14 will drop OCP\JSON support #29

MorrisJobke opened this issue Mar 22, 2018 · 4 comments

Comments

@MorrisJobke
Copy link
Member

Hi @mlojewski-me, 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 version 7.

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

@mlojewski-me
Copy link
Collaborator

Thanks for the info.
I work on a new version in develop branch but I still need some time to finish it.
I plan to rewrite the whole application to follow the clean code and newest Nextcloud API.
I think I need maximium of one month to release the new version for testing.

@MorrisJobke
Copy link
Member Author

I think I need maximium of one month to release the new version for testing.

Don't worry - Nextcloud 14 will take some months from now ;) We just want to give some heads up on upcoming changes, so that app developers can adjust their code. ;)

@MorrisJobke
Copy link
Member Author

.
Don't worry - Nextcloud 14 will take some months from now ;) We just want to give some heads up on upcoming changes, so that app developers can adjust their code. ;)

Once we know more you can read it in https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule

Alone the feature frees phase will be one month roughly.

@mlojewski-me
Copy link
Collaborator

New version has been released.

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

No branches or pull requests

2 participants