You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade doctrine/dbal to 4 and doctrine/orm to 3 #1337
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!
Since there's been no feedback yet, I am wondering if there are any plans or thoughts on upgrading compatibility here? Thanks in advance for your time and any update you can share!
Activity
arueckauer commentedon Jul 18, 2025
Hi @makasim 👋🏻
Since there's been no feedback yet, I am wondering if there are any plans or thoughts on upgrading compatibility here? Thanks in advance for your time and any update you can share!
makasim commentedon Jul 18, 2025
I am fine with it, as long as someone sends a PR with the change
makasim commentedon Dec 22, 2025
should be fixed in #1397