UPGRADE FROM 1.0 to 1.1
Attribute:
- The signature of constructor
AttributeValueMapper::__construct(AttributeMapperStrategyInterface ...$strategies)has been changed toAttributeValueMapper::__construct(iterable $strategies). - Interface
ValueUpdateStrategyInterfacehas been removed - Interface
ValueInterfacehas been extended by methodmerge - Class
ValueManipulationServicehas been removed - Class
StringValueUpdateStrategyhas been removed, solution moved toStringValue::merge - Class
StringCollectionValueUpdateStrategyhas been removed, solution moved toStringCollectionValue::merge - Class
TranslatableStringValueUpdateStrategyhas been removed, solution moved toTranslatableStringValue::merge - Endpoint
[PUT] /api/v1/{language}/attributes/{attribute}/options/{option}returns 200 instead of 201
Core:
- Namespace
Ergonode\Core\Application\Form\Type\CurrencyFormTypehas been fixed toErgonode\Attribute\Application\Form\Type\CurrencyFormType
Product:
- Class
AddProductBindingCommandconstructor has changed - Class
RemoveProductBindingCommandconstructor has changed - Class
AddProductChildCommandconstructor has changed - Class
AddProductChildrenBySegmentsCommandconstructor has changed - Class
AddProductChildrenCommandconstructor has changed - Class
RemoveProductChildCommandconstructor has changed - Endpoint
[PATCH] /api/v1/{language}/products/attributesreturns 204 instead of 200
Importer:
- Endpoint
[PUT] /api/v1/{language}/sources/{source}returns 200 instead of 201 - Class
ImportSimpleProductCommandHandlerconstructor has changed - Class
ImportGroupingProductCommandHandlerconstructor has changed - Class
ImportVariableProductCommandHandlerconstructor has changed
Notification
- Endpoint
[POST] /api/v1/profile/notifications/mark-allreturns 204 instead of 202 - Endpoint
[POST] /api/v1/profile/notifications/{notification}/markreturns 204 instead of 202
Workflow
- Endpoint
[PUT] /api/v1/{language}/workflow/defaultreturns 200 instead of 201
Multimedia
- Class
UploadMultimediaActionconstructor has changed