-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Breaking changes in Nextcloud 21 #1372
Comments
Please note that we just merged a PR with our own constants for the types, so the app can be fully independent of any 3rdparty libraries: nextcloud/server#25089. |
Nice. I'm using Doctrine\DBAL\Schema\Table->changeColumn() in one of my migrations, though, and that requires a type instance, obtained with Type::getType():Type (see https://github.com/nextcloud/bookmarks/pull/1387/checks?check_run_id=1754238646) |
So, it works now, but I'm still dependent on DBAL's API |
Because the app supports a wider range of Nextcloud releases? That is a problem right now. Once the minimum version is 21 you can use the new constants safely. |
No, because I need to use DBAL\Types::getType() for Doctrine\DBAL\Schema\Table->changeColumn |
Right. So the |
Hi there,
I found that your app uses some classes of Nextcloud's third party libraries. Since an upgrade of those for php8 compatibility, your app will have to be adjusted as well. See https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/upgrade-guide.html#doctrine-dbal for details. Your app uses
Doctrine\DBAL\Types\Type
which lost the old contants: https://github.com/doctrine/dbal/blob/3.0.x/UPGRADE.md#deprecated-type-constants.Cheers
The text was updated successfully, but these errors were encountered: