8000 Document session issue when upgrading from Symfony 4.x by ajgarlag · Pull Request #44801 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Document session issue when upgrading from Symfony 4.x #44801

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
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Document session issue when upgrading from Symfony 4.x
  • Loading branch information
ajgarlag committed Dec 27, 2021
commit 79aa92f8f5bfeabc094b270eca2014f2e82a44e2
3 changes: 2 additions & 1 deletion UPGRADE-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ Security
```
* The `LdapUserProvider` class has been removed, use `Symfony\Component\Ldap\Security\LdapUserProvider` instead.
* Implementations of `PasswordEncoderInterface` and `UserPasswordEncoderInterface` must have a new `needsRehash()` method
* The `Role` and `SwitchUserRole` classes have been removed.
* The `Role` and `SwitchUserRole` classes have been removed. This change will terminate all active sessions when upgrading from Symfony 4.x.
To avoid this issue, require the `ajgl/sf4-to-sf5-role-unserialization` component in you composer.json.
* The `getReachableRoles()` method of the `RoleHierarchy` class has been removed. It has been replaced by the new
`getReachableRoleNames()` method.
* The `getRoles()` method has been removed from the `TokenInterface`. It has been replaced by the new
Expand Down
0