|
| 1 | +# 16.0.0 |
| 2 | + |
| 3 | +- [BREAKING] [#38](https://github.com/shopware/SwagMigrationAssistant/pull/38) - feat!: add migration logging required fields |
| 4 | + - [BREAKING] Truncated database entries of `swag_migration_logging` with `SwagMigrationAssistant\Core\Migration\Migration1754896654TruncateMigrationLogs` |
| 5 | + - [BREAKING] Deleted columns `title`, `description`, `paramenters`, `title_snippet`, `description_snippet`, `entity` and `source_id` from `swag_migration_logging` with `SwagMigrationAssistant\Core\Migration\Migration1754897550AddRequiredFieldsToMigrationLogs` |
| 6 | + - [BREAKING] Removed fields `title`, `description`, `parameters`, `title_snippet`, `description_snippet`, `entity` and `source_id` from log definition `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingDefinition` |
| 7 | + - [BREAKING] Removed properties `title`, `description`, `parameters`, `titleSnippet`, `descriptionSnippet`, `entity` and `sourceId` from log entity `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingEntity` |
| 8 | + - [BREAKING] Removed aggregations of `titleSnippet`, `entity` and `level` in `SwagMigrationAssistant\Migration\History\HistoryService` |
| 9 | + - [BREAKING] Updated all log implementations in `SwagMigrationAssistant\Migration\Logging\Log\*` and `SwagMigrationAssistant\Profile\**\Logging\*`: |
| 10 | + - deleted methods `getTitle()`, `getTitleSnippet()`, `getDescription()`, `getDescriptionSnippet()`, `getParameters()`, `getSourceId()` |
| 11 | + - add method `isUserFixable()` |
| 12 | + - Added columns `profile_name`, `gateway_name` and `user_fixable` to `swag_migration_logging` with `SwagMigrationAssistant\Core\Migration\Migration1754897550AddRequiredFieldsToMigrationLogs` |
| 13 | + - Added fields `profile_name`, `gateway_name` and `user_fixable` to log definition `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingDefinition` |
| 14 | + - Added properties `profileName`, `gatewayName` and `userFixable` to log entity `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingEntity` |
| 15 | + |
| 16 | +- [BREAKING] [#40](https://github.com/shopware/SwagMigrationAssistant/pull/40) - refactor!: add migration logging optional fields |
| 17 | + - [BREAKING] Replaced `SwagMigrationAssistant\Migration\Logging\Log\BaseRunLogEntity` with `SwagMigrationAssistant\Migration\Logging\Log\Builder\AbstractSwagMigrationLogEntry` |
| 18 | + - [BREAKING] Replaced `SwagMigrationAssistant\Migration\Logging\Log\LogEntryInterface` with `SwagMigrationAssistant\Migration\Logging\Log\Builder\SwagMigrationLogEntry` |
| 19 | + - [BREAKING] Updated all log implementations in `SwagMigrationAssistant\Migration\Logging\Log\*` and `SwagMigrationAssistant\Profile\**\Logging\*`: |
| 20 | + - extend `SwagMigrationAssistant\Migration\Logging\Log\Builder\AbstractSwagMigrationLogEntry` instead of `SwagMigrationAssistant\Migration\Logging\Log\BaseRunLogEntity` |
| 21 | + - implement `SwagMigrationAssistant\Migration\Logging\Log\Builder\SwagMigrationLogEntry` instead of `SwagMigrationAssistant\Migration\Logging\Log\LogEntryInterface` |
| 22 | + - mark class readonly |
| 23 | + - [BREAKING] Renamed log classes to include `Log` suffix |
| 24 | + - `SwagMigrationAssistant\Migration\Logging\LogCannotConvertChildEntity`, |
| 25 | + - `SwagMigrationAssistant\Migration\Logging\LogCannotConvertEntity`, |
| 26 | + - `SwagMigrationAssistant\Migration\Logging\LogDocumentTypeNotSupported`, |
| 27 | + - `SwagMigrationAssistant\Migration\Logging\LogInvalidUnserializedData`, |
| 28 | + - `SwagMigrationAssistant\Migration\Logging\LogInvalidUnserializedData`, |
| 29 | + - `SwagMigrationAssistant\Migration\Logging\LogRunAbortedAutomatically` |
| 30 | + - `SwagMigrationAssistant\Migration\Logging\LogUnsupportedObjectType` |
| 31 | + - [BREAKING] Change method `addLogEntry()` of `SwagMigrationAssistant\Migration\Logging\LoggingServiceInterface` and implementation `LoggingService` to require `SwagMigrationLogEntry` as parameter instead of `LogEntryInterface` |
| 32 | + - Created `SwagMigrationAssistant\Migration\Logging\Log\Builder\SwagMigrationLogBuilder` to build log entries of type `SwagMigrationLogEntry` |
| 33 | + - Added columns to `swag_migration_logging` with `SwagMigrationAssistant\Core\Migration\Migration1754897550AddRequiredFieldsToMigrationLogs`: |
| 34 | + - `entity_name` |
| 35 | + - `field_name` |
| 36 | + - `field_source_path` |
| 37 | + - `source_data` |
| 38 | + - `converted_data` |
| 39 | + - `used_mapping` |
| 40 | + - `exception_message` |
| 41 | + - `exception_trace` |
| 42 | + - Added fields to `swag_migration_logging` to log definition `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingDefinition`: |
| 43 | + - `entity_name` |
| 44 | + - `field_name` |
| 45 | + - `field_source_path` |
| 46 | + - `source_data` |
| 47 | + - `converted_data` |
| 48 | + - `used_mapping` |
| 49 | + - `exception_message` |
| 50 | + - `exception_trace` |
| 51 | + - Added properties and methods to log entity `SwagMigrationAssistant\Migration\Logging\SwagMigrationLoggingEntity`: |
| 52 | + - `entityName` and `getEntityName()` |
| 53 | + - `fieldName` and `getFieldName()` |
| 54 | + - `fieldSourcePath` and `getFieldSourcePath()` |
| 55 | + - `sourceData` and `getSourceData()` |
| 56 | + - `convertedData` and `getConvertedData()` |
| 57 | + - `usedMapping` and `getUsedMapping()` |
| 58 | + - `exceptionMessage` and `getExceptionMessage()` |
| 59 | + - `exceptionTrace` and `getExceptionTrace()` |
| 60 | + |
| 61 | +- [BREAKING] [#43](https://github.com/shopware/SwagMigrationAssistant/pull/43) refactor!: migration connection usage |
| 62 | + - Changed signature of method `supports()` in `SwagMigrationAssistant\Migration\Gateway\GatewayInterface` to require `ProfileInterface` as parameter instead of `MigrationContextInterface` |
| 63 | + - Changed signature of method `getGateways()` in `SwagMigrationAssistant\Migration\Gateway\GatewayRegistryInterface` to require `ProfileInterface` as parameter instead of `MigrationContextInterface` |
| 64 | + - Changed signature of method `getGateways()` in `SwagMigrationAssistant\Migration\Gateway\GatewayRegistry` to require `ProfileInterface` as parameter instead of `MigrationContextInterface` |
| 65 | + - Changed signature of constructor method of `SwagMigrationAssistant\Migration\MigrationContext` to require `SwagMigrationConnectionEntity` and additional optional parameter of `ProfileInterface` with default value `null` |
| 66 | + - Added methods `setProfile()`, `getGateway()`, `setGateway()` and `setConnection()` to `SwagMigrationAssistant\Migration\MigrationContextInterface` |
| 67 | + - Added methods `setProfile()`, `getGateway()`, `setGateway()` and `setConnection()` to `SwagMigrationAssistant\Migration\MigrationContext` |
| 68 | + - Added null checks to methods `getProfile()` and `getGateway()` in `SwagMigrationAssistant\Migration\MigrationContext` to ensure that a profile and gateway is set before usage |
| 69 | + |
1 | 70 | # 14.0.0 |
2 | 71 | - [BREAKING] MIG-1053 - Removed ability to set the `verify` flag for the guzzle API client. This is now always true by default. |
3 | 72 | - [BREAKING] MIG-1053 - Refactored both Shopware 5 and Shopware 6 EnvironmentReader classes to provide more information about exceptions. |
|
0 commit comments