Upgrading a Patch Version (e.g. 6.0.0 to 6.0.1)
Warning: You are browsing the documentation for Symfony 6.0, which is no longer maintained.
Read the updated version of this page for Symfony 7.2 (the current stable version).
Upgrading a Patch Version (e.g. 6.0.0 to 6.0.1)
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 should not cause any problems.
To upgrade to a new "patch" release, read the Upgrading a Minor Version article. Thanks to Symfony's backwards compatibility promise, it's always safe to upgrade to the latest "minor" version.
Tip
It is recommended to update to a new patch version as soon as possible, as important bugs and security vulnerabilities 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:
1
$ composer update
Caution
Beware, if you have some unspecific version constraints in your
composer.json
(e.g. dev-master
), this could upgrade some
non-Symfony libraries to new versions that contain backwards-compatibility
breaking changes.