- Deprecate
DoctrineProvider
because this class has been added to thedoctrine/cache
package`
- Deprecate
Comparator::setTarget()
andComparator::setOperator()
- Add a constructor to
Comparator
that allows setting target and operator
- Deprecate the
AdapterInterface
autowiring alias, useCacheItemPoolInterface
instead - Deprecate the public
profiler
service to private
- Deprecate
AbstractTestSessionListener::getSession
inject a session in the request instead
- Mark
Request::get()
internal, use explicit input sources instead
- Deprecate not setting the
delete_after_ack
config option (or DSN parameter) using the Redis transport, its default value will change totrue
in 6.0
- Deprecate the
always_authenticate_before_granting
option
-
Deprecate setting the 4th argument (
$alwaysAuthenticate
) totrue
and not setting the 5th argument ($exceptionOnNoToken
) tofalse
ofAuthorizationChecker
(this is the default behavior when usingenable_authenticator_manager: true
) -
Deprecate not setting the 5th argument (
$exceptionOnNoToken
) ofAccessListener
tofalse
(this is the default behavior when usingenable_authenticator_manager: true
) -
Deprecate
TokenInterface:isAuthenticated()
andsetAuthenticated()
methods without replacement. Security tokens won't have an "authenticated" flag anymore, so they will always be considered authenticated -
Deprecate
DeauthenticatedEvent
, useTokenDeauthenticatedEvent
instead -
Deprecate
CookieClearingLogoutHandler
,SessionLogoutHandler
andCsrfTokenClearingLogoutHandler
. UseCookieClearingLogoutListener
,SessionLogoutListener
andCsrfTokenClearingLogoutListener
instead -
Deprecate
AuthenticatorInterface::createAuthenticatedToken()
, useAuthenticatorInterface::createToken()
instead -
Deprecate
PassportInterface
andUserPassportInterface
, usePassport
instead. As such, the return type declaration ofAuthenticatorInterface::authenticate()
will change toPassport
in 6.0Before:
class MyAuthenticator implements AuthenticatorInterface { public function authenticate(Request $request): PassportInterface { } }
After:
class MyAuthenticator implements AuthenticatorInterface { public function authenticate(Request $request): Passport { } }