-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Upgrade Kernel from 5.0 to 5.1 #13753
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The kernel is in a recipe, see the note to update your recipe : https://symfony.com/doc/current/setup/upgrade_minor.html#updating-recipes |
Okay, so now, I understand more about recipes. But Is there any documentation about using Kernel ? |
Recipes does not contain information about upgrade, this is only replacing the existing files with new version. |
About upgrading, the following command ( If so, a little promotion in side of Flex about this command could correct this problem. |
I'm closing this one in favor of:
Thanks! |
"If I may": updating recipes (and their related documentation) can only be relevant to bare symfony applications users. |
Hello,
I got several hours of trouble upgrading Kernel because the upgrade & kernel usage is not documented.
Kernel class changed a lot between 5.0 & 5.1.
About my Kernel 5.0, this is a Kernel generated for new Symfony 5.0 project using composer create project command. I am using my own extension included in this Kernel to allow my own configuration file.
Kernel_5.0.php.txt
About my Kernel 5.1, this a Kernel generated for another brand new I imported and edited to include my own extension. My extension class was also moved to another namespace.
Kernel_5.1.php.txt
As you can see, bote files are really differents.
I advise all people upgrading the kernel to use the new one and to include their changes after.
The text was updated successfully, but these errors were encountered: