Skip to content

Commit

Permalink
fixup! added upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Nov 20, 2023
1 parent 8c1c75b commit 5f6ffaa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion UPGRADE-14.0.md
Expand Up @@ -157,10 +157,20 @@ Follow the instructions in relevant sections, e.g. `shopsys/coding-standards` or
- public function registerFeed(FeedInterface $feed, ?string $type = null): void
+ public function registerFeed(FeedInterface $feed, string $timeHours, string $timeMinutes, array $domainIds): void
```
- property `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::$feedsByType` has been replaced with new `$feedConfigsByName` property instead
- method `Shopsys\FrameworkBundle\Controller\Admin\FeedController::__construct` changed its interface:
```diff
public function __construct(
protected readonly FeedFacade $feedFacade,
protected readonly GridFactory $gridFactory,
protected readonly Domain $domain,
+ protected readonly FeedRegistry $feedRegistry,
)
```
- method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getFeeds()` has been replaced with method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getFeedsForCurrentTime()`
- method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getAllFeeds()` has been replaced with method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getAllFeedConfigs()`
- method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getFeedByName()` has been replaced with method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::getFeedConfigByName()`
- method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::assertTypeIsKnown()` has been removed without replacement
- method `Shopsys\FrameworkBundle\Model\Feed\FeedRegistry::assertTypeIsKnown()` has been removed without a replacement
- see #project-base-diff to update your project

### Storefront
Expand Down

0 comments on commit 5f6ffaa

Please sign in to comment.