Skip to content

Commit d39cfcc

Browse files
committed
minor #19541 [5.4] add note about newer version on the “upgrade major” guide (alexislefebvre)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [5.4] add note about newer version on the “upgrade major” guide Suggestion for https://symfony.com/doc/5.x/setup/upgrade_major.html#2-update-to-the-new-major-version-via-composer It looks like this page is useful when a major version has just been released, but I think that it can be misleading once a newer version has been released. So I added a note so that users don't follow the guide blindly and install `6.0`, but use a newer version when it's applicable. Commits ------- 259482f [5.4] add note about newer version on the “upgrade major” guide
2 parents eec7a8e + 259482f commit d39cfcc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup/upgrade_major.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,12 @@ this one. For instance, update it to ``6.0.*`` to upgrade to Symfony 6.0:
176176
}
177177
}
178178
179+
180+
.. tip::
181+
182+
If a more recent minor version is available, e.g. ``6.4``, you can use this version directly
183+
and skip the older releases, like ``6.0``. Check the `available versions`_.
184+
179185
Next, use Composer to download new versions of the libraries:
180186

181187
.. code-block:: terminal
@@ -335,3 +341,4 @@ Classes in the ``vendor/`` directory are always ignored.
335341

336342
.. _`PHP CS Fixer`: https://github.com/friendsofphp/php-cs-fixer
337343
.. _`Rector`: https://github.com/rectorphp/rector
344+
.. _`available versions`: https://symfony.com/releases

0 commit comments

Comments
 (0)