Skip to content

Latest commit

 

History

History
160 lines (140 loc) · 42.3 KB

incompatibilities-1-5.md

File metadata and controls

160 lines (140 loc) · 42.3 KB

CatalogBundle

  • The ProductIndexScheduler::triggerReindexationRequestEvent[?] method was removed.
  • The ProductIndexScheduler::__construct(DoctrineHelper $doctrineHelper, EventDispatcherInterface $eventDispatcher)[?] method was changed to ProductIndexScheduler::__construct(DoctrineHelper $doctrineHelper, ProductReindexManager $productReindexManager)[?]
  • The CategoriesProductsProvider::__construct(CategoryRepository $categoryRepository, ProductRepository $searchRepository)[?] method was changed to CategoriesProductsProvider::__construct(CategoryRepository $categoryRepository, ProductRepository $searchRepository)[?]
  • The SearchCategoryFilteringEventListener::__construct(RequestProductHandler $requestProductHandler, CategoryRepository $categoryRepository)[?] method was changed to SearchCategoryFilteringEventListener::__construct(RequestProductHandler $requestProductHandler, CategoryRepository $categoryRepository, SubcategoryProvider $categoryProvider)[?]
  • The CategoryEntityListener::__construct(ProductIndexScheduler $productIndexScheduler)[?] method was changed to CategoryEntityListener::__construct(ProductIndexScheduler $productIndexScheduler, DataProviderCacheCleaner $cacheCleaner)[?]
  • The CategoriesProductsProvider::$productManager[?] property was removed.

CheckoutBundle

  • The CheckoutGridHelper[?] class was removed.
  • The OrderMapper::assignData(Order $entity, array $data)[?] method was changed to OrderMapper::assignData(Order $entity, array $data, array $skipped)[?]
  • The CheckoutRepository::getSourcePerCheckout[?] method was removed.
  • The CheckoutGridListener::__construct(UserCurrencyManager $currencyManager, CheckoutRepository $checkoutRepository, TotalProcessorProvider $totalProcessor, EntityNameResolver $entityNameResolver, Cache $cache, CheckoutGridHelper $checkoutGridHelper)[?] method was changed to CheckoutGridListener::__construct(UserCurrencyManager $currencyManager, CheckoutRepository $checkoutRepository, TotalProcessorProvider $totalProcessor, EntityNameResolver $entityNameResolver)[?]
  • The CheckoutLineItemsManager::__construct(CheckoutLineItemsConverter $checkoutLineItemsConverter, UserCurrencyManager $userCurrencyManager, ConfigManager $configManager)[?] method was changed to CheckoutLineItemsManager::__construct(CheckoutLineItemsConverter $checkoutLineItemsConverter, UserCurrencyManager $userCurrencyManager, ConfigManager $configManager, AuthorizationCheckerInterface $authorizationChecker)[?]
  • The following properties in class CheckoutGridListener[?] were removed:
    • $cache[?]
    • $checkoutGridHelper[?]

InventoryBundle

  • The CategoryInventoryBackOrderFormExtension::getExtendedType[?] method was removed.
  • The CategoryInventoryDecrementFormExtension::getExtendedType[?] method was removed.
  • The CategoryInventoryThresholdFormExtension::getExtendedType[?] method was removed.
  • The CategoryManageInventoryFormExtension::getExtendedType[?] method was removed.
  • The CategoryQuantityToOrderFormExtension::getExtendedType[?] method was removed.
  • The CreateOrderLineItemValidationListener::$requestStack[?] property was removed.

OrderBundle

  • The OrderPaymentStatusProvider::__construct(PaymentStatusProvider $paymentStatusProvider)[?] method was changed to OrderPaymentStatusProvider::__construct(PaymentStatusProviderInterface $paymentStatusProvider)[?]

PayPalBundle

  • The AbstractPayPalConfig::__construct[?] method was removed.

PaymentBundle

  • The PaymentStatusManager::__construct(PaymentStatusProvider $provider, DoctrineHelper $doctrineHelper, PaymentTransactionProvider $transactionProvider)[?] method was changed to PaymentStatusManager::__construct(PaymentStatusProviderInterface $provider, DoctrineHelper $doctrineHelper, PaymentTransactionProvider $transactionProvider)[?]

