Skip to content

Latest commit

 

History

History
273 lines (240 loc) · 70 KB

incompatibilities-1-2.md

File metadata and controls

273 lines (240 loc) · 70 KB

AlternativeCheckoutBundle

  • The PaymentTermViewProvider[?] class was removed.

CMSBundle

  • The CmsPageVariantType::setDefaultOptions[?] method was removed.

CatalogBundle

  • The CategoryPageVariantType::setDefaultOptions[?] method was removed.

FlatRateShippingBundle

  • The ShippingMethodConfigDataListener[?] class was removed.
  • The FlatRateMethod::__construct($identifier, $label, $enabled)[?] method was changed to FlatRateMethod::__construct($identifier, $label, $icon, $enabled)[?]
  • The FlatRateMethodProvider::__construct(DoctrineHelper $doctrineHelper, FlatRateMethodFromChannelBuilder $methodBuilder)[?] method was changed to FlatRateMethodProvider::__construct($channelType, DoctrineHelper $doctrineHelper, IntegrationShippingMethodFactoryInterface $methodFactory)[?]
  • The FlatRateMethodFromChannelBuilder::__construct(IntegrationMethodIdentifierGeneratorInterface $identifierGenerator, LocalizationHelper $localizationHelper)[?] method was changed to FlatRateMethodFromChannelBuilder::__construct(IntegrationShippingMethodFactoryInterface $shippingMethodFactory)[?]
  • The following methods in class FlatRateMethodProvider[?] were removed:
    • FlatRateMethodProvider::getShippingMethods[?]
    • FlatRateMethodProvider::getShippingMethod[?]
    • FlatRateMethodProvider::hasShippingMethod[?]
  • The FlatRateMethodProvider::$methods[?] property was removed.

InventoryBundle

  • The CreateOrderEventListener::isCorrectShoppingListContext[?] method was removed.
  • The CreateOrderLineItemValidationListener::isCorrectShoppingListContext[?] method was removed.
  • The CreateOrderLineItemValidationListener::__construct(InventoryQuantityManager $inventoryQuantityManager, DoctrineHelper $doctrineHelper, TranslatorInterface $translator, RequestStack $requestStack)[?] method was changed to CreateOrderLineItemValidationListener::__construct(InventoryQuantityManager $inventoryQuantityManager, DoctrineHelper $doctrineHelper, TranslatorInterface $translator)[?]

PayPalBundle

  • The PayflowExpressCheckoutRedirectListener::__construct(Session $session, PaymentMethodProviderInterface $paymentMethodProvider)[?] method was changed to PayflowExpressCheckoutRedirectListener::__construct(Session $session, PaymentMethodProviderInterface $paymentMethodProvider, PaymentResultMessageProviderInterface $messageProvider)[?]

PaymentBundle

  • The CaptureAction[?] class was removed.
  • The RedirectListener::__construct(Session $session)[?] method was changed to RedirectListener::__construct(Session $session, PaymentResultMessageProviderInterface $messageProvider)[?]
  • The AbstractCallbackEvent::getTypedEventName[?] method was removed.
  • The HasApplicablePaymentMethods::$checkoutPaymentContextFactory[?] property was removed.

PricingBundle

  • The CurrencyProvider[?] class was removed.

  • The PriceListProductPricesCurrencyValidator::__construct(Registry $registry)[?] method was changed to PriceListProductPricesCurrencyValidator::__construct(Registry $registry, ShardManager $shardManager)[?]

  • The CombinedProductPriceResolver::__construct(ManagerRegistry $registry, InsertFromSelectQueryExecutor $insertFromSelectQueryExecutor, CombinedPriceListTriggerHandler $triggerHandler)[?] method was changed to CombinedProductPriceResolver::__construct(ManagerRegistry $registry, InsertFromSelectShardQueryExecutor $insertFromSelectQueryExecutor, CombinedPriceListTriggerHandler $triggerHandler)[?]

  • The ProductPriceProvider::__construct(ManagerRegistry $registry)[?] method was changed to ProductPriceProvider::__construct(ManagerRegistry $registry, ShardManager $shardManager)[?]

  • The FrontendProductPricesProvider::__construct(DoctrineHelper $doctrineHelper, PriceListRequestHandler $priceListRequestHandler, UserCurrencyManager $userCurrencyManager, ProductPriceFormatter $productPriceFormatter)[?] method was changed to FrontendProductPricesProvider::__construct(DoctrineHelper $doctrineHelper, PriceListRequestHandler $priceListRequestHandler, UserCurrencyManager $userCurrencyManager, ProductPriceFormatter $productPriceFormatter, ShardManager $shardManager)[?]

  • The PriceListAdditionalProductPriceReader::__construct(ContextRegistry $contextRegistry, ManagerRegistry $registry)[?] method was changed to PriceListAdditionalProductPriceReader::__construct(ContextRegistry $contextRegistry, ManagerRegistry $registry, ShardManager $shardManager)[?]

  • The ProductFormExtension::__construct(ManagerRegistry $registry)[?] method was changed to ProductFormExtension::__construct(ManagerRegistry $registry, ShardManager $shardManager, PriceManager $priceManager)[?]

  • The ProductPriceDatagridListener::__construct(TranslatorInterface $translator, PriceListRequestHandler $priceListRequestHandler, DoctrineHelper $doctrineHelper)[?] method was changed to ProductPriceDatagridListener::__construct(TranslatorInterface $translator, PriceListRequestHandler $priceListRequestHandler, DoctrineHelper $doctrineHelper, ShardManager $shardManager)[?]

  • The BasePriceListRepository::getInvalidCurrenciesByPriceList(BasePriceList $priceList)[?] method was changed to BasePriceListRepository::getInvalidCurrenciesByPriceList(ShardManager $shardManager, BasePriceList $priceList)[?]

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

    • deleteByProductUnit(Product $product, ProductUnit $unit)[?]
    • deleteByProductUnit(ShardManager $shardManager, Product $product, ProductUnit $unit)[?]
    • deleteByPriceList(BasePriceList $priceList, Product $product = null)[?]
    • deleteByPriceList(ShardManager $shardManager, BasePriceList $priceList, Product $product = null)[?]
    • countByPriceList(PriceList $priceList)[?]
    • countByPriceList(ShardManager $shardManager, PriceList $priceList)[?]
    • getPricesByProduct(Product $product)[?]
    • getPricesByProduct(ShardManager $shardManager, Product $product)[?]
    • findByPriceListIdAndProductIds($priceListId, array $productIds, $getTierPrices = true, $currency = null, $productUnitCode = null, array $orderBy = [ ... ])[?]
    • findByPriceListIdAndProductIds(ShardManager $shardManager, $priceListId, array $productIds, $getTierPrices = true, $currency = null, $productUnitCode = null, array $orderBy = [ ... ])[?]
    • getPricesBatch($priceListId, array $productIds, array $productUnitCodes, array $currencies = [])[?]
    • getPricesBatch(ShardManager $shardManager, $priceListId, array $productIds, array $productUnitCodes, array $currencies = [])[?]
    • getProductUnitsByPriceList(BasePriceList $priceList, Product $product, $currency = null)[?]
    • getProductUnitsByPriceList(ShardManager $shardManager, BasePriceList $priceList, Product $product, $currency = null)[?]
    • getProductsUnitsByPriceList(BasePriceList $priceList, Collection $products, $currency)[?]
    • getProductsUnitsByPriceList(ShardManager $shardManager, BasePriceList $priceList, Collection $products, $currency)[?]
    • copyPrices(BasePriceList $sourcePriceList, BasePriceList $targetPriceList, InsertFromSelectQueryExecutor $insertQueryExecutor)[?]
    • copyPrices(BasePriceList $sourcePriceList, BasePriceList $targetPriceList, InsertFromSelectShardQueryExecutor $insertQueryExecutor)[?]
  • The following methods in class CombinedProductPriceRepository[?] were changed:

    • insertPricesByPriceList(InsertFromSelectQueryExecutor $insertFromSelectQueryExecutor, CombinedPriceList $combinedPriceList, PriceList $priceList, $mergeAllowed, Product $product = null)[?]
    • insertPricesByPriceList(InsertFromSelectShardQueryExecutor $insertFromSelectQueryExecutor, CombinedPriceList $combinedPriceList, PriceList $priceList, $mergeAllowed, Product $product = null)[?]
    • findByPriceListIdAndProductIds($priceListId, array $productIds, $getTierPrices = true, $currency = null, $productUnitCode = null, array $orderBy = [ ... ])[?]
    • findByPriceListIdAndProductIds(ShardManager $shardManager, $priceListId, array $productIds, $getTierPrices = true, $currency = null, $productUnitCode = null, array $orderBy = [ ... ])[?]
  • The PriceListToProductRepository::getProductsWithoutPrices(PriceList $priceList)[?] method was changed to PriceListToProductRepository::getProductsWithoutPrices(ShardManager $shardManager, PriceList $priceList)[?]

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

    • deleteGeneratedPrices(PriceList $priceList, Product $product = null)[?]
    • deleteGeneratedPrices(ShardManager $shardManager, PriceList $priceList, Product $product = null)[?]
    • deleteInvalidPrices(PriceList $priceList)[?]
    • deleteInvalidPrices(ShardManager $shardManager, PriceList $priceList)[?]
  • The PriceListToProductEntityListener::__construct(PriceListTriggerHandler $priceListTriggerHandler, PriceRuleLexemeTriggerHandler $priceRuleLexemeTriggerHandler)[?] method was changed to PriceListToProductEntityListener::__construct(PriceListTriggerHandler $priceListTriggerHandler, PriceRuleLexemeTriggerHandler $priceRuleLexemeTriggerHandler, ShardManager $shardManager)[?]

  • The ProductPriceDuplicator::__construct(ManagerRegistry $registry, InsertFromSelectQueryExecutor $insertQueryExecutor)[?] method was changed to ProductPriceDuplicator::__construct(ManagerRegistry $registry, InsertFromSelectShardQueryExecutor $insertQueryExecutor)[?]

  • The AjaxProductPriceController::updateAction(ProductPrice $productPrice)[?] method was changed to AjaxProductPriceController::updateAction(Request $request)[?]

  • The PriceListProductAssignmentBuilder::__construct(ManagerRegistry $registry, InsertFromSelectQueryExecutor $insertFromSelectQueryExecutor, ProductAssignmentRuleCompiler $ruleCompiler, EventDispatcherInterface $eventDispatcher)[?] method was changed to PriceListProductAssignmentBuilder::__construct(ManagerRegistry $registry, InsertFromSelectQueryExecutor $insertFromSelectQueryExecutor, ProductAssignmentRuleCompiler $ruleCompiler, EventDispatcherInterface $eventDispatcher, ShardManager $shardManager)[?]

  • The ProductPriceBuilder::__construct(ManagerRegistry $registry, InsertFromSelectQueryExecutor $insertFromSelectQueryExecutor, PriceListRuleCompiler $ruleCompiler, PriceListTriggerHandler $priceListTriggerHandler)[?] method was changed to ProductPriceBuilder::__construct(ManagerRegistry $registry, InsertFromSelectShardQueryExecutor $insertFromSelectQueryExecutor, PriceListRuleCompiler $ruleCompiler, PriceListTriggerHandler $priceListTriggerHandler, ShardManager $shardManager)[?]

  • The PriceListSystemConfigSubscriber::isSettingsApplicable[?] method was removed.

  • The ProductPriceCPLEntityListener::isPriceListToProductScheduled[?] method was removed.

  • The PriceListSystemConfigSubscriber::$isApplicable[?] property was removed.

  • The ProductPriceRepository::deleteGeneratedPricesByRule[?] method was removed.

  • The following methods in class ProductPriceCPLEntityListener[?] were removed:

    • ProductPriceCPLEntityListener::prePersist[?]
    • ProductPriceCPLEntityListener::preRemove[?]
    • ProductPriceCPLEntityListener::preUpdate[?]
  • The AjaxPriceListController::getPriceListCurrencyList[?] method was removed.

  • The following methods in class AjaxProductPriceController[?] were removed:

    • AjaxProductPriceController::getProductPricesByCustomer[?]
    • AjaxProductPriceController::getProductPricesByCustomer[?]

ProductBundle

  • The ChoicesProductPrimaryUnitSelectionOwnerTypeExtension[?] class was removed.
  • The ProductVariantAvailabilityProvider::__construct(DoctrineHelper $doctrineHelper, EnumValueProvider $enumValueProvider, CustomFieldProvider $customFieldProvider, PropertyAccessor $propertyAccessor, EventDispatcherInterface $eventDispatcher)[?] method was changed to ProductVariantAvailabilityProvider::__construct(DoctrineHelper $doctrineHelper, CustomFieldProvider $customFieldProvider, PropertyAccessor $propertyAccessor, EventDispatcherInterface $eventDispatcher, ProductVariantFieldValueHandlerRegistry $fieldValueHandlerRegistry)[?]
  • The ImageResizeMessageProcessor::__construct(EntityRepository $imageRepository, ImageFilterLoader $filterLoader, ImageTypeProvider $imageTypeProvider, ImageResizer $imageResizer)[?] method was changed to ImageResizeMessageProcessor::__construct(EntityRepository $imageRepository, ImageFilterLoader $filterLoader, ImageTypeProvider $imageTypeProvider, ImageResizer $imageResizer, MediaCacheManager $mediaCacheManager, AttachmentManager $attachmentManager)[?]
  • The FeaturedProductsProvider::__construct(ProductRepository $productRepository, ProductManager $productManager)[?] method was changed to FeaturedProductsProvider::__construct(SegmentManager $segmentManager, ProductManager $productManager, ConfigManager $configManager, LoggerInterface $logger)[?]
  • The ProductContentVariantReindexEventListener::__construct(EventDispatcherInterface $eventDispatcher, FieldUpdatesChecker $fieldUpdatesChecker, WebCatalogUsageProviderInterface $webCatalogUsageProvider = null)[?] method was changed to ProductContentVariantReindexEventListener::__construct(EventDispatcherInterface $eventDispatcher, FieldUpdatesChecker $fieldUpdatesChecker, ProductCollectionVariantReindexMessageSendListener $messageSendListener, WebCatalogUsageProviderInterface $webCatalogUsageProvider = null)[?]
  • The FeaturedProductsProvider::$productRepository[?] property was removed.
  • The ProductPageVariantType::setDefaultOptions[?] method was removed.
  • The following methods in class ProductImageResizeEvent[?] were removed:
    • ProductImageResizeEvent::getProductImage[?]
    • ProductImageResizeEvent::getForceOption[?]

RFPBundle

  • The following classes were removed:
    • RequestEntityProcessor[?]
    • RequestProductItemProcessor[?]
    • SortIncludedDataProcessor[?]

RedirectBundle

  • The DelayedJobRunnerDecoratingProcessor[?] class was removed.
  • The following methods in class CanonicalDataProvider[?] were removed:
    • CanonicalDataProvider::getDirectUrlSlug[?]
    • CanonicalDataProvider::getFallbackLocalizationSlug[?]
    • CanonicalDataProvider::getLocalizationSlug[?]
  • The CanonicalDataProvider::__construct(UrlGeneratorInterface $router, ConfigManager $configManager, RequestStack $requestStack, RoutingInformationProvider $routingInformationProvider, LocalizationHelper $localizationHelper)[?] method was changed to CanonicalDataProvider::__construct(CanonicalUrlGenerator $canonicalUrlGenerator)[?]
  • The following properties in class CanonicalDataProvider[?] were removed:
    • $routingInformationProvider::$routingInformationProvider[?]
    • $router::$router[?]
    • $localizationHelper::$localizationHelper[?]
    • $configManager::$configManager[?]
    • $requestStack::$requestStack[?]
  • The following methods in class SlugAwareInterface[?] were added:
    • SlugAwareInterface::getBaseSlug[?]
    • SlugAwareInterface::getSlugByLocalization[?]

ShippingBundle

  • The IntegrationRemovalListener::__construct($channelType, IntegrationMethodIdentifierGeneratorInterface $identifierGenerator, MethodRemovalEventDispatcherInterface $dispatcher)[?] method was changed to IntegrationRemovalListener::__construct($channelType, IntegrationIdentifierGeneratorInterface $identifierGenerator, MethodRemovalEventDispatcherInterface $dispatcher)[?]
  • The ShippingMethodDisableIntegrationListener::__construct($channelType, IntegrationMethodIdentifierGeneratorInterface $methodIdentifierGenerator, ShippingMethodDisableHandlerInterface $shippingMethodDisableHandler)[?] method was changed to ShippingMethodDisableIntegrationListener::__construct($channelType, IntegrationIdentifierGeneratorInterface $methodIdentifierGenerator, ShippingMethodDisableHandlerInterface $shippingMethodDisableHandler)[?]
  • The following methods in class ShippingMethodsConfigsRuleType[?] were removed:
    • ShippingMethodsConfigsRuleType::__construct[?]
    • ShippingMethodsConfigsRuleType::buildView[?]
  • The AjaxProductShippingOptionsController::getAvailableProductUnitFreightClasses[?] method was removed.
  • The following properties in class ShippingMethodsConfigsRuleType[?] were removed:
    • $translator::$translator[?]
    • $provider::$provider[?]
  • The IntegrationMethodIdentifierGeneratorInterface::generateIdentifier[?] method was removed.

TaxBundle

  • The CustomerTaxCodeImportExportSubscriber::__construct(CustomerTaxCodeImportExportHelper $customerTaxManager, $customerClassName)[?] method was changed to CustomerTaxCodeImportExportSubscriber::__construct(TranslatorInterface $translator, CustomerTaxCodeImportExportHelper $customerTaxManager, $customerClassName)[?]

UPSBundle

  • The following classes were removed:
    • RemoveUsedShippingService[?]
    • InvalidateCacheAtHandler[?]
    • ShippingMethodConfigDataListener[?]
    • InvalidateCacheScheduleCommand[?]
  • The following methods in class RemoveUsedShippingServiceValidator[?] were removed:
    • RemoveUsedShippingServiceValidator::getUpsTypesIds[?]
    • RemoveUsedShippingServiceValidator::getEnabledTypes[?]
    • RemoveUsedShippingServiceValidator::addViolations[?]
    • RemoveUsedShippingServiceValidator::getPropertyAccessor[?]
    • RemoveUsedShippingServiceValidator::getChannelId[?]
    • RemoveUsedShippingServiceValidator::getCountry[?]
    • RemoveUsedShippingServiceValidator::getForm[?]
    • RemoveUsedShippingServiceValidator::getFormPath[?]
  • The RemoveUsedShippingServiceValidator::__construct(ManagerRegistry $doctrine, ShippingMethodRegistry $registry)[?] method was changed to RemoveUsedShippingServiceValidator::__construct(IntegrationShippingMethodFactoryInterface $integrationShippingMethodFactory, ShippingMethodValidatorInterface $shippingMethodValidator)[?]
  • The UPSShippingMethod::__construct($identifier, $label, array $types, UPSTransport $transport, UPSTransport $transportProvider, PriceRequestFactory $priceRequestFactory, ShippingPriceCache $cache, $enabled)[?] method was changed to UPSShippingMethod::__construct($identifier, $label, $icon, array $types, UPSTransport $transport, UPSTransport $transportProvider, PriceRequestFactory $priceRequestFactory, ShippingPriceCache $cache, $enabled)[?]
  • The UPSShippingMethodProvider::__construct(DoctrineHelper $doctrineHelper, IntegrationShippingMethodFactoryInterface $methodFactory)[?] method was changed to UPSShippingMethodProvider::__construct($channelType, DoctrineHelper $doctrineHelper, IntegrationShippingMethodFactoryInterface $methodFactory)[?]
  • The UPSShippingMethodFactory::__construct(UPSTransport $transport, PriceRequestFactory $priceRequestFactory, LocalizationHelper $localizationHelper, ShippingPriceCache $shippingPriceCache, IntegrationMethodIdentifierGeneratorInterface $methodIdentifierGenerator, UPSShippingMethodTypeFactoryInterface $methodTypeFactory)[?] method was changed to UPSShippingMethodFactory::__construct(UPSTransport $transport, PriceRequestFactory $priceRequestFactory, LocalizationHelper $localizationHelper, IntegrationIconProviderInterface $integrationIconProvider, ShippingPriceCache $shippingPriceCache, IntegrationMethodIdentifierGeneratorInterface $methodIdentifierGenerator, UPSShippingMethodTypeFactoryInterface $methodTypeFactory)[?]
  • The following properties in class RemoveUsedShippingServiceValidator[?] were removed:
    • $doctrine::$doctrine[?]
    • $registry::$registry[?]
    • $propertyAccessor::$propertyAccessor[?]
  • The following properties in class UPSTransport[?] were removed:
    • $testMode::$testMode[?]
    • $apiUser::$apiUser[?]
    • $apiPassword::$apiPassword[?]
    • $apiKey::$apiKey[?]
    • $shippingAccountNumber::$shippingAccountNumber[?]
    • $shippingAccountName::$shippingAccountName[?]
    • $pickupType::$pickupType[?]
    • $unitOfWeight::$unitOfWeight[?]
    • $country::$country[?]
    • $invalidateCacheAt::$invalidateCacheAt[?]
  • The following methods in class UPSShippingMethodProvider[?] were removed:
    • UPSShippingMethodProvider::getShippingMethods[?]
    • UPSShippingMethodProvider::getShippingMethod[?]
    • UPSShippingMethodProvider::hasShippingMethod[?]
  • The following methods in class UPSTransport[?] were removed:
    • UPSTransport::isTestMode[?]
    • UPSTransport::setTestMode[?]
    • UPSTransport::setApiUser[?]
    • UPSTransport::getApiUser[?]
    • UPSTransport::setApiPassword[?]
    • UPSTransport::getApiPassword[?]
    • UPSTransport::setApiKey[?]
    • UPSTransport::getApiKey[?]
    • UPSTransport::setShippingAccountNumber[?]
    • UPSTransport::getShippingAccountNumber[?]
    • UPSTransport::setShippingAccountName[?]
    • UPSTransport::getShippingAccountName[?]
    • UPSTransport::setPickupType[?]
    • UPSTransport::getPickupType[?]
    • UPSTransport::setUnitOfWeight[?]
    • UPSTransport::getUnitOfWeight[?]
    • UPSTransport::setCountry[?]
    • UPSTransport::getCountry[?]
    • UPSTransport::setInvalidateCacheAt[?]
    • UPSTransport::getInvalidateCacheAt[?]
  • The following methods in class AjaxUPSController[?] were removed:
    • AjaxUPSController::getShippingServicesByCountry[?]
    • AjaxUPSController::validateConnection[?]

VisibilityBundle

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

    • getProductVisibilityScope(Website $website)[?]
    • getProductVisibilityScope(WebsiteInterface $website)[?]
    • getCustomerProductVisibilityScope(Customer $customer, Website $website)[?]
    • getCustomerProductVisibilityScope(Customer $customer, WebsiteInterface $website)[?]
    • getCustomerGroupProductVisibilityScope(CustomerGroup $customerGroup, Website $website)[?]
    • getCustomerGroupProductVisibilityScope(CustomerGroup $customerGroup, WebsiteInterface $website)[?]
  • The ProductVisibilityQueryBuilderModifier::__construct(ConfigManager $configManager, ScopeManager $scopeManager)[?] method was changed to ProductVisibilityQueryBuilderModifier::__construct(ConfigManager $configManager, ScopeManager $scopeManager, DoctrineHelper $doctrineHelper)[?]

WebCatalogBundle

  • The MenuDataProvider::getContentNodeRepository[?] method was removed.
  • The following properties in class MenuDataProvider[?] were removed:
    • $registry::$registry[?]
    • $localizationHelper::$localizationHelper[?]
    • $requestStack::$requestStack[?]
  • The PageVariantTypeExtension::$registry[?] property was removed.
  • The PageVariantTypeExtension::__construct[?] method was removed.