diff --git a/UPGRADE-1.0.md b/UPGRADE-1.0.md index 8f0b16ec14a..9ee0dfdade4 100644 --- a/UPGRADE-1.0.md +++ b/UPGRADE-1.0.md @@ -1,6 +1,11 @@ +# UPGRADE FROM `v1.0.17` TO `v1.0.18` + +* **BC BREAK**: `OrderShowMenuBuilder` constructor now requires the fourth argument being + `Symfony\Component\Security\Csrf\CsrfTokenManagerInterface` instance due to security reasons. + # UPGRADE FROM `v1.0.16` TO `v1.0.17` -* `Sylius\Bundle\ResourceBundle\Controller::applyStateMachineTransitionAction` method now includes CSRF token checks due +* **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 adding `csrf_protection: false` to your routing configuration.