Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade doctrine/dbal to 4 and doctrine/orm to 3 #1337

Open
arueckauer opened this issue Feb 20, 2024 · 0 comments
Open

Upgrade doctrine/dbal to 4 and doctrine/orm to 3 #1337

arueckauer opened this issue Feb 20, 2024 · 0 comments

Comments

@arueckauer
Copy link

Earlier this month Doctrine ORM 3 and DBAL 4 were released.

The DBAL Upgrade to 4.0 document shows quite a few BC breaks. With also versions 2 and 3 supported, I supposed this could mean tedious upgrade work. Upon inspecting the usages of Doctrine\DBAL in the source, I noticed it mainly interacts with Doctrine\DBAL\Connection and very few other classes. If I am not mistaken, the upgrade could be easier than first expected. Maybe even allowing for ^2.12|^3.1|^4.0 (to be verified).

However, the required doctrine/orm version ^2.12 relies on doctrine/dbal version ^2.13.1 || ^3.2 and would need to be updated as well. Since there are deprecated versions of doctrine/orm being used, this will require some attention and work.

Before starting anything here, I would like to see, if there is a plan to support ORM 3 and DBAL 4 and if so, how this looks like. Would you like some help here? Looking forward to hearing from you. Thanks!

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

No branches or pull requests

1 participant