From 40a1c7868979d52959fc824d675605b90ec0dbde Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Tue, 10 Jul 2018 13:29:42 +0200 Subject: [PATCH] Mention BC breaks caused while fixing security issues --- UPGRADE-1.2.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/UPGRADE-1.2.md b/UPGRADE-1.2.md index 7ee764ab38e..98ed0085674 100644 --- a/UPGRADE-1.2.md +++ b/UPGRADE-1.2.md @@ -1,3 +1,14 @@ +# UPGRADE FROM `v1.2.2` TO `v1.2.3` + +* **BC BREAK**: `OrderShowMenuBuilder` constructor now requires the fourth argument being + `Symfony\Component\Security\Csrf\CsrfTokenManagerInterface` instance due to security reasons. + +# UPGRADE FROM `v1.2.0` TO `v1.2.2` + +* **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. + # UPGRADE FROM `v1.1.X` TO `v1.2.0` ## Codebase