This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/UPGRADE-5.0.md
2017-12-04 16:23:01 +01:00

692 B

UPGRADE FROM 4.x to 5.0

Security

  • The ContextListener::setLogoutOnUserChange() method has been removed.

SecurityBundle

  • The logout_on_user_change firewall option has been removed.

Translation

  • The FileDumper::setBackup() method has been removed.
  • The TranslationWriter::disableBackup() method has been removed.

Workflow

  • add method has been removed use addWorkflow method in Workflow\Registry instead.
  • SupportStrategyInterface has been removed, use WorkflowSupportStrategyInterface instead.
  • ClassInstanceSupportStrategy has been removed, use InstanceOfSupportStrategy instead.