8000 Upgrade Kernel from 5.0 to 5.1 · Issue #13753 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

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

Closed
Cartman34 opened this issue Jun 4, 2020 · 7 comments
Closed

Upgrade Kernel from 5.0 to 5.1 #13753

Cartman34 opened this issue Jun 4, 2020 · 7 comments

Comments

@Cartman34
Copy link

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.

@maxhelias
Copy link
Contributor

The kernel is in a recipe, see the note to update your recipe : https://symfony.com/doc/current/setup/upgrade_minor.html#updating-recipes

@Cartman34
Copy link
Author

Okay, so now, I understand more about recipes. But Is there any documentation about using Kernel ?

@maxhelias
Copy link
Contributor

@Cartman34
Copy link
Author

Recipes does not contain information about upgrade, this is only replacing the existing files with new version.
These documentations about Kernel are incomplete, there is nothing about build container in Kernel.

@maxhelias
Copy link
Contributor

About upgrading, the following command (compose recipes symfony/framework-bundle) as guide information for migration would be enough or not ?
The link "recipes history" displays the modifications made since the version installed on the project

Capture d’écran 2020-06-08 à 09 50 55

If so, a little promotion in side of Flex about this command could correct this problem.

@javiereguiluz
Copy link
Member

I'm closing this one in favor of:

Thanks!

@qharnay
Copy link
qharnay commented Aug 6, 2020

"If I may": updating recipes (and their related documentation) can only be relevant to bare symfony applications users.
What if an application makes uses of symfony ( ie : migrating a huge legacy app to tend to be a symfony app) and do not rely on recipes ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0