Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Proposing unstable upgrade changes#8625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -7,54 +7,52 @@ they are released as stable versions. | ||
| Creating a New Project Based on an Unstable Symfony Version | ||
| ----------------------------------------------------------- | ||
| Suppose thattheSymfony4.0 version hasn't been released yet and you want to create | ||
| a new project to test its features. First, :doc:`install the Composer </setup/composer>` | ||
| package manager. Then, open a command console, enter your project's directory and | ||
| execute the following command: | ||
| .. code-block:: terminal | ||
| # Download the latest beta version | ||
| $ composer create-project symfony/skeleton my_project "4.0.*" -s=beta | ||
| # Download the absolute latest commit | ||
| $ composer create-project symfony/skeleton my_project "4.0.*" -s=dev | ||
| Once the command finishes its execution, you'll have a new Symfony project created | ||
| in the ``my_project/`` directory. | ||
| Upgrading your Project to an Unstable Symfony Version | ||
| ----------------------------------------------------- | ||
| Suppose again that Symfony4.0 hasn't been released yet and you want to upgrade | ||
| an existing application to test that your project works with it. | ||
| First, open the ``composer.json`` file located in the root directory of your | ||
| project. Then, edit the value ofall ofthe ``symfony/*`` libraries to the | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. this is a bit tricky as, for example, the release cycle of MonologBundle or SwiftmailerBundle (as well as the polyfill libraries) is independent from the framework's release cycle | ||
| new version and change your ``minimum-stability`` to ``beta``: | ||
| .. code-block::diff | ||
| { | ||
| "require": { | ||
| + "symfony/framework-bundle": "^4.0", | ||
| + "symfony/finder": "^4.0", | ||
| "...": "..." | ||
| }, | ||
| + "minimum-stability": "beta" | ||
| } | ||
| You can also use set ``minimum-stability`` to ``dev``, or omit this line | ||
| entirely, and opt into your stability on each package by using constraints | ||
| like ``4.0.*@beta``. | ||
| Finally, from aterminal, update your project's dependencies: | ||
| .. code-block:: terminal | ||
| $ composer update | ||
| After upgrading the Symfony version, read the :ref:`Symfony Upgrading Guide <upgrade-major-symfony-deprecations>` | ||
| to learn how you should proceed to update your application's code in case the new | ||