2.9 KiB
2.9 KiB
CHANGELOG
6.4
UserValueResolverno longer implementsArgumentValueResolverInterface- Deprecate calling the constructor of
DefaultLoginRateLimiterwith an empty secret
6.3
- Add
RememberMeBadgetoJsonLoginAuthenticatorand enable reading parameter in JSON request body - Add argument
$exceptionCodeto#[IsGranted] - Deprecate passing a secret as the 2nd argument to the constructor of
Symfony\Component\Security\Http\RememberMe\PersistentRememberMeHandler - Add
OidcUserInfoTokenHandlerandOidcTokenHandlerwith OIDC support forAccessTokenAuthenticator - Add
attributesoptional array argument inUserBadge - Call
UserBadge::userLoaderwith attributes if the argument is set - Allow to override badge fqcn on
Passport::addBadge - Add
SecurityTokenValueResolverto inject token as controller argument
6.2
- Add maximum username length enforcement of 4096 characters in
UserBadge - Add
#[IsGranted()] - Deprecate empty username or password when using when using
JsonLoginAuthenticator - Set custom lifetime for login link
- Add
$lifetimeparameter toLoginLinkHandlerInterface::createLoginLink() - Add RFC6750 Access Token support to allow token-based authentication
- Allow using expressions as
#[IsGranted()]attribute and subject
6.0
- Remove
LogoutSuccessHandlerInterfaceandLogoutHandlerInterface, register a listener on theLogoutEventevent instead - Remove
CookieClearingLogoutHandler,SessionLogoutHandlerandCsrfTokenClearingLogoutHandler. UseCookieClearingLogoutListener,SessionLogoutListenerandCsrfTokenClearingLogoutListenerinstead
5.4
- Deprecate the
$authenticationEntryPointargument ofChannelListener, and add$httpPortand$httpsPortarguments - Deprecate
RetryAuthenticationEntryPoint, this code is now inlined in theChannelListener - Deprecate
FormAuthenticationEntryPointandBasicAuthenticationEntryPoint, in the new system theFormLoginAuthenticatorandHttpBasicAuthenticatorshould be used instead - Deprecate
AbstractRememberMeServices,PersistentTokenBasedRememberMeServices,RememberMeServicesInterface,TokenBasedRememberMeServices, use the remember me handler alternatives instead - Deprecate the
$authManagerargument ofAccessListener - Deprecate not setting the
$exceptionOnNoTokenargument ofAccessListenertofalse - Deprecate
DeauthenticatedEvent, useTokenDeauthenticatedEventinstead - Deprecate
CookieClearingLogoutHandler,SessionLogoutHandlerandCsrfTokenClearingLogoutHandler. UseCookieClearingLogoutListener,SessionLogoutListenerandCsrfTokenClearingLogoutListenerinstead - Deprecate
PassportInterface,UserPassportInterfaceandPassportTrait, usePassportinstead
5.3
The CHANGELOG for version 5.3 and earlier can be found at https://github.com/symfony/symfony/blob/5.3/src/Symfony/Component/Security/CHANGELOG.md