Skip to content

3.22.0

Latest

Choose a tag to compare

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

Included commits: 3.21.0...3.22.0

Improvements

  • Added optional UUID support for product image sets to enable UUID-based references in the Products Backend API: introduced an opt-in ProductImageSetUuid schema that adds the uuid column to spy_product_image_set, enabled via ProductImageConfig::isProductImageSetUuidEnabled(). UUID-based lookups additionally gate on the column actually being present through ProductImageRepositoryInterface::isProductImageSetUuidSupported(), so the module stays functional when the opt-in schema has not been applied.
  • Introduced ProductImageAbstractCollectionExpanderPlugin to expand product abstract collections with image sets, enabling the Products Backend API to return image data alongside product data.
  • Introduced ProductImageSetExistsProductConcreteCollectionCreateValidatorPlugin and ProductImageSetExistsProductConcreteCollectionUpdateValidatorPlugin to validate product image set UUIDs referenced in concrete product create and update requests.
  • Added withImageSets and sku fields to ProductAbstractRelationsTransfer to support on-demand image set loading.
  • Added uuid field to ProductImageSetTransfer and introduced ProductImageRepositoryInterface::getProductImageSetUuidsGroupedByIdProduct().
  • Adjusted Writer so product image sets can be created with a locale name instead of a resolved locale ID.
  • Introduced new transfers: ProductAbstractCollectionTransfer, ProductAbstractCriteriaTransfer, ProductConcreteCollectionRequestTransfer, ProductConcreteCollectionResponseTransfer, ErrorTransfer.