8000 Tweaks · symfony/symfony-docs@cef13f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit cef13f8

Browse files
committed
Tweaks
1 parent 898fb68 commit cef13f8

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

setup/upgrade_minor.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,23 @@ There are two steps to upgrading a minor version:
2121
1) Update the Symfony Library via Composer
2222
------------------------------------------
2323

24-
Your composer.json file should already be configured to allow your Symfony packages to be upgraded minor versions. But, if a package was not upgraded that should have been, check your ``composer.json`` file.
24+
Your ``composer.json`` file should already be configured to allow your Symfony
25+
packages to be upgraded to minor versions. But, if a package was not upgraded,
26+
check that the version constrains of your Symfony dependencies are like this:
2527

2628
.. code-block:: json
2729
2830
{
2931
"...": "...",
3032
3133
"require": {
32-
"symfony/asset": "^4.0",
34+
"symfony/cache": "^4.0",
35+
"symfony/config": "^4.0",
3336
"symfony/console": "^4.0",
34-
"symfony/expression-language": "^4.0",
35-
"symfony/form": "^4.0",
36-
"symfony/framework-bundle": "^4.0",
37-
"symfony/process": "^4.0",
38-
"symfony/security-bundle": "^4.0",
39-
"symfony/twig-bundle": "^4.0",
40-
"symfony/validator": "^4.0",
41-
"symfony/web-link": "^4.0",
42-
"symfony/yaml": "^4.0"
37+
"symfony/debug": "^4.0",
38+
"symfony/dependency-injection": "^4.0",
39+
"symfony/dotenv": "^4.0",
40+
"...": "..."
4341
},
4442
"...": "...",
4543
}

setup/upgrade_patch.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ Upgrading a Patch Version (e.g. 4.1.0 to 4.1.1)
66

77
When a new patch version is released (only the last number changed), it is a
88
release that only contains bug fixes. This means that upgrading to a new patch
9-
version is *really* easy:
9+
version is *really* easy.
1010

11-
To upgrade to a new "patch" release, see the :doc:Upgrading a Minor Version </setup/upgrade_minor> documentation. Thanks to Symfony's backwards compatibility promise, it's always safe to upgrade to the latest "minor" version.
11+
To upgrade to a new "patch" release, read the
12+
:doc:`Upgrading a Minor Version </setup/upgrade_minor>` article. Thanks to
13+
Symfony's :doc`backwards compatibility promise </contributing/code/bc>`, it's
14+
always safe to upgrade to the latest "minor" version.
1215

1316
.. tip::
1417

0 commit comments

Comments
 (0)
0