Skip to content

Commit

Permalink
update upgrade file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMilek committed Nov 21, 2024
1 parent db3f11d commit 698153a
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,82 @@
+ class: "%sylius.model.channel.class%"
# ...
```

1. Service and Alias Refactoring for [New Naming Convention](https://github.com/Sylius/Sylius/blob/2.0/adr/2024_10_03_services_naming_convention.md)
Including the following changes:

#### Root configuration key

```diff
- sylius_invoicing_plugin:
+ sylius_invoicing:
```

#### Routing

| Old route | New route |
|------------------------------------------------------|-----------------------------------------------|
| sylius_invoicing_plugin_invoice | sylius_invoicing_invoice |
| sylius_invoicing_plugin_admin_invoice_show | sylius_invoicing_admin_invoice_show |
| sylius_invoicing_plugin_admin_invoice_download | sylius_invoicing_admin_invoice_download |
| sylius_invoicing_plugin_admin_invoice_resend | sylius_invoicing_admin_invoice_resend |
| sylius_invoicing_plugin_admin_order_invoices_partial | sylius_invoicing_admin_order_invoices_partial |
| sylius_invoicing_plugin_shop_invoice_download | sylius_invoicing_shop_invoice_download |
| sylius_invoicing_plugin_shop_order_invoices_partial | sylius_invoicing_shop_order_invoices_partial |
| sylius_invoicing_plugin_admin | sylius_invoicing_admin |
| sylius_invoicing_plugin_shop | sylius_invoicing_shop |

#### Grids

| Old grid | New grid |
|---------------------------------|--------------------------|
| sylius_invoicing_plugin_invoice | sylius_invoicing_invoice |

#### Changed Services

| Old id | New id |
|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| sylius_invoicing_plugin.event_listener.workflow.payment.produce_order_payment_paid | sylius_invoicing.event_listener.workflow.payment.produce_order_payment_paid |
| sylius_invoicing_plugin.ui.action.download_invoice | sylius_invoicing.ui.action.download_invoice |
| sylius_invoicing_plugin.ui.action.resend_invoice | sylius_invoicing.ui.action.resend_invoice |
| sylius_invoicing_plugin.cli.generate_invoices | sylius_invoicing.cli.generate_invoices |
| sylius_invoicing_plugin.converter.order_item_units_to_line_items | sylius_invoicing.converter.order_item_units_to_line_items |
| sylius_invoicing_plugin.converter.shipping_adjustments_to_line_items | sylius_invoicing.converter.shipping_adjustments_to_line_items |
| sylius_invoicing_plugin.converter.tax_items | sylius_invoicing.converter.tax_items |
| sylius_invoicing_plugin.fixture.example_factory.invoicing_plugin_shop_billing_data | sylius_invoicing.fixture.example_factory.invoicing_plugin_shop_billing_data |
| sylius_invoicing_plugin.fixture.shop_billing_data_fixture | sylius_invoicing.fixture.shop_billing_data_fixture |
| Sylius\InvoicingPlugin\Fixture\Listener\InvoicesPurgerListener | sylius_invoicing.fixture.listener.invoices_purger |
| sylius_invoicing_plugin.generator.invoice_number_generator | sylius_invoicing.generator.invoice_number_generator |
| sylius_invoicing_plugin.generator.invoice_identifier | sylius_invoicing.generator.invoice_identifier |
| sylius_invoicing_plugin.generator.invoice | sylius_invoicing.generator.invoice |
| sylius_invoicing_plugin.generator.invoice_pdf_file | sylius_invoicing.generator.invoice_pdf_file |
| sylius_invoicing_plugin.creator.invoice | sylius_invoicing.creator.invoice |
| sylius_invoicing_plugin.creator.mass_invoices | sylius_invoicing.creator.mass_invoices |
| sylius_invoicing_plugin.generator.pdf_options | sylius_invoicing.generator.pdf_options |
| sylius_invoicing_plugin.generator.twig_to_pdf | sylius_invoicing.generator.twig_to_pdf |
| sylius_invoicing_plugin.event_producer.order_payment_paid | sylius_invoicing.event_producer.order_payment_paid |
| sylius_invoicing_plugin.event_listener.order_placed | sylius_invoicing.event_listener.order_placed |
| sylius_invoicing_plugin.event_producer.order_placed | sylius_invoicing.event_producer.order_placed |
| sylius_invoicing_plugin.listener.order_payment_paid | sylius_invoicing.event_listener.order_payment_paid |
| sylius_invoicing_plugin.ui.menu.admin_menu_listener | sylius_invoicing.ui.menu.admin_menu_listener |
| sylius_invoicing_plugin.email.invoice_email_sender | sylius_invoicing.email.invoice_email_sender |
| sylius_invoicing_plugin.command_handler.send_invoice_email | sylius_invoicing.command_handler.send_invoice_email |
| sylius_invoicing_plugin.provider.tax_rate_percentage | sylius_invoicing.provider.tax_rate_percentage |
| sylius_invoicing_plugin.custom_factory.invoice | sylius_invoicing.custom_factory.invoice |
| sylius_invoicing_plugin_security.voter.invoice | sylius_invoicing.security.voter.invoice |

#### Introduced aliases

| Service id | Alias Name |
|-----------------------------------------------|--------------------------------------------------------------------|
| sylius_invoicing.generator.invoice_file_name | Sylius\InvoicingPlugin\Generator\InvoiceFileNameGeneratorInterface |
| sylius_invoicing.generator.invoice_pdf_file | Sylius\InvoicingPlugin\Generator\InvoicePdfFileGeneratorInterface |
| sylius_invoicing.creator.invoice | Sylius\InvoicingPlugin\Creator\InvoiceCreatorInterface |
| sylius_invoicing.creator.mass_invoices | Sylius\InvoicingPlugin\Creator\MassInvoicesCreatorInterface |
| sylius_invoicing.generator.pdf_options | Sylius\InvoicingPlugin\Generator\PdfOptionsGeneratorInterface |
| sylius_invoicing.generator.twig_to_pdf | Sylius\InvoicingPlugin\Generator\TwigToPdfGeneratorInterface |
| sylius_invoicing.manager.invoice_file | Sylius\InvoicingPlugin\Manager\InvoiceFileManagerInterface |
| sylius_invoicing.provider.invoice_file | Sylius\InvoicingPlugin\Provider\InvoiceFileProviderInterface |
| sylius_invoicing.provider.tax_rate_percentage | Sylius\InvoicingPlugin\Provider\TaxRatePercentageProviderInterface |
| sylius_invoicing.custom_factory.invoice | Sylius\InvoicingPlugin\Factory\InvoiceFactoryInterface |
| sylius_invoicing.provider.unit_net_price | Sylius\InvoicingPlugin\Provider\UnitNetPriceProviderInterface |

0 comments on commit 698153a

Please sign in to comment.