- BC BREAK:
OrderShowMenuBuilder
constructor now requires the fourth argument beingSymfony\Component\Security\Csrf\CsrfTokenManagerInterface
instance due to security reasons.
- BC BREAK:
Sylius\Bundle\ResourceBundle\Controller::applyStateMachineTransitionAction
method now includes CSRF token checks due to security reasons. If you used it for REST API, these checks can be disabled by addingcsrf_protection: false
to your routing configuration.
-
Scanning for
composer.json
file inside themes directories is recursive by default, which can result in slow performance when e.g. anode_modules
folder is present inside a theme folder. Supply the optionalscan_depth
(integer) setting to thesylius_theme
configuration to restrict scanning for the theme configuration file to a specific depth inside the specified theme directories. -
Methods
createQueryBuilderByProductCode
andfindOneByIdAndProductCode
were added toSylius\Component\Core\Repository\ProductReviewRepositoryInterface
(no manual action needed if your implementation extendsSylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository
). -
Copy the following migrations from
vendor/sylius/sylius/app/migrations
to your own application, review them and apply them afterwards.Version20170913125128.php
Version20171003103916.php
Version20180102140039.php