Skip to content

Latest commit

 

History

History
227 lines (190 loc) · 56.9 KB

incompatibilities-3-0-beta.md

File metadata and controls

227 lines (190 loc) · 56.9 KB

CatalogBundle

  • The CategoryProvider::getIncludeSubcategoriesChoice()[?] method was changed to CategoryProvider::getIncludeSubcategoriesChoice($defaultValue = null)[?]
  • The RequestProductHandler::getIncludeSubcategoriesChoice()[?] method was changed to RequestProductHandler::getIncludeSubcategoriesChoice($defaultValue = null)[?]

CheckoutBundle

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

FallbackBundle

  • The WebsiteCollectionType::setDefaultOptions[?] method was removed.
  • The WebsitePropertyType::setDefaultOptions[?] method was removed.

OrderBundle

  • The LineItemsFrontendDatagridListener[?] class was removed.

PaymentBundle

  • The PaymentMethodsConfigsRuleHandler::__construct(Request $request, EntityManager $em)[?] method was changed to PaymentMethodsConfigsRuleHandler::__construct(RequestStack $requestStack, EntityManager $em)[?]
  • The PaymentMethodsConfigsRuleHandler::$request[?] property was removed.

PaymentTermBundle

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

PricingBundle

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

    • combinePrices(CombinedPriceList $combinedPriceList, Product $product = null, $startTimestamp = null)[?]
    • combinePrices(CombinedPriceList $combinedPriceList, array $products = [], $startTimestamp = null)[?]
    • processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, Product $product = null)[?]
    • processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, array $products = [])[?]
  • The MergePricesCombiningStrategy::processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, Product $product = null)[?] method was changed to MergePricesCombiningStrategy::processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, array $products = [])[?]

  • The MinimalPricesCombiningStrategy::processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, Product $product = null)[?] method was changed to MinimalPricesCombiningStrategy::processRelation(CombinedPriceList $combinedPriceList, CombinedPriceListToPriceList $priceListRelation, array $products = [])[?]

  • The CombinedPriceListTriggerHandler::processByProduct(CombinedPriceList $combinedPriceList, Product $product = null, Website $website = null)[?] method was changed to CombinedPriceListTriggerHandler::processByProduct(CombinedPriceList $combinedPriceList, array $products = [], Website $website = null)[?]

  • The PriceListTriggerFactory::create(PriceList $priceList, Product $product = null)[?] method was changed to PriceListTriggerFactory::create(PriceList $priceList, array $productIds = [])[?]

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

    • addTriggerForPriceList($topic, PriceList $priceList, Product $product = null)[?]
    • addTriggerForPriceList($topic, PriceList $priceList, array $products = [])[?]
    • isScheduledTrigger($topic, PriceListTrigger $trigger)[?]
    • isScheduledTrigger($topic, PriceList $priceList, $product = null)[?]
  • The PriceRuleLexemeTriggerHandler::addTriggersByLexemes(array $lexemes, Product $product = null)[?] method was changed to PriceRuleLexemeTriggerHandler::addTriggersByLexemes(array $lexemes, array $products = [])[?]

  • The PriceListTrigger::__construct(PriceList $priceList, Product $product = null)[?] method was changed to PriceListTrigger::__construct(PriceList $priceList, array $products = [])[?]

  • The ProductPriceWriter::__construct(RegistryInterface $registry, EventDispatcherInterface $eventDispatcher, ContextRegistry $contextRegistry, LoggerInterface $logger, PriceManager $priceManager)[?] method was changed to ProductPriceWriter::__construct(RegistryInterface $registry, EventDispatcherInterface $eventDispatcher, ContextRegistry $contextRegistry, LoggerInterface $logger, PriceManager $priceManager, OptionalListenerManager $listenerManager)[?]

  • The BuildPricesDemoDataFixturesListener::__construct(OptionalListenerManager $listenerManager, CombinedPriceListsBuilder $priceListBuilder, ProductPriceBuilder $priceBuilder, PriceListProductAssignmentBuilder $assignmentBuilder)[?] method was changed to BuildPricesDemoDataFixturesListener::__construct(OptionalListenerManager $listenerManager, CombinedPriceListsBuilderFacade $builderFacade, ProductPriceBuilder $priceBuilder, PriceListProductAssignmentBuilder $assignmentBuilder)[?]

  • The AssignmentBuilderBuildEvent::__construct(PriceList $priceList, Product $product = null)[?] method was changed to AssignmentBuilderBuildEvent::__construct(PriceList $priceList, array $products = [])[?]

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

    • deleteByPriceList(ShardManager $shardManager, BasePriceList $priceList, Product $product = null)[?]
    • deleteByPriceList(ShardManager $shardManager, BasePriceList $priceList, array $products = [])[?]
    • getDeleteQbByPriceList(BasePriceList $priceList, Product $product = null)[?]
    • getDeleteQbByPriceList(BasePriceList $priceList, array $products = [])[?]
  • The CombinedPriceListToPriceListRepository::getPriceListRelations(CombinedPriceList $combinedPriceList, Product $product = null)[?] method was changed to CombinedPriceListToPriceListRepository::getPriceListRelations(CombinedPriceList $combinedPriceList, array $products = [])[?]

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

    • insertPricesByPriceList(ShardQueryExecutorInterface $insertFromSelectQueryExecutor, CombinedPriceList $combinedPriceList, PriceList $priceList, $mergeAllowed, Product $product = null)[?]
    • insertPricesByPriceList(ShardQueryExecutorInterface $insertFromSelectQueryExecutor, CombinedPriceList $combinedPriceList, PriceList $priceList, $mergeAllowed, array $products = [])[?]
    • deleteInvalidPricesForMinimalStrategy(ShardManager $shardManager, CombinedPriceList $combinedPriceList, PriceList $priceList, Product $product = null)[?]
    • deleteInvalidPricesForMinimalStrategy(ShardManager $shardManager, CombinedPriceList $combinedPriceList, PriceList $priceList, array $products = [])[?]
  • The PriceAttributeProductPriceRepository::findByPriceAttributeProductPriceIdsAndProductIds($priceAttributePriceListIds, array $productIds, array $orderBy = [ ... ])[?] method was changed to PriceAttributeProductPriceRepository::findByPriceAttributeProductPriceIdsAndProductIds($priceAttributePriceListIds, array $productIds, array $orderBy = [ ... ])[?]

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

    • getDeleteRelationsQueryBuilder(PriceList $priceList, Product $product = null)[?]
    • getDeleteRelationsQueryBuilder(PriceList $priceList, array $products = [])[?]
    • deleteGeneratedRelations(PriceList $priceList, Product $product = null)[?]
    • deleteGeneratedRelations(PriceList $priceList, array $products = [])[?]
  • The ProductPriceRepository::deleteGeneratedPrices(ShardManager $shardManager, PriceList $priceList, Product $product = null)[?] method was changed to ProductPriceRepository::deleteGeneratedPrices(ShardManager $shardManager, PriceList $priceList, array $products = [])[?]

  • The PriceListToProductEntityListener::scheduleDependentPriceListsUpdate(PriceList $priceList, Product $product = null)[?] method was changed to PriceListToProductEntityListener::scheduleDependentPriceListsUpdate(PriceList $priceList, array $products = [])[?]

  • The ProductPriceCPLEntityListener::__construct(ExtraActionEntityStorageInterface $extraActionsStorage, RegistryInterface $registry, PriceListTriggerHandler $priceListTriggerHandler, ShardManager $shardManager)[?] method was changed to ProductPriceCPLEntityListener::__construct(ExtraActionEntityStorageInterface $extraActionsStorage, RegistryInterface $registry, PriceListTriggerHandler $priceListTriggerHandler, ShardManager $shardManager, EventDispatcherInterface $eventDispatcher)[?]

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

    • compile(PriceRule $rule, Product $product = null)[?]
    • compile(PriceRule $rule, array $products = [])[?]
    • restrictByGivenProduct(QueryBuilder $qb, Product $product = null)[?]
    • restrictByGivenProduct(QueryBuilder $qb, array $products = [])[?]
  • The following methods in class ProductAssignmentRuleCompiler[?] were changed:

    • compile(PriceList $priceList, Product $product = null)[?]
    • compile(PriceList $priceList, array $products = [])[?]
    • restrictByGivenProduct(QueryBuilder $qb, Product $product = null)[?]
    • restrictByGivenProduct(QueryBuilder $qb, array $products = [])[?]
  • The RuleCache::__construct(Cache $cache, ManagerRegistry $registry)[?] method was changed to RuleCache::__construct(Cache $cache, ManagerRegistry $registry, SymmetricCrypterInterface $crypter)[?]

  • The CombinedPriceListsBuilder::__construct(ConfigManager $configManager, PriceListCollectionProvider $priceListCollectionProvider, CombinedPriceListProvider $combinedPriceListProvider, CombinedPriceListGarbageCollector $garbageCollector, CombinedPriceListScheduleResolver $scheduleResolver, StrategyRegister $priceStrategyRegister)[?] method was changed to CombinedPriceListsBuilder::__construct(ConfigManager $configManager, PriceListCollectionProvider $priceListCollectionProvider, CombinedPriceListProvider $combinedPriceListProvider, CombinedPriceListGarbageCollector $garbageCollector, CombinedPriceListScheduleResolver $scheduleResolver, StrategyRegister $priceStrategyRegister, CombinedPriceListTriggerHandler $triggerHandler, WebsiteCombinedPriceListsBuilder $builder)[?]

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

    • buildByPriceList(PriceList $priceList, Product $product = null)[?]
    • buildByPriceList(PriceList $priceList, array $products = [])[?]
    • clearGenerated(PriceList $priceList, Product $product = null)[?]
    • clearGenerated(PriceList $priceList, array $products = [])[?]
  • The following methods in class ProductPriceBuilder[?] were changed:

    • buildByPriceList(PriceList $priceList, Product $product = null)[?]
    • buildByPriceList(PriceList $priceList, array $products = [])[?]
    • applyRule(PriceRule $priceRule, Product $product = null)[?]
    • applyRule(PriceRule $priceRule, array $products = [])[?]
  • The ProductWithPricesSearchHandler::__construct($className, ProductRepository $productSearchRepository, PriceListRequestHandler $priceListRequestHandler, ManagerRegistry $registry, ProductPriceFormatter $productPriceFormatter)[?] method was changed to ProductWithPricesSearchHandler::__construct($className, ProductRepository $productSearchRepository, PriceListRequestHandler $priceListRequestHandler, ManagerRegistry $registry, ProductPriceFormatter $productPriceFormatter, UserCurrencyManager $userCurrencyManager)[?]

  • The CombinedPriceListProcessor::__construct(CombinedPriceListsBuilder $commonPriceListsBuilder, WebsiteCombinedPriceListsBuilder $websitePriceListsBuilder, CustomerGroupCombinedPriceListsBuilder $customerGroupPriceListsBuilder, CustomerCombinedPriceListsBuilder $customerPriceListsBuilder, EventDispatcherInterface $dispatcher, LoggerInterface $logger, PriceListRelationTriggerFactory $triggerFactory, ManagerRegistry $registry, DatabaseExceptionHelper $databaseExceptionHelper)[?] method was changed to CombinedPriceListProcessor::__construct(LoggerInterface $logger, PriceListRelationTriggerFactory $triggerFactory, ManagerRegistry $registry, DatabaseExceptionHelper $databaseExceptionHelper, CombinedPriceListTriggerHandler $triggerHandler, CombinedPriceListsBuilderFacade $builderFacade)[?]

  • The PriceListProcessor::__construct(PriceListTriggerFactory $triggerFactory, ManagerRegistry $registry, StrategyRegister $strategyRegister, EventDispatcherInterface $dispatcher, LoggerInterface $logger, DatabaseExceptionHelper $databaseExceptionHelper, CombinedPriceListTriggerHandler $triggerHandler)[?] method was changed to PriceListProcessor::__construct(PriceListTriggerFactory $triggerFactory, ManagerRegistry $registry, CombinedPriceListsBuilderFacade $combinedPriceListsBuilderFacade, LoggerInterface $logger, DatabaseExceptionHelper $databaseExceptionHelper, CombinedPriceListTriggerHandler $triggerHandler)[?]

  • The PriceCombiningStrategyInterface::combinePrices(CombinedPriceList $combinedPriceList, Product $product = null, $startTimestamp = null)[?] method was changed to PriceCombiningStrategyInterface::combinePrices(CombinedPriceList $combinedPriceList, array $products = [], $startTimestamp = null)[?]

  • The PriceListTriggerFactory::getProduct[?] method was removed.

  • The PriceListTriggerHandler::getKey[?] method was removed.

  • The PriceListTrigger::getProduct[?] method was removed.

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

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

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

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

  • The AssignmentBuilderBuildEvent::getProduct[?] method was removed.

  • The PriceListEntityListener::prePersist[?] method was removed.

  • The CombinedPriceListsBuilder::setWebsiteCombinedPriceListBuilder[?] method was removed.

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

    • dispatchChangeAssociationEvents[?]
    • dispatchCustomerScopeEvent[?]
    • dispatchCustomerGroupScopeEvent[?]
    • dispatchWebsiteScopeEvent[?]
    • dispatchConfigScopeEvent[?]
    • resetCache[?]
  • The PriceListProcessor::dispatchEvent[?] method was removed.

  • The PriceListTriggerHandler::$scheduledTriggers[?] property was removed.

  • The PriceListTrigger::$product[?] property was removed.

  • The ProductAttributePriceType::$roundingService[?] property was removed.

  • The BuildPricesDemoDataFixturesListener::$priceListBuilder[?] property was removed.

  • The following properties in class CombinedPriceListProcessor[?] were removed:

    • $commonPriceListsBuilder[?]
    • $websitePriceListsBuilder[?]
    • $customerGroupPriceListsBuilder[?]
    • $customerPriceListsBuilder[?]
    • $dispatcher[?]
  • The following properties in class PriceListProcessor[?] were removed:

    • $strategyRegister[?]
    • $dispatcher[?]

