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

Compatibility with Nextcloud 14 #62

Closed
juliushaertl opened this issue Aug 10, 2018 · 5 comments
Closed

Compatibility with Nextcloud 14 #62

juliushaertl opened this issue Aug 10, 2018 · 5 comments
Assignees
Labels
feature A new functionality for the app
Milestone

Comments

@juliushaertl
Copy link

Hi,

as you may have already seen, we have entered the beta phase for the release of Nextcloud 14. We try to keep up compatibility with older apps, but in some cases apps need some adjustments to properly work on new Nextcloud releases. With Nextcloud 14 there have been quite some changes in that regard:

You can find a list of all critical changes for app developers and admins at nextcloud/server#7827 You can run occ app:check-code to validate that there are no issues with deprecated or private message calls.

I've found that you already recognized the changes in the layout at https://git.mdns.eu/nextcloud/passwords/issues/19, so nextcloud/server#9982 should give you some hints on what you need to change.

We would be very pleased if you can make your app compatible with Nextcloud 14 and release a new version to the app store, so that users can properly test it and the upgrade experience to Nextcloud 14 will be even better than before.

Feel free to ask, if you have any questions regarding making your app compatible with Nextcloud 14.

Btw. you might have seen that starting August 25, the Nextcloud Conference takes place at the familiar TU Berlin. (https://nextcloud.com/conf/)! We'd like all contributors to be there and that most certainly includes you. You might already have registered but if you haven't - please consider joining us!

Thanks for being part of the Nextcloud community and for all the effort you put into providing this app 🚀

@marius-wieschollek
Copy link
Owner

Thanks for this information. I will start working on the Nextcloud 14 implementation when i'm back from my vacation.

@marius-wieschollek marius-wieschollek self-assigned this Aug 10, 2018
@marius-wieschollek marius-wieschollek added the feature A new functionality for the app label Aug 10, 2018
@marius-wieschollek marius-wieschollek added this to the 2018.10 milestone Aug 10, 2018
@marius-wieschollek
Copy link
Owner

@juliushaertl When checking my app with ./occ app:check-code i always get an error like Syntax error, unexpected '?', expecting T_VARIABLE on line 97. I while back i already faced this issue and concluded that the used PhpParser version is outdated and does not support PHP 7.1 syntax.
Is this still the case or am i facing another issue here?

marius-wieschollek added a commit that referenced this issue Aug 27, 2018
@juliushaertl
Copy link
Author

As Nextcloud 14 has PHP 7.0 as its lowest supported version, we actually test with that to make sure it is still compatible. If you actually want to support just 7.1 and above you can obmit the syntax check and just go with occ app:check-code APPID -c deprecation to check for the APIs.

@marius-wieschollek
Copy link
Owner

@juliushaertl I tried the command, but it still does not work. I think the simple reason for that is that Nextcloud uses PhpParser 1.4.1 which was released before PHP 7.0 and definitely can't read PHP 7.1 syntax like function test(): ?string.
I "upgraded" it to the latest PhpParser 4.0.4, which resolved the original error, but then crashed due to api incompatibilities.

Is it ok for you if i open an issue to upgrade this for Nextcloud 15?

@juliushaertl
Copy link
Author

@marius-wieschollek It should be fine to bump the version in the server since PhPParser 4.0.4 also works on the lowest server supported PHP version. Feel free to open an issue for that.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature A new functionality for the app
Projects
None yet
Development

No branches or pull requests

2 participants