Upgrade the ProductConfigurationsRestApi module
Edit on GitHubUpgrading from version 0.2.* to version 1.0.*
Estimated migration time: 5 minutes
Version 1.0.0 of theProductConfigurationsRestApi
module introduces the following backward incompatible changes: replaced ProductConfigurationStorageClientInterface::findProductConfigurationInstanceBySku()
with ProductConfigurationStorageClientInterface::getProductConfigurationInstanceCollection()
.
To upgrade the ProductConfigurationsRestApi
module from version 0.2.* to version 1.0.*, do the following:
- Update the
ProductConfigurationsRestApi
module to version 1.0.0:
composer require "spryker/product-configurations-rest-api":"^1.0.0" --update-with-dependencies
- Generate transfer classes:
console transfer:generate
Upgrading from version 0.1.* to version 0.2.*
Estimated migration time: 5 minutes
To upgrade the ProductConfigurationsRestApi
module from version 0.1.* to version 0.2.*, do the following:
- Update the
ProductConfigurationsRestApi
module to version 0.2.0:
composer require spryker/product-configurations-rest-api:"^0.2.0" --update-with-dependencies
- From
\Pyz\Glue\ProductConfigurationsRestApi\ProductConfigurationsRestApiDependencyProvider
, replace the removed plugin stacks with the new ones:\Pyz\Glue\ProductConfigurationsRestApi\ProductConfigurationsRestApiDependencyProvider::getCartItemProductConfigurationMapperPlugins()
must be replaced with\Pyz\Glue\ProductConfigurationsRestApi\ProductConfigurationsRestApiDependencyProvider::getProductConfigurationPriceMapperPlugins()
.\Pyz\Glue\ProductConfigurationsRestApi\ProductConfigurationsRestApiDependencyProvider::getRestCartItemProductConfigurationMapperPlugins()
must be replaced with\Pyz\Glue\ProductConfigurationsRestApi\ProductConfigurationsRestApiDependencyProvider::getRestProductConfigurationPriceMapperPlugins()
.
Thank you!
For submitting the form