You are browsing the Symfony 4 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4 yet, browse the Symfony 3.4 documentation.
Upgrading a Patch Version (e.g. 3.3.2 to 3.3.3)
Upgrading a Patch Version (e.g. 3.3.2 to 3.3.3)¶
When a new patch version is released (only the last number changed), it is a release that only contains bug fixes. This means that upgrading to a new patch version is really easy:
$ composer update symfony/symfony
That's it! You should not encounter any backwards-compatibility breaks or
need to change anything else in your code. That's because when you started
your project, your
composer.json included Symfony using a constraint
3.3.*, where only the last version number will change when you
It is recommended to update to a new patch version as soon as possible, as important bugs and security leaks may be fixed in these new releases.
Upgrading other Packages¶
You may also want to upgrade the rest of your libraries. If you've done a
good job with your version constraints in
composer.json, you can do
this safely by running:
$ composer update
Beware, if you have some unspecific version constraints in your
dev-master), this could upgrade some
non-Symfony libraries to new versions that contain backwards-compatibility
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.