-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
Do you have any ETA for Doctrine 2.3? ping @beberlei |
@fabpot not a final one yet, but within august is planned. |
Shouldn't this update also be done in TwigBridge's composer.json and Symfony's main composer.json? |
@bschussek Symfony already allows both 2.2 and 2.3 |
Sure, but shouldn't it require 2.3? |
well, nothing is broken with 2.2 (you simply cannot use the aliased class name for the |
I would clearly call this a BC break. Aliased class names used to work, now they don't. |
What's the point of still supporting 2.2? |
You can use Doctrine 2.2 stable with Symfony master since january now, i don't want to force people to upgrade their doctrine dependency if they don't have to. |
Why not just use |
2.3 is not compatible with 2.2? Symfony 2.1 is not stable yet, so I don't see why we should support an older version of Doctrine. |
2.3 and 2.2 are compatible, the only thing thats not compatible are the changes bernhard did in the forms, and respectively a fix in doctrine that was only done for 2.3 - @stof can we merge that manager registry fix to 2.2 as well? albeit only for 2.2.3 - but at least. |
@unknownbliss 2 reasons:
@beberlei yes we could backport it to 2.2 (I even mentioned it in my PR) |
@stof sorry, my oversight. |
@stof wouldn't it be better if we have support only for 2.3 and fix the regressions that appear in the forms component? Also what is that regression about? Maybe someone will be able to fix it as it would totaly make sense to distribute SF2.1 with Doctrine 2.3 rather that 2.2 imho. |
@dlsniper A bug in the form component (symfony/symfony#4125) was fixed by using |
There is a difference between shipping with something by default and supporting more. As stated before, 2.2 is stable for half a year now, why force users to upgrade to 2.3 if it is not really necessary. Doctrine 2.2 can be used with symfony 2.0 already. Supporting 2.2 in s2.1 aswell would take one big variable out of the upgrade process for some people. SE should point to 2.3 since it is for new projects, but the core shouldnt just bump dependemcies so eagerly imho. Am 27.07.2012 um 08:08 schrieb Florin [email protected]:
|
I will fix the getmamagerforclass in 2.2.3 as well. So that will be taken care of. Am 27.07.2012 um 08:27 schrieb Bernhard [email protected]:
|
Awesome, thanks Benjamin! So this PR should actually be to update all dependencies to >=2.2.3 in the Standard Distribution and Symfony Core. |
@stof Can you update this PR accordingly? Also, can someone make a PR on symfony/symfony to update Doctrine wherever needed? |
using |
Commits ------- 793a21a Updated the lock file 59fdaeb Bumped Doctrine to 2.2.3 Discussion ---------- Doctrine deps based on #373 from @stof integrating the feedback --------------------------------------------------------------------------- by stof at 2012-07-31T14:53:00Z :+1: And the requirement on 2.2.3+ should be changed in symfony too instead of >=2.2 --------------------------------------------------------------------------- by vicb at 2012-07-31T15:00:23Z @stof that's symfony/symfony#5127. Thanks for your help.
This bumps the Doctrine dependency to 2.3 (which is also in beta currently) as it should be stable when we release 2.1, has some nice new features and fixes the issue with getManagerForClass (symfony/symfony#4966)
Looking at symfony 2.0 which continue to ship Doctrine 2.1 even if it does not even receive bug fixes anymore (only security fixes), it would be a shame to ship Doctrine 2.2 with Symfony 2.1 by default.