-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Update to Symfony 7.2 #1529
Update to Symfony 7.2 #1529
Conversation
I have two questions: @nicolas-grekas do you agree on using an empty value for the @stof do you know which is the best way to solve this PHPStan issue?
Thanks! |
@javiereguiluz annotating the User entity to tell phpstan that the identifier property contains a |
A non empty kernel.secret is required for remember_me, so we cannot empty it, unless we also comment out the remember me feature in security.yaml |
@stof I tried adding the Line 53 in 22d4acf
@nicolas-grekas if I use an empty |
@javiereguiluz aren't you seeing a deprecation at least ? |
No. Now I also removed |
That's a bug, fixed by symfony/symfony#58419 |
Actually that's not enough because ESI/fragments need the secret also. |
…ompute `kernel.secret` (nicolas-grekas) This PR was merged into the 7.2 branch. Discussion ---------- [FrameworkBundle] Never hash the empty decryption key to compute `kernel.secret` | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT As spotted by `@javiereguiluz` in symfony/demo#1529 (comment) Commits ------- b6d6bc1 [FrameworkBundle] Never hash the empty decryption key to compute kernel.secret
…ompute `kernel.secret` (nicolas-grekas) This PR was merged into the 7.2 branch. Discussion ---------- [FrameworkBundle] Never hash the empty decryption key to compute `kernel.secret` | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT As spotted by `@javiereguiluz` in symfony/demo#1529 (comment) Commits ------- b6d6bc1fa33 [FrameworkBundle] Never hash the empty decryption key to compute kernel.secret
Closing in favor of #1532. |
This PR was merged into the main branch. Discussion ---------- Upgrade to Symfony 7.2 This PR is based on #1529 with the following changes: - composer.lock is no committed, so that people always get the latest dependencies (note that this is how e.g. laravel installation works, so we're not inventing anything here, this is proven strategy.) - because composer.lock is not committed, flex will run recipes that are not found in symfony.lock. In this PR, I removed listing symfony/framework-bundle there, so that its recipe is run when installing the demo app. As a result and thanks to symfony/recipes#1342, flex will generate APP_SECRET in .env.local - I also synced all recipes meanwhile Commits ------- 10afb78 Sync with latest recipes 8fc2dd4 Remove some unneeded config options 74d38a5 Remove the value of the APP_SECRET env var 71ff694 Update symfony/framework-bundle recipe 305f15c Update doctrine/doctrine-bundle recipe 837583a Update dependencies
No description provided.