From cea9cb9cfcc53a1d743af2eeb161e8b7811e5da7 Mon Sep 17 00:00:00 2001 From: Malte Janz Date: Fri, 20 Dec 2024 09:41:47 +0100 Subject: [PATCH] MIG-1085 - Prepare release 9.0.0 --- CHANGELOG.md | 22 +++------------------- CHANGELOG_de-DE.md | 21 +++------------------ UPGRADE.md | 20 ++++++++++++++++++++ composer.json | 4 ++-- 4 files changed, 28 insertions(+), 39 deletions(-) create mode 100644 UPGRADE.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aecba0..c17000e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,7 @@ -# REPLACE_GLOBAL_WITH_NEXT_VERSION +# 9.0.0 +- Moved technical and breaking changes to https://github.com/shopware/SwagMigrationMagento/blob/trunk/UPGRADE.md - MIG-1039 - Updated country state conversion to use new methods provided by the migration assistant -- MIG-1039 - [BREAKING] Removed method `getCountryStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingServiceInterface` and its default implementation `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` -- MIG-1071 - Move to the new Lookup service structure - - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LowestRootCategoryLookup $lowestRootCategoryLookup`, `DefaultCmsPageLookup $defaultCmsPageLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CategoryConverter` - - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CountryConverter` - - [BREAKING] Added new constructor parameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CurrencyConverter` - - [BREAKING] Added new constructor parameter `CountryLookup $countryLookup`, `CountryStateLookup $countryStateLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CustomerConverter` - - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup`, `LocaleLookup $localeLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\LanguageConverter` - - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\ManufacturerConverter` - - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\MediaConverter` - - [BREAKING] Added new constructor parameter `CountryLookup $countryLookup`, `CurrencyLookup $currencyLookup`, `CountryStateLookup $countryStateLookup`, `TransactionStateLookup $magentoTransactionStateLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\OrderConverter` - - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\ProductConverter` - - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\PropertyGroupConverter` - - [BREAKING] Added new constructor parameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` to `\Swag\MigrationMagento\Profile\Magento\Converter\SalesChannelConverter` - - [BREAKING] Added new constructor parameter ``, `` to `` - - [BREAKING] Removed method `getMagentoCountryUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryLookup::get()` instead. - - [BREAKING] Removed method `getTransactionStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\TransactionStateLookup::get()` instead. - - [BREAKING] Removed method `getCountryStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryStateLookup::get()` instead. -- MIG-1091 - Fixed errors in the service container that occurred due to the move to Lookup Services +- MIG-1071 - Optimized identifier lookup by utilizing new methods provided by the migration assistant # 8.1.0 - MIG-1034 - Fixed country states not being migrated for both customer and order addresses diff --git a/CHANGELOG_de-DE.md b/CHANGELOG_de-DE.md index d6eb9c8..aca667f 100644 --- a/CHANGELOG_de-DE.md +++ b/CHANGELOG_de-DE.md @@ -1,22 +1,7 @@ -# REPLACE_GLOBAL_WITH_NEXT_VERSION +# 9.0.0 +- Technische Änderungen und Breaking-Changes wurden nach https://github.com/shopware/SwagMigrationMagento/blob/trunk/UPGRADE.md umgezogen - MIG-1039 - Die Bundesländer werden jetzt über den MigrationAssistent konvertiert -- MIG-1039 - [BREAKING] Methode `getCountryStateUuid` aus `Swag\MigrationMagento\Migration\Mapping\MagentoMappingServiceInterface` und ihrer Standardimplementierung `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` entfernt. -- MIG-1071 - Move to the new Lookup service structure - - [BREAKING] Fügt weitere Konstruktorparameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LowestRootCategoryLookup $lowestRootCategoryLookup`, `DefaultCmsPageLookup $defaultCmsPageLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CategoryConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\CountryConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\CurrencyConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `CountryLookup $countryLookup`, `CountryStateLookup $countryStateLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\CustomerConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `LanguageLookup $languageLookup`, `LocaleLookup $localeLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\LanguageConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `LanguageLookup $languageLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\ManufacturerConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `MediaDefaultFolderLookup $mediaFolderLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\MediaConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `CountryLookup $countryLookup`, `CurrencyLookup $currencyLookup`, `CountryStateLookup $countryStateLookup`, `TransactionStateLookup $magentoTransactionStateLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\OrderConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LanguageLookup $languageLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\ProductConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `LanguageLookup $languageLookup` zu `Swag\MigrationMagento\Profile\Magento\Converter\PropertyGroupConverter` hinzu. - - [BREAKING] Fügt weitere Konstruktorparameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` zu `\Swag\MigrationMagento\Profile\Magento\Converter\SalesChannelConverter` hinzu. - - [BREAKING] Entfernt die Methode `getMagentoCountryUuid` vom `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` und allen die es implementieren. Nutze stattdessen `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryLookup::get()` - - [BREAKING] Entfernt die Methode `getTransactionStateUuid` vom `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` und allen die es implementieren. Nutze stattdessen `SwagMigrationAssistant\Migration\Mapping\Lookup\TransactionStateLookup::get()` - - [BREAKING] Entfernt die Methode `getCountryStateUuid` vom `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` und allen die es implementieren. Nutze stattdessen `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryStateLookup::get()` -- MIG-1091 - Fehler im Service Container behoben, welche durch den Umzug zu Lookup Services entstanden +- MIG-1071 - Mapping von IDs optimiert # 8.1.0 - MIG-1034 - Für Kunden- und Bestelladressen werden jetzt auch die Bundesländer migriert diff --git a/UPGRADE.md b/UPGRADE.md new file mode 100644 index 0000000..9e8c969 --- /dev/null +++ b/UPGRADE.md @@ -0,0 +1,20 @@ +# 9.0.0 +- MIG-1039 - Updated country state conversion to use new methods provided by the migration assistant + - [BREAKING] Removed method `getCountryStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingServiceInterface` and its default implementation `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` +- MIG-1071 - Move to the new Lookup service structure + - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LowestRootCategoryLookup $lowestRootCategoryLookup`, `DefaultCmsPageLookup $defaultCmsPageLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CategoryConverter` + - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CountryConverter` + - [BREAKING] Added new constructor parameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CurrencyConverter` + - [BREAKING] Added new constructor parameter `CountryLookup $countryLookup`, `CountryStateLookup $countryStateLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\CustomerConverter` + - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup`, `LocaleLookup $localeLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\LanguageConverter` + - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\ManufacturerConverter` + - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\MediaConverter` + - [BREAKING] Added new constructor parameter `CountryLookup $countryLookup`, `CurrencyLookup $currencyLookup`, `CountryStateLookup $countryStateLookup`, `TransactionStateLookup $magentoTransactionStateLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\OrderConverter` + - [BREAKING] Added new constructor parameter `MediaDefaultFolderLookup $mediaFolderLookup`, `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\ProductConverter` + - [BREAKING] Added new constructor parameter `LanguageLookup $languageLookup` to `Swag\MigrationMagento\Profile\Magento\Converter\PropertyGroupConverter` + - [BREAKING] Added new constructor parameter `CurrencyLookup $currencyLookup`, `LanguageLookup $languageLookup`, `CountryLookup $countryLookup` to `\Swag\MigrationMagento\Profile\Magento\Converter\SalesChannelConverter` + - [BREAKING] Added new constructor parameter ``, `` to `` + - [BREAKING] Removed method `getMagentoCountryUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryLookup::get()` instead. + - [BREAKING] Removed method `getTransactionStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\TransactionStateLookup::get()` instead. + - [BREAKING] Removed method `getCountryStateUuid` from `Swag\MigrationMagento\Migration\Mapping\MagentoMappingService` and all implementors. Use `SwagMigrationAssistant\Migration\Mapping\Lookup\CountryStateLookup::get()` instead. +- MIG-1091 - Fixed errors in the service container that occurred due to the move to Lookup Services diff --git a/composer.json b/composer.json index 8fc0b86..ce1a83e 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "swag/migration-magento", "description": "Magento 1 & 2 profiles for Shopware Migration Assistant", - "version": "8.1.0", + "version": "9.0.0", "type": "shopware-platform-plugin", "license": "MIT", "authors": [ @@ -11,7 +11,7 @@ ], "require": { "shopware/core": "~6.6.0", - "swag/migration-assistant": "~13.0" + "swag/migration-assistant": "~14.0" }, "extra": { "shopware-plugin-class": "Swag\\MigrationMagento\\SwagMigrationMagento",