Skip to content

4.0.0

Choose a tag to compare

@lruozzi9 lruozzi9 released this 06 Dec 15:40
· 23 commits to master since this release

What's Changed

  • Show how to add plugin's scripts to Webpack by @lruozzi9 in #71
  • Improve product variant availability check by @lruozzi9 in #73
  • Simple product subscription refactor by @lruozzi9 in #74

BC

TL;DR

  • The arguments of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() are changed.

Changelog

  • The parameter $validator of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Symfony\Component\Validator\Validator\ValidatorInterface to a non-contravariant Sylius\Component\Customer\Context\CustomerContextInterface
  • The parameter $customerContext of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Sylius\Component\Customer\Context\CustomerContextInterface to a non-contravariant Sylius\Component\Inventory\Checker\AvailabilityCheckerInterface
  • The parameter $availabilityChecker of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Sylius\Component\Inventory\Checker\AvailabilityCheckerInterface to a non-contravariant Sylius\Component\Core\Repository\ProductVariantRepositoryInterface
  • The parameter $productVariantRepository of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Sylius\Component\Core\Repository\ProductVariantRepositoryInterface to a non-contravariant Sylius\Component\Mailer\Sender\SenderInterface
  • The parameter $sender of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Sylius\Component\Mailer\Sender\SenderInterface to a non-contravariant Sylius\Component\Locale\Context\LocaleContextInterface
  • The parameter $localeContext of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Sylius\Component\Locale\Context\LocaleContextInterface to a non-contravariant Webgriffe\SyliusBackInStockNotificationPlugin\Repository\SubscriptionRepositoryInterface
  • The parameter $backInStockNotificationRepository of Webgriffe\SyliusBackInStockNotificationPlugin\Controller\SubscriptionController#__construct() changed from Webgriffe\SyliusBackInStockNotificationPlugin\Repository\SubscriptionRepositoryInterface to a non-contravariant Sylius\Component\Resource\Factory\FactoryInterface

New Contributors

Full Changelog: 3.0.3...4.0.0