From 25bce14500fa9a72fe1323089c8ec087a1f50325 Mon Sep 17 00:00:00 2001 From: Rostislav Vitek Date: Tue, 26 Jul 2022 22:44:05 +0200 Subject: [PATCH] added upgrade notes --- upgrade/UPGRADE-v11.0.0-dev.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/upgrade/UPGRADE-v11.0.0-dev.md b/upgrade/UPGRADE-v11.0.0-dev.md index 63d12b53ac5..f65b8811371 100644 --- a/upgrade/UPGRADE-v11.0.0-dev.md +++ b/upgrade/UPGRADE-v11.0.0-dev.md @@ -865,6 +865,25 @@ There you can find links to upgrade notes for other versions too. - static `tc()` method was removed from `\Shopsys\FrameworkBundle\Component\Translation\Translator`, use `t()` with `count` parameter instead - static `tc()` function was removed from global namespace, use `t()` with `count` parameter instead +- avoid the session starting in the frontend API ([#2497](https://github.com/shopsys/shopsys/pull/2497)) + - beware, the changes might affect you even if you do not use the FE API in your project + - class `Shopsys\FrameworkBundle\Component\Error\LogoutExceptionSubscriber`: + - property `$flashBag` was removed, you can use `$this->flashBagProvider->getFlashBag()` to access the implementation of `FlashBagInterface` instead + - the constructor changed the interface: + ```diff + public function __construct( + - FlashBagInterface $flashBag, + + FlashBagProvider $flashBagProvider, + ``` + - class `Shopsys\FrameworkBundle\Model\Cart\Watcher\CartWatcherFacade`: + - property `$flashBag` was removed, you can use `$this->flashBagProvider->getFlashBag()` to access the implementation of `FlashBagInterface` instead + - the constructor changed the interface: + ```diff + public function __construct( + - FlashBagInterface $flashBag, + + FlashBagProvider $flashBagProvider, + ``` + ## Composer dependencies - replace swiftmailer with symfony/mailer ([#2470](https://github.com/shopsys/shopsys/pull/2470)) @@ -941,4 +960,4 @@ There you can find links to upgrade notes for other versions too. - resolve: "@=mutation('create_order', [args, validator])" + resolve: resolve: "@=mutation('create_order', args, validator)" ``` - - check other changes in [GraphQLBundle UPGRADE notes](https://github.com/overblog/GraphQLBundle/blob/master/UPGRADE.md#upgrade-from-013-to-014) and implement them in your codebase \ No newline at end of file + - check other changes in [GraphQLBundle UPGRADE notes](https://github.com/overblog/GraphQLBundle/blob/master/UPGRADE.md#upgrade-from-013-to-014) and implement them in your codebase