ProductBundle

  • The following classes were removed:
    • DisplayProductVariationsListener[?]
    • DisplayProductVariationsListener[?]
  • The AbstractSegmentProductsProvider::__construct(SegmentManager $segmentManager, ProductSegmentProviderInterface $productSegmentProvider, ProductManager $productManager, ConfigManager $configManager, RegistryInterface $registry, TokenStorageInterface $tokenStorage)[?] method was changed to AbstractSegmentProductsProvider::__construct(SegmentManager $segmentManager, ProductSegmentProviderInterface $productSegmentProvider, ProductManager $productManager, ConfigManager $configManager, RegistryInterface $registry, TokenStorageInterface $tokenStorage, SymmetricCrypterInterface $crypter)[?]
  • The FrontendProductDatagridListener::__construct(DataGridThemeHelper $themeHelper, RegistryInterface $registry, AttachmentManager $attachmentManager, CacheManager $imagineCacheManager)[?] method was changed to FrontendProductDatagridListener::__construct(DataGridThemeHelper $themeHelper, CacheManager $imagineCacheManager)[?]
  • The RelatedItemSecurityCheck::__construct(AuthorizationCheckerInterface $authorizationChecker, array $productPermissions = [], array $capabilities = [])[?] method was changed to RelatedItemSecurityCheck::__construct(AuthorizationCheckerInterface $authorizationChecker, AclGroupProviderInterface $aclGroupProvider, array $productPermissions = [], array $capabilities = [])[?]
  • The NewArrivalsProvider::getResult[?] method was removed.
  • The following methods in class FrontendProductDatagridListener[?] were removed:
    • getProductRepository[?]
    • getProductUnitRepository[?]
  • The following properties in class FrontendProductDatagridListener[?] were removed:
    • $registry[?]
    • $attachmentManager[?]

