Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.41 KB

File metadata and controls

31 lines (19 loc) · 1.41 KB

UPGRADE FROM 2.0 TO 2.1

Changes

  1. Added support for configurable invoice sequence scoping via the SYLIUS_INVOICING_SEQUENCE_SCOPE environment variable:
  • monthly: resets invoice numbering each month
  • annually: resets invoice numbering each year
  • global or unset (default): uses a single global sequence (as previously)

Deprecations

  1. Not passing the $scope argument (of type InvoiceSequenceScopeEnum) to the constructor of SequentialInvoiceNumberGenerator is deprecated and will be required starting from version 3.0.

UPGRADE FROM 1.X TO 2.0

  1. Support for Sylius 2.0 has been added, it is now the recommended Sylius version to use with InvoicingPlugin.

  2. Support for Sylius 1.X has been dropped, upgrade your application to Sylius 2.0.

  3. The minimum supported version of PHP has been increased to 8.2.

  4. The sylius_invoicing_plugin_admin_order_invoices_partial and sylius_invoicing_plugin_shop_order_invoices_partial partials have been replaced by Sylius\InvoicingPlugin\Twig\Component\Invoice\ListComponent twig component.

  5. Doctrine migrations have been regenerated, meaning all previous migration files have been removed and their content is now in a single migration file. To apply the new migration and get rid of the old entries run migrations as usual:

        bin/console doctrine:migrations:migrate --no-interaction