Skip to content

Commit

Permalink
added upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
vitek-rostislav committed Jul 26, 2022
1 parent ca2cc5b commit 25bce14
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion upgrade/UPGRADE-v11.0.0-dev.md
Expand Up @@ -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))
Expand Down Expand Up @@ -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
- 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

0 comments on commit 25bce14

Please sign in to comment.