Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.44 KB

UPGRADE-1.5.md

File metadata and controls

25 lines (18 loc) · 1.44 KB

UPGRADE FROM 1.4.X TO 1.5.0

  1. Passing $creditMemoPdfFileGenerator and $fileManager to the constructor of Sylius\RefundPlugin\Sender\CreditMemoEmailSender as the first and third arguments respectively has been deprecated and will be prohibited in 2.0.

  2. The Sylius\RefundPlugin\File\FileManagerInterface interface, Sylius\RefundPlugin\File\TemporaryFileManager class and service with id Sylius\RefundPlugin\File\TemporaryFileManager have all been deprecated and will be removed in 2.0. There is no replacement.

  3. A factory for the Sylius\RefundPlugin\Entity\LineItem has been added with service id Sylius\RefundPlugin\Factory\LineItemFactoryInterface. It is recommended to use it instead of instantiating the LineItem directly.

  4. Not passing an instance of Sylius\RefundPlugin\Factory\LineItemFactoryInterface to the constructors of Sylius\RefundPlugin\Converter\LineItem\OrderItemUnitLineItemsConverter and Sylius\RefundPlugin\Converter\LineItem\ShipmentLineItemsConverter has been deprecated and will be prohibited in 2.0.

  5. Support for Sylius 1.13 has been added, it is now the recommended Sylius version to use with RefundPlugin.

  6. Support for Sylius 1.11 has been dropped, upgrade your application to Sylius 1.12. or to Sylius 1.13.

  7. Support for PHP 8.0 has been dropped.