PaymentTermBundle

  • The PaymentTermType::__construct($dataClass)[?] method was changed to PaymentTermType::__construct($dataClass, HtmlTagHelper $htmlTagHelper)[?]

PricingBundle

  • The following classes were removed:
    • DatesChain[?]
    • DatesChainValidator[?]
  • The FrontendProductPricesProvider::__construct(DoctrineHelper $doctrineHelper, PriceListRequestHandler $priceListRequestHandler, UserCurrencyManager $userCurrencyManager, ProductPriceFormatter $productPriceFormatter, ShardManager $shardManager)[?] method was changed to FrontendProductPricesProvider::__construct(DoctrineHelper $doctrineHelper, PriceListRequestHandler $priceListRequestHandler, ProductVariantAvailabilityProvider $productVariantAvailabilityProvider, UserCurrencyManager $userCurrencyManager, ProductPriceFormatter $productPriceFormatter, ShardManager $shardManager)[?]

ProductBundle

  • The FrontendDatagridRowViewProvider[?] class was removed.
  • The ProductImageCollectionValidator::__construct(ImageTypeProvider $imageTypeProvider, TranslatorInterface $translator)[?] method was changed to ProductImageCollectionValidator::__construct(ImageTypeProvider $imageTypeProvider, TranslatorInterface $translator, ProductImageHelper $productImageHelper)[?]
  • The ProductImageTypeValidator::__construct(ImageTypeProvider $imageTypeProvider)[?] method was changed to ProductImageTypeValidator::__construct(ImageTypeProvider $imageTypeProvider, TranslatorInterface $translator)[?]
  • The VariantFieldProvider::__construct(AttributeManager $attributeManager, SerializedFieldProvider $serializedFieldProvider)[?] method was changed to VariantFieldProvider::__construct(AttributeManager $attributeManager, SerializedFieldProvider $serializedFieldProvider)[?]
  • The EnumVariantFieldValueHandler::__construct(DoctrineHelper $doctrineHelper, EnumValueProvider $enumValueProvider, LoggerInterface $logger)[?] method was changed to EnumVariantFieldValueHandler::__construct(DoctrineHelper $doctrineHelper, EnumValueProvider $enumValueProvider, LoggerInterface $logger, ConfigManager $configManager)[?]
  • The EnumTypeHandler::__construct(FormFactory $formFactory, $productClass)[?] method was changed to EnumTypeHandler::__construct(FormFactory $formFactory, $productClass, ConfigManager $configManager)[?]
  • The ProductImageListener::__construct(EventDispatcherInterface $eventDispatcher)[?] method was changed to ProductImageListener::__construct(EventDispatcherInterface $eventDispatcher, ImageTypeProvider $imageTypeProvider, ProductImageHelper $productImageHelper)[?]
  • The WebsiteSearchProductIndexerListener::__construct(AbstractWebsiteLocalizationProvider $websiteLocalizationProvider, WebsiteContextManager $websiteContextManager, RegistryInterface $registry, AttachmentManager $attachmentManager)[?] method was changed to WebsiteSearchProductIndexerListener::__construct(AbstractWebsiteLocalizationProvider $websiteLocalizationProvider, WebsiteContextManager $websiteContextManager, ManagerRegistry $registry, AttachmentManager $attachmentManager, AttributeManager $attributeManager, WebsiteSearchProductIndexDataProvider $dataProvider)[?]
  • The ProductImageType::$message[?] property was removed.
  • The ProductImageValidator::__construct[?] method was removed.
  • The ProductImageValidator::$validator[?] property was removed.
  • The following methods in class ProcessImagePaths[?] were removed:
    • addFilePathToConfig[?]
    • addPathToResults[?]

PromotionBundle

  • The CouponFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The CurrencyFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The DuplicateFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The MatchingItemsFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The ScheduleFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The ScopeFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The ShippingFiltrationService::getFilteredRuleOwners[?] method was removed.
  • The CouponValidationHandler::__construct[?] method was removed.
  • The CouponEditMassActionHandler::__construct[?] method was removed.
  • The CouponEditMassActionHandler::getEditResponse[?] method was removed.
  • The following properties in class CouponEditMassActionHandler[?] were removed:
    • $doctrineHelper[?]
    • $aclHelper[?]
  • The EntityCouponsProviderInterface::createAppliedCouponByCoupon[?] interface method was added.

