1.6 KiB
1.6 KiB
UPGRADE FROM 4.x to 5.0
Config
- Added the
getChildNodeDefinitions()
method toParentNodeDefinitionInterface
.
EventDispatcher
- The
TraceableEventDispatcherInterface
has been removed.
FrameworkBundle
- Using a
RouterInterface
that does not implement theWarmableInterface
is not supported anymore.
HttpFoundation
- The
$size
argument of theUploadedFile
constructor has been removed. - The
getClientSize()
method of theUploadedFile
class has been removed.
Security
- The
ContextListener::setLogoutOnUserChange()
method has been removed. - The
Symfony\Component\Security\Core\User\AdvancedUserInterface
has been removed.
SecurityBundle
- The
logout_on_user_change
firewall option has been removed. - The
SecurityUserValueResolver
class has been removed.
Translation
- The
FileDumper::setBackup()
method has been removed. - The
TranslationWriter::disableBackup()
method has been removed.
Validator
- The
Email::__construct()
'strict' property has been removed. Use 'mode'=>"strict" instead. - Calling
EmailValidator::__construct()
method with a boolean parameter has been removed, useEmailValidator("strict")
instead. - Removed the
checkDNS
anddnsMessage
options from theUrl
constraint.
Workflow
add
method has been removed useaddWorkflow
method inWorkflow\Registry
instead.SupportStrategyInterface
has been removed, useWorkflowSupportStrategyInterface
instead.ClassInstanceSupportStrategy
has been removed, useInstanceOfSupportStrategy
instead.