Skip to content

6.57.0

Latest

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 08 Sep 12:45

Included commits: 6.56.0...6.57.0

Improvements

  • Introduced ProductFacade::createProductCollection(), ProductFacade::updateProductCollection(), ProductFacade::createProductAbstractCollection(), and ProductFacade::updateProductAbstractCollection() to enable bulk create and update of concrete and abstract products.
  • Introduced collection-level validation plugin stacks for the new write operations — getProductAbstractCollectionCreateValidatorPlugins(), getProductAbstractCollectionUpdateValidatorPlugins(), getProductConcreteCollectionCreateValidatorPlugins(), getProductConcreteCollectionUpdateValidatorPlugins() — so other modules can validate abstract and concrete product write requests. The plugin interfaces themselves are provided by ProductExtension.
  • Introduced getProductConcreteBeforeUpdateCollectionPlugins() and getProductConcreteAfterUpdateCollectionPlugins() plugin stacks to let other modules react to concrete product collection updates.
  • Added support for writing abstract products by store name and for resolving localized attributes by locale name, via the new StoreReader, LocaleReader, LocalizedAttributesLocaleResolver and ProductAbstractSkuReader models.
  • Added an optional LocaleCriteriaTransfer argument to getLocaleCollection() on the ProductToLocaleInterface bridge and introduced getStoreTransfersByStoreNames() on the ProductToStoreInterface bridge.
  • Introduced ProductEntityManagerInterface::updateProductConcreteCollection() and ProductEntityManagerInterface::updateProductConcreteCollectionLocalizedAttributes() for bulk concrete product persistence.
  • Introduced new transfers: ProductConcreteCollectionRequestTransfer with isTransactional and products fields, ProductConcreteCollectionResponseTransfer with products and errors fields, ProductAbstractCollectionRequestTransfer with isTransactional and productAbstracts fields, ProductAbstractCollectionResponseTransfer with productAbstracts and errors fields, ErrorTransfer with entityIdentifier, message, and parameters fields, LocaleCriteriaTransfer and LocaleConditionsTransfer.
  • Added productAbstractSkus field to ProductConcreteConditionsTransfer.