I just testing new features on symfony 2.1-BETA3. Few hours ago BETA4 has been released but I don’t know how to update BETA3 to BETA4 using composer. In 2.0.x release notes Fabien said:
If you already have a project based on the Symfony Standard Edition 2.0.x, you can easily upgrade to 2.0.15 by getting the new deps and deps.lock files.
Have I replace my composer.lock file? What about my own requires like:
"package": "stof/doctrine-extensions-bundle",
"version": "dev-master",
"source-reference": "36356b158b74cb68f96dc0b657e8732422b9d5dd",
"commit-date": "1341954345"
Don’t touch
composer.lock! Changecomposer.json. If you are using the standard edition, you probably already have something likeand
in there. The later one means, that you allow dev packages to get installed. The first one means, that you want any
2.1.*version. You can change it toif you want, but the original
2.1.*should be suffice right now. Now callThis will update
composer.locktoo. Now you maybe must call (must say: I’ve forgotten it) callto install the dependencies from
composer.lock.In short:
YOu never need to touch
composer.lockyourself and you shouldn’t to avoid side effects of composer.