RFPBundle

  • The RequestProductCollectionType::setDefaultOptions[?] method was removed.
  • The UserSelectType::setDefaultOptions[?] method was removed.
  • The following methods in class FrontendRequestVoter[?] were removed:
    • supports[?]
    • voteOnAttribute[?]
  • The FrontendRequestVoter::__construct(ActionCurrentApplicationProvider $applicationProvider, WorkflowManager $workflowManager)[?] method was changed to FrontendRequestVoter::__construct(DoctrineHelper $doctrineHelper, ActionCurrentApplicationProvider $applicationProvider, WorkflowManager $workflowManager)[?]

SEOBundle

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

    • __construct(SeoDataProvider $seoDataProvider, TitleDataProvider $titleDataProvider)[?]
    • __construct(SeoDataProvider $seoDataProvider, TitleDataProviderInterface $titleDataProvider)[?]
    • getTitle($defaultValue, $data = null)[?]
    • getTitle($default, $data = null)[?]

SaleBundle

  • The QuoteProductCollectionType::setDefaultOptions[?] method was removed.
  • The QuoteProductOfferCollectionType::setDefaultOptions[?] method was removed.
  • The QuoteProductRequestCollectionType::setDefaultOptions[?] method was removed.

ShippingBundle

  • The ShippingMethodsConfigsRuleHandler::__construct(Request $request, EntityManager $em)[?] method was changed to ShippingMethodsConfigsRuleHandler::__construct(RequestStack $requestStack, EntityManager $em)[?]
  • The ShippingMethodsConfigsRuleHandler::$request[?] property was removed.

ShoppingListBundle

  • The GuestShoppingListManager::__construct(DoctrineHelper $doctrineHelper)[?] method was changed to GuestShoppingListManager::__construct(DoctrineHelper $doctrineHelper, TokenStorageInterface $tokenStorage, WebsiteManager $websiteManager, TranslatorInterface $translator)[?]
  • The FrontendMatrixProductGridExtension::__construct(DoctrineHelper $doctrineHelper, ShoppingListManager $shoppingListManager, MatrixGridOrderFormProvider $matrixGridOrderFormProvider, ProductFormAvailabilityProvider $productFormAvailabilityProvider, ProductVariantAvailabilityProvider $productVariantAvailabilityProvider, FrontendProductPricesProvider $frontendProductPricesProvider, MatrixGridOrderProvider $matrixGridOrderProvider, DataGridThemeHelper $dataGridThemeHelper)[?] method was changed to FrontendMatrixProductGridExtension::__construct(DoctrineHelper $doctrineHelper, ShoppingListManager $shoppingListManager, MatrixGridOrderFormProvider $matrixGridOrderFormProvider, ProductFormAvailabilityProvider $productFormAvailabilityProvider, FrontendProductPricesProvider $frontendProductPricesProvider, MatrixGridOrderProvider $matrixGridOrderProvider, DataGridThemeHelper $dataGridThemeHelper)[?]

TaxBundle

  • The TaxSubtotalProvider::__construct(TranslatorInterface $translator, TaxProviderRegistry $taxProviderRegistry, TaxFactory $taxFactory)[?] method was changed to TaxSubtotalProvider::__construct(TranslatorInterface $translator, TaxProviderRegistry $taxProviderRegistry, TaxFactory $taxFactory, TaxationSettingsProvider $taxationSettingsProvider)[?]

WebCatalogBundle

  • The TitleDataProvider::getTitle($default)[?] method was changed to TitleDataProvider::getTitle($default, $data = null)[?]
  • The ContentNodeTreeResolverFacade::__construct(ContentNodeTreeResolverInterface $defaultResolver, ContentNodeTreeResolverInterface $cachedResolver)[?] method was changed to ContentNodeTreeResolverFacade::__construct(ContentNodeTreeResolverInterface $cachedResolver, ContentNodeTreeDumper $contentNodeTreeDumper)[?]

WebsiteSearchBundle

  • The ReindexDemoDataFixturesListener[?] class was removed.
  • The IndexerInputValidator::__construct(DoctrineHelper $doctrineHelper, WebsiteSearchMappingProvider $mappingProvider)[?] method was changed to IndexerInputValidator::__construct(WebsiteProviderInterface $websiteProvider, WebsiteSearchMappingProvider $mappingProvider)[?]
  • The IndexerInputValidator::$doctrineHelper[?] property was removed.