You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#48414 [Security] Add missing deprecations to UPGRADE-6.2.md file (moismailzai)
This PR was submitted for the 6.3 branch but it was merged into the 6.2 branch instead.
Discussion
----------
[Security] Add missing deprecations to `UPGRADE-6.2.md` file
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | no
| Deprecations? | yes
| Tickets | n/a
| License | MIT
| Doc PR | n/a
Add a note about a deprecated property and its replacement.
note the deprecation to `Security::LAST_USERNAME`
Commits
-------
591e5cd Update UPGRADE-6.2.md
* Deprecate the `Symfony\Component\Security\Core\Security` class and service, use `Symfony\Bundle\SecurityBundle\Security\Security` instead
89
+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::ACCESS_DENIED_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::ACCESS_DENIED_ERROR` instead
90
+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::AUTHENTICATION_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::AUTHENTICATION_ERROR` instead
91
+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::LAST_USERNAME` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::LAST_USERNAME` instead
92
+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::MAX_USERNAME_LENGTH` property, use `Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge::MAX_USERNAME_LENGTH` instead
89
93
* Passing empty username or password parameter when using `JsonLoginAuthenticator` is not supported anymore
90
94
* Add `$lifetime` parameter to `LoginLinkHandlerInterface::createLoginLink()`
91
95
* Change the signature of `TokenStorageInterface::setToken()` to `setToken(?TokenInterface $token)`
0 commit comments