RedirectBundle

  • The SluggableUrlGenerator::__construct(UrlStorageCache $cache, ContextUrlProviderRegistry $contextUrlProvider, UserLocalizationManager $userLocalizationManager)[?] method was changed to SluggableUrlGenerator::__construct(SluggableUrlProviderInterface $sluggableUrlProvider, ContextUrlProviderRegistry $contextUrlProvider, UserLocalizationManager $userLocalizationManager)[?]

SaleBundle

  • The QuoteCheckoutLineItemDataProvider[?] class was removed.

ShippingBundle

  • The BasicShippingContextBuilder::addLineItem[?] method was removed.
  • The BasicShippingContextBuilder::__construct($sourceEntity, $sourceEntityIdentifier, ShippingLineItemCollectionFactoryInterface $shippingLineItemCollectionFactory, ShippingOriginProvider $shippingOriginProvider)[?] method was changed to BasicShippingContextBuilder::__construct($sourceEntity, $sourceEntityIdentifier, ShippingOriginProvider $shippingOriginProvider)[?]
  • The BasicShippingContextBuilderFactory::__construct(ShippingLineItemCollectionFactoryInterface $collectionFactory, ShippingOriginProvider $shippingOriginProvider)[?] method was changed to BasicShippingContextBuilderFactory::__construct(ShippingOriginProvider $shippingOriginProvider)[?]
  • The ShippingContextBuilderInterface::addLineItem[?] method was removed.

ShoppingListBundle

  • The following classes were removed:

    • LineItemErrorsProvider[?]
    • CheckoutLineItemDataProvider[?]
  • The MatrixGridOrderManager::convertMatrixIntoLineItems(MatrixCollection $collection, Product $product)[?] method was changed to MatrixGridOrderManager::convertMatrixIntoLineItems(MatrixCollection $collection, Product $product, $requiredCollection)[?]

  • The ShoppingListManager::__construct(ManagerRegistry $managerRegistry, TokenStorageInterface $tokenStorage, TranslatorInterface $translator, QuantityRoundingService $rounding, UserCurrencyManager $userCurrencyManager, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, AclHelper $aclHelper, Cache $cache)[?] method was changed to ShoppingListManager::__construct(ManagerRegistry $managerRegistry, TokenStorageInterface $tokenStorage, TranslatorInterface $translator, QuantityRoundingService $rounding, UserCurrencyManager $userCurrencyManager, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, AclHelper $aclHelper, Cache $cache, ProductVariantAvailabilityProvider $productVariantProvider)[?]

  • The MatrixGridOrderProvider::__construct(MatrixGridOrderManager $matrixGridManager, ProductVariantAvailabilityProvider $productVariantAvailability, TotalProcessorProvider $totalProvider, NumberFormatter $numberFormatter)[?] method was changed to MatrixGridOrderProvider::__construct(MatrixGridOrderManager $matrixGridManager, TotalProcessorProvider $totalProvider, NumberFormatter $numberFormatter)[?]

  • The ShoppingListLineItemHandler::__construct(ManagerRegistry $managerRegistry, ShoppingListManager $shoppingListManager, AuthorizationCheckerInterface $authorizationChecker, TokenAccessorInterface $tokenAccessor, FeatureChecker $featureChecker)[?] method was changed to ShoppingListLineItemHandler::__construct(ManagerRegistry $managerRegistry, ShoppingListManager $shoppingListManager, AuthorizationCheckerInterface $authorizationChecker, TokenAccessorInterface $tokenAccessor, FeatureChecker $featureChecker, ProductManager $productManager)[?]

  • The FrontendProductDatagridListener::__construct(ProductShoppingListsDataProvider $productShoppingListsDataProvider)[?] method was changed to FrontendProductDatagridListener::__construct(ProductShoppingListsDataProvider $productShoppingListsDataProvider, DoctrineHelper $doctrineHelper)[?]

  • The AddLineItemMassActionProvider::__construct(ShoppingListManager $manager, TranslatorInterface $translator)[?] method was changed to AddLineItemMassActionProvider::__construct(ShoppingListManager $manager, TranslatorInterface $translator, TokenStorageInterface $tokenStorage)[?]

  • The AddProductsMassActionHandler::__construct(ShoppingListLineItemHandler $shoppingListLineItemHandler, MessageGenerator $messageGenerator)[?] method was changed to AddProductsMassActionHandler::__construct(ShoppingListLineItemHandler $shoppingListLineItemHandler, MessageGenerator $messageGenerator, ManagerRegistry $managerRegistry)[?]

  • The following methods in class ProductShoppingListsDataProvider[?] were changed:

    • getProductUnitsQuantity($product)[?]
    • getProductUnitsQuantity(Product $product)[?]
    • getProductsUnitsQuantity($products)[?]
    • getProductsUnitsQuantity(array $products)[?]
  • The MatrixGridOrderProvider::isAvailable[?] method was removed.

  • The ShoppingListTotalRepository::invalidateByCpl[?] method was removed.

  • The AddProductsMassActionArgsParser::getShoppingListId[?] method was removed.

UPSBundle

  • The InvalidateCacheActionHandler::__construct(ShippingPriceCache $upsPriceCache, ShippingPriceCache $shippingPriceCache)[?] method was changed to InvalidateCacheActionHandler::__construct(DoctrineHelper $doctrineHelper, ShippingPriceCache $upsPriceCache, ShippingPriceCache $shippingPriceCache, TimeInTransitCacheProviderFactoryInterface $timeInTransitCacheProviderFactory)[?]
  • The PriceRequestFactory::__construct(ManagerRegistry $registry, MeasureUnitConversion $measureUnitConversion, UnitsMapper $unitsMapper, SymmetricCrypterInterface $symmetricCrypter)[?] method was changed to PriceRequestFactory::__construct(MeasureUnitConversion $measureUnitConversion, UnitsMapper $unitsMapper, SymmetricCrypterInterface $symmetricCrypter)[?]
  • The ShippingPriceCache::__construct(CacheProvider $cache)[?] method was changed to ShippingPriceCache::__construct(CacheProvider $cache, LifetimeProviderInterface $lifetimeProvider)[?]
  • The PriceRequestFactory::getProductsParamsByUnit($lineItems, $upsWeightUnit)[?] method was changed to PriceRequestFactory::getProductsParamsByUnit(array $lineItems, $upsWeightUnit)[?]
  • The PriceRequestFactory::$registry[?] property was removed.

VisibilityBundle

  • The AbstractResolvedCacheBuilder::__construct(ManagerRegistry $registry, ScopeManager $scopeManager, ProductIndexScheduler $indexScheduler, InsertFromSelectQueryExecutor $insertExecutor)[?] method was changed to AbstractResolvedCacheBuilder::__construct(ManagerRegistry $registry, ScopeManager $scopeManager, ProductIndexScheduler $indexScheduler, InsertFromSelectQueryExecutor $insertExecutor, ProductReindexManager $productReindexManager)[?]

WebsiteSearchBundle

  • The WebsiteSearchMappingProvider::__construct(ConfigurationLoaderInterface $mappingConfigurationLoader)[?] method was changed to WebsiteSearchMappingProvider::__construct(ConfigurationLoaderInterface $mappingConfigurationLoader, EventDispatcherInterface $eventDispatcher)[?]
  • The IndexDataProvider::__construct(EventDispatcherInterface $eventDispatcher, EntityAliasResolver $entityAliasResolver, PlaceholderInterface $placeholder, HtmlTagHelper $htmlTagHelper)[?] method was changed to IndexDataProvider::__construct(EventDispatcherInterface $eventDispatcher, EntityAliasResolver $entityAliasResolver, PlaceholderInterface $placeholder, HtmlTagHelper $htmlTagHelper, PlaceholderHelper $placeholderHelper)[?]
  • The DriverInterface::getAggregatedData[?] interface method was added.