From b3f2003286c4b6f39be556a9c2d3ee6afd1d5cdb Mon Sep 17 00:00:00 2001 From: Kamil Grygierzec Date: Thu, 21 Nov 2024 13:08:53 +0100 Subject: [PATCH] update upgrade file --- UPGRADE.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 52fad818..79e75790 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -100,3 +100,61 @@ + 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: + ``` + +#### 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 | + +#### 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 |