Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.01 KB

UPGRADE-3.0.md

File metadata and controls

25 lines (15 loc) · 1.01 KB

UPGRADE FROM 2.X to 3.0

BC Break

This section list all the changes that are considered BC Break and will node code adjustment from upgrading to version 3 (not released yet).

Entity

  • Remove Smart\SonataBundle\Entity\Log\BatchLog, use Smart\CoreBundle\Entity\ProcessTrait and Smart\CoreBundle\Entity\ProcessInterface instead
  • Remove Smart\SonataBundle\Entity\Log\HistorizableInterface, use Smart\CoreBundle\Entity\Log\HistorizableInterface instead
  • Remove Smart\SonataBundle\Entity\Log\HistorizableTrait, use Smart\CoreBundle\Entity\Log\HistorizableTrait instead

Logger

  • Remove Smart\SonataBundle\Logger\BatchLogger, use Smart\CoreBundle\Monitor\ProcessMonitor instead
  • Remove Smart\SonataBundle\Logger\HistoryLogger, use Smart\CoreBundle\Logger\HistoryLogger instead

Security

  • SmartUserInterface now extends MailableInterface so you need to define his methods

Templates

  • Remove timeline_history_field.html.twig, use show_history_field.html.twig instead