Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (53 loc) · 4.4 KB

UPGRADE-1.3.md

File metadata and controls

59 lines (53 loc) · 4.4 KB

UPGRADE FROM 1.2 to 1.3

Attribute:

  • Method AttributeId:fromKey become deprecated, will be removed in future version
  • The signature of constructor ProductReadInheritedValuesByLanguageAction has changed
  • The signature of constructor DbalCategoryCreatedEventProjector has changed
  • The signature of constructor DbalValueAddedEventProjector has changed
  • The signature of constructor DbalValueChangedEventProjector has changed
  • The signature of constructor DbalValueRemovedEventProjector has changed
  • The signature of constructor DbalProductValueAddedEventProjector has changed
  • The signature of constructor DbalProductValueChangedEventProjector has changed
  • The signature of constructor DbalProductValueRemovedEventProjector has changed
  • The signature of constructor ProductWorkflowQuery has changed
  • The signature of constructor AbstractOption has changed
  • The signature of constructor OptionCreatedEvent has changed

Completeness

  • The signature of constructor ProductCreatedEventHandler has changed
  • Signature of method CompletenessManager::addProduct has changed

Core

  • DownloaderInterface::download throws exception rather than returning null value
  • Interface Ergonode\Core\Infrastructure\Provider\LanguageTreeProviderInterface become deprecated
  • Class Ergonode\Core\Infrastructure\ProviderLanguageTreeProvider become deprecated
  • Rabbit queue configuration MESSENGER_TRANSPORT_CORE_DSN is no longer required

Workflow

  • Signature of method Ergonode\Workflow\Domain\Provider\WorkflowProvider has changed
  • Method Ergonode\Workflow\Domain\Entity\AbstractWorkflow::getSortedTransitionStatuses become deprecated
  • Instead of using Ergonode\Workflow\Domain\Provider\WorkflowProvider, services now use Ergonode\Workflow\Domain\Provider\WorkflowProviderinterface
  • Endpoint [GET] api/v1/en_GB/workflow/default/transitions grid column name source change to from, destination change to to
  • Endpoint [POST] api/v1/en_GB/workflow/default/transitions property source change to from, destination change to to
  • Endpoint [POST] api/v1/workflow property condition_set_id was removed
  • Column source_id in table workflow_transition was change to from_id
  • Column destination_id in table workflow_transition was change to to_id
  • method getSource and getDestination of class AddWorkflowTransitionCommand become deprecated
  • method getSource and getDestination of class DeleteWorkflowTransitionCommand become deprecated
  • method getSource and getDestination of class UpdateWorkflowTransitionCommand become deprecated
  • method getSource and getDestination of class WorkflowTransitionRemovedEvent become deprecated
  • The signature of constructor CreateWorkflowCommand has changed
  • The signature of constructor UpdateWorkflowCommand has changed
  • Limitation of conditions in Workflow Transition.
  • New messenger transport StatusTransport was added, status receiver is required for setting product statuses for new added languages
  • getAllStatusIds method is added to Ergonode\Workflow\Domain\Query\StatusQueryInterface
  • Signature of method Ergonode\Attribute\Infrastructure\Provider\AttributeValueConstraintProvider:provide has changed
  • Signature of method Ergonode\Attribute\Infrastructure\Provider\ContextAwareAttributeValueConstraintStrategyInterface::get has changed
  • Signature of method Ergonode\Product\Infrastructure\Provider\Strategy\ProductRelationAttributeValueConstraintStrategy::get has changed
  • Signature of method Ergonode\Workflow\Infrastructure\Provider\Strategy\StatusAttributeValueConstraintStrategy::get has changed
  • Class Ergonode\Workflow\Infrastructure\Mapper\Strategy\StatusAttributeMapperStrategy has been moved from attribute to workflow module

Value

  • getTransation and hasTransation methods are added to Ergonode\Value\Domain\ValueObject\ValueInterface

Exporter-file

  • The signature of constructor Ergonode\ExporterFile\Application\Form\ExporterFileConfigurationForm has changed
  • The signature of constructor Ergonode\ExporterFile\Domain\Command\CreateFileExportChannelCommand has changed
  • The signature of constructor Ergonode\ExporterFile\Domain\Command\UpdateFileExportChannelCommand has changed
  • The signature of constructor Ergonode\ExporterFile\Domain\Entity\FileExportChannel has changed
  • The signature of constructor Ergonode\ExporterFile\Infrastructure\Processor\Step\ProductExportProcessStep has changed