Doctrine/Dbal 3.0 compatiblity issue in a Symfony project #9164
-
I updated my Symfony sample project using Github dependenbot workflow, and keep updated with the latest stack. In these days, I updated the dependencies and try to run the application by [Web Server ] [31-Oct-2021 03:34:21 UTC] [critical] Uncaught PHP Exception Doctrine\ORM\Exception\NotSupported: "Feature was deprecated in doctrine/dbal 2.x and is not supported by ins
talled doctrine/dbal:3.x, please see the doctrine/deprecations logs for new alternative approaches." at D:\hantsylabs\symfony5-sample\rest-sample\vendor\doctrine\orm\lib\Doctrine\ORM\Exception\NotSupported.php line 16 From the Symfony stack channel, the guys told me it was caused by the UUID generator, but from the exception message, I can not find any info about this , and also open the docs of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There's an entry in the upgrade file that references the UUID for 3.0: https://github.com/doctrine/dbal/blob/cd95cf11dae73ae28c3084581810fbea057b36f2/UPGRADE.md#bc-break-removed-support-for-db-generated-uuids BC breaks are possible in major releases, but I agree that this should be mentioned in the docs. |
Beta Was this translation helpful? Give feedback.
There's an entry in the upgrade file that references the UUID for 3.0: https://github.com/doctrine/dbal/blob/cd95cf11dae73ae28c3084581810fbea057b36f2/UPGRADE.md#bc-break-removed-support-for-db-generated-uuids
BC breaks are possible in major releases, but I agree that this should be mentioned in the docs.