-
The following constructor signatures have been changed:
Sylius\CmsPlugin\Renderer\ContentElement\ProductsCarouselContentElementRendererpublic function __construct( - private ProductRepositoryInterface $productRepository, + private ProductsProviderInterface|ProductRepositoryInterface $productsProvider, )
Sylius\CmsPlugin\Renderer\ContentElement\ProductsCarouselByTaxonContentElementRendererpublic function __construct( - private ProductRepositoryInterface $productRepository, - private TaxonRepositoryInterface $taxonRepository, + private ProductsProviderInterface|ProductRepositoryInterface $productsProvider, + private ?TaxonRepositoryInterface $taxonRepository = null, )
Sylius\CmsPlugin\Renderer\ContentElement\ProductsGridContentElementRendererpublic function __construct( - private ProductRepositoryInterface $productRepository, + private ProductsProviderInterface|ProductRepositoryInterface $productsProvider, )
Sylius\CmsPlugin\Renderer\ContentElement\ProductsGridByTaxonContentElementRendererpublic function __construct( - private ProductRepositoryInterface $productRepository, - private TaxonRepositoryInterface $taxonRepository, + private ProductsProviderInterface|ProductRepositoryInterface $productsProvider, + private ?TaxonRepositoryInterface $taxonRepository = null, )
For backward compatibility, the old constructor signatures are still supported but deprecated. Passing repository interfaces will trigger a deprecation notice and will be removed in version 2.0.
A new Quill WYSIWYG editor is available alongside the existing Trix editor.
The default remains trix, so no action is required to keep the previous behavior.
See the documentation for setup and configuration details: https://docs.sylius.com/cms-plugin/development/wysiwyg-editors