Skip to content

Latest commit

 

History

History
147 lines (133 loc) · 42.8 KB

incompatibilities-4-1-rc.md

File metadata and controls

147 lines (133 loc) · 42.8 KB

ApplicationBundle

  • The OroApplicationExtension[?] class was removed.

CMSBundle

  • The following classes were removed:
    • WidgetRegistry[?]
    • HomePageSliderImagesSourceFixer[?]
    • WidgetTagPass[?]
  • The WidgetExtension::__construct(WidgetRegistry $widgetRegistry)[?] method was changed to WidgetExtension::__construct(ContentWidgetRenderer $contentWidgetRenderer)[?]
  • The ContentBlockDataProvider::getContentBlockView($alias)[?] method was changed to ContentBlockDataProvider::getContentBlockView(string $alias)[?]
  • The ContentBlockView::__construct($alias, Collection $titles, $enabled, $content)[?] method was changed to ContentBlockView::__construct(string $alias, Collection $titles, bool $enabled, string $content, string $contentStyle)[?]
  • The WidgetInterface[?] interface was removed.

CatalogBundle

  • The CategoryPerOrganizationQueryModifier[?] class was removed.
  • The CategoryTreeProvider::__construct(CategoryRepository $categoryRepository, EventDispatcherInterface $eventDispatcher, MasterCatalogRootProvider $masterCatalogRootProvider)[?] method was changed to CategoryTreeProvider::__construct(ManagerRegistry $registry, EventDispatcherInterface $eventDispatcher, MasterCatalogRootProvider $masterCatalogRootProvider)[?]
  • The MasterCatalogRootProvider::__construct(CategoryRepository $categoryRepository, TokenAccessor $tokenAccessor)[?] method was changed to MasterCatalogRootProvider::__construct(ManagerRegistry $registry, TokenAccessor $tokenAccessor)[?]
  • The CategoriesProductsProvider::__construct(CategoryRepository $categoryRepository, ProductRepository $searchRepository)[?] method was changed to CategoriesProductsProvider::__construct(ManagerRegistry $registry, ProductRepository $searchRepository)[?]
  • The CategoryProvider::__construct(RequestProductHandler $requestProductHandler, CategoryRepository $categoryRepository, CategoryTreeProvider $categoryTreeProvider, TokenAccessorInterface $tokenAccessor)[?] method was changed to CategoryProvider::__construct(RequestProductHandler $requestProductHandler, ManagerRegistry $registry, CategoryTreeProvider $categoryTreeProvider, TokenAccessorInterface $tokenAccessor)[?]
  • The SearchCategoryFilteringEventListener::__construct(RequestProductHandler $requestProductHandler, CategoryRepository $categoryRepository, SubcategoryProvider $categoryProvider)[?] method was changed to SearchCategoryFilteringEventListener::__construct(RequestProductHandler $requestProductHandler, ManagerRegistry $registry, SubcategoryProvider $categoryProvider)[?]
  • The HideInvisibleProductCategories::__construct(AclProtectedQueryFactory $queryFactory, DoctrineHelper $doctrineHelper)[?] method was changed to HideInvisibleProductCategories::__construct(QueryAclHelper $queryAclHelper, DoctrineHelper $doctrineHelper)[?]
  • The CategoryTreeProvider::$categoryRepository[?] property was removed.
  • The CategoriesProductsProvider::$categoryRepository[?] property was removed.
  • The CategoryProvider::$categoryRepository[?] property was removed.

OrderBundle

  • The OrderLineItemQueryModifier[?] class was removed.

PaymentBundle

  • The PaymentMethodsConfigsRuleController::enableAction($id)[?] method was changed to PaymentMethodsConfigsRuleController::enableAction(int $id)[?]

PricingBundle

  • The following classes were removed:
    • EnableShardingOnConfig[?]
    • EnableShardingOnQuery[?]
    • HandlePriceListFilter[?]
    • LoadNormalizedProductPriceWithNormalizedId[?]
    • NormalizeInputProductPriceId[?]
    • NormalizeOutputProductPriceId[?]
    • PriceListIdContextUtil[?]
    • RememberProductPrice[?]
    • ResetPriceRuleField[?]
    • SaveProductPrice[?]
    • StorePriceListInContextByProductPrice[?]
    • PriceListRelationTriggerHandlerForWebsiteAndCustomer[?]
    • PriceListRelationTriggerHandlerForWebsiteAndCustomerGroup[?]
    • UpdateLexemesOnPriceRuleDelete[?]
    • UpdateLexemesOnPriceRuleDeleteList[?]
    • UpdateLexemesPriceRule[?]
    • BuildCombinedPriceList[?]
    • BuildCombinedPriceLists[?]
    • RemovePriceListSchedulesFromContext[?]
    • SavePriceListSchedulesToContext[?]
    • UpdatePriceListsContainSchedule[?]
    • AddSchedulesToPriceListApiFormSubscriber[?]
    • HandlePriceListStatusChange[?]
    • UpdatePriceListLexemes[?]
  • The ProductPriceProvider::recalculatePricePerUnit[?] method was removed.
  • The following methods in class ProductPriceResetStrategy[?] were removed:
    • beforeProcessEntity[?]
    • getProductPriceRepository[?]
    • updateContextCounters[?]
    • setShardManager[?]
  • The following properties in class ProductPriceResetStrategy[?] were removed:
    • $shardManager[?]
    • $processedPriceLists[?]

ProductBundle

  • The following classes were removed:
    • ProductImageCurrentCollection[?]
    • AddRelatedProduct[?]
  • The AttributeFamilyUsageInVariantFieldValidator::__construct(AttributeManager $attributeManager, DoctrineHelper $doctrineHelper)[?] method was changed to AttributeFamilyUsageInVariantFieldValidator::__construct(AttributeManager $attributeManager, DoctrineHelper $doctrineHelper, ConfigManager $configManager)[?]
  • The WebsiteSearchProductIndexDataProvider::__construct(AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider, ProductIndexFieldsProvider $indexFieldsProvider, PropertyAccessor $propertyAccessor)[?] method was changed to WebsiteSearchProductIndexDataProvider::__construct(AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProviderInterface $configurationProvider, ProductIndexFieldsProvider $indexFieldsProvider, PropertyAccessor $propertyAccessor)[?]
  • The ProductImagesURLsProvider::__construct(DoctrineHelper $doctrineHelper, AttachmentManager $attachmentManager)[?] method was changed to ProductImagesURLsProvider::__construct(DoctrineHelper $doctrineHelper, AttachmentManager $attachmentManager, ProductImageHelper $productImageHelper)[?]
  • The ProductType::__construct(DefaultProductUnitProviderInterface $provider, UrlGeneratorInterface $urlGenerator)[?] method was changed to ProductType::__construct(DefaultProductUnitProviderInterface $provider, UrlGeneratorInterface $urlGenerator, ProductImageHelper $productImageHelper)[?]
  • The WebsiteSearchMappingListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider, ProductIndexFieldsProvider $fieldsProvider)[?] method was changed to WebsiteSearchMappingListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProviderInterface $configurationProvider, ProductIndexFieldsProvider $fieldsProvider)[?]
  • The FrontendProductGridEventListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider, ProductRepository $productRepository, DoctrineHelper $doctrineHelper, ServiceLink $datagridManagerLink, DatagridStateProviderInterface $filtersStateProvider, DatagridStateProviderInterface $sortersStateProvider, ConfigManager $configManager)[?] method was changed to FrontendProductGridEventListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProviderInterface $configurationProvider, ProductRepository $productRepository, DoctrineHelper $doctrineHelper, ServiceLink $datagridManagerLink, DatagridStateProviderInterface $filtersStateProvider, DatagridStateProviderInterface $sortersStateProvider, ConfigManager $configManager)[?]
  • The BrandController::getAction($id)[?] method was changed to BrandController::getAction(int $id)[?]
  • The ProductFamilySearchHandler::__construct(ManagerRegistry $registry, PropertyAccessor $propertyAccessor)[?] method was changed to ProductFamilySearchHandler::__construct(ManagerRegistry $registry, PropertyAccessor $propertyAccessor, AclHelper $aclHelper)[?]
  • The ConfigureProductSearchAttributes::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider)[?] method was changed to ConfigureProductSearchAttributes::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProviderInterface $configurationProvider)[?]
  • The following methods in class ProductImageHelper[?] were removed:
    • setProductImageImportDir[?]
    • getProductImageImportDir[?]
  • The WebsiteSearchSegmentListener::onWebsiteSearchIndex[?] method was removed.
  • The ProductImageHelper::$productImageImportDir[?] property was removed.

RedirectBundle

  • The Firewall::__construct(FirewallMapInterface $map, EventDispatcherInterface $dispatcher, MatchedUrlDecisionMaker $matchedUrlDecisionMaker, RequestContext $context = null)[?] method was changed to Firewall::__construct(MatchedUrlDecisionMaker $matchedUrlDecisionMaker, RequestContext $context = null)[?]
  • The MatchedUrlDecisionMaker::__construct(FrontendHelper $frontendHelper)[?] method was changed to MatchedUrlDecisionMaker::__construct(array $skippedUrlPatterns, FrontendHelper $frontendHelper)[?]
  • The SlugUrlMatcher::__construct(RouterInterface $router, SlugRepository $slugRepository, ScopeManager $scopeManager, MatchedUrlDecisionMaker $matchedUrlDecisionMaker, AclHelper $aclHelper)[?] method was changed to SlugUrlMatcher::__construct(RouterInterface $router, ManagerRegistry $registry, ScopeManager $scopeManager, MatchedUrlDecisionMaker $matchedUrlDecisionMaker, AclHelper $aclHelper)[?]
  • The UniqueSlugResolver::__construct(SlugRepository $repository, AclHelper $aclHelper)[?] method was changed to UniqueSlugResolver::__construct(ManagerRegistry $registry, AclHelper $aclHelper)[?]
  • The RedirectExceptionListener::__construct(RedirectRepository $repository, ScopeManager $scopeManager, MatchedUrlDecisionMaker $matchedUrlDecisionMaker)[?] method was changed to RedirectExceptionListener::__construct(ManagerRegistry $registry, ScopeManager $scopeManager, MatchedUrlDecisionMaker $matchedUrlDecisionMaker)[?]
  • The SluggableUrlDumper::__construct(SlugRepository $slugRepository, UrlCacheInterface $cache)[?] method was changed to SluggableUrlDumper::__construct(ManagerRegistry $registry, UrlCacheInterface $cache)[?]
  • The UrlCacheMassJobProcessor::__construct(JobRunner $jobRunner, MessageProducerInterface $producer, SlugRepository $slugRepository, LoggerInterface $logger, UrlCacheInterface $cache)[?] method was changed to UrlCacheMassJobProcessor::__construct(JobRunner $jobRunner, MessageProducerInterface $producer, ManagerRegistry $registry, LoggerInterface $logger, UrlCacheInterface $cache)[?]
  • The SlugUrlMatcher::$slugRepository[?] property was removed.
  • The UniqueSlugResolver::$repository[?] property was removed.

ShippingBundle

  • The FormViewListener::addBlock(ScrollData $scrollData, $html, $label, $priority)[?] method was changed to FormViewListener::addBlock(ScrollData $scrollData, $html, $label, $priority)[?]
  • The ShippingMethodsConfigsRuleController::enableAction($id)[?] method was changed to ShippingMethodsConfigsRuleController::enableAction(int $id)[?]

ShoppingListBundle

  • The ShoppingListViewVoter[?] class was removed.
  • The CurrentShoppingListManager::__construct(ShoppingListManager $shoppingListManager, GuestShoppingListManager $guestShoppingListManager, Cache $cache, ManagerRegistry $doctrine, AclHelper $aclHelper, TokenAccessorInterface $tokenAccessor, WebsiteManager $websiteManager)[?] method was changed to CurrentShoppingListManager::__construct(ShoppingListManager $shoppingListManager, GuestShoppingListManager $guestShoppingListManager, CurrentShoppingListStorage $currentShoppingListStorage, ManagerRegistry $doctrine, AclHelper $aclHelper, TokenAccessorInterface $tokenAccessor)[?]
  • The ShoppingListManager::__construct(ManagerRegistry $doctrine, TokenAccessorInterface $tokenAccessor, TranslatorInterface $translator, QuantityRoundingService $rounding, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, ProductVariantAvailabilityProvider $productVariantProvider, ProductMatrixAvailabilityProvider $productMatrixAvailabilityProvider, ConfigManager $configManager)[?] method was changed to ShoppingListManager::__construct(ManagerRegistry $doctrine, TokenAccessorInterface $tokenAccessor, TranslatorInterface $translator, QuantityRoundingService $rounding, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, ProductVariantAvailabilityProvider $productVariantProvider, ProductMatrixAvailabilityProvider $productMatrixAvailabilityProvider, ConfigManager $configManager, EntityDeleteHandlerRegistry $deleteHandlerRegistry)[?]
  • The ShoppingListRepository::findAvailableForCustomerUser(AclHelper $aclHelper, $selectRelations = false, $websiteId = null)[?] method was changed to ShoppingListRepository::findAvailableForCustomerUser(AclHelper $aclHelper, $selectRelations = false)[?]
  • The LineItemController::deleteAction($id)[?] method was changed to LineItemController::deleteAction(int $id)[?]

TaxBundle

  • The RowTotalResolver::__construct(TaxationSettingsProvider $settingsProvider, TaxCalculatorInterface $calculator)[?] method was changed to RowTotalResolver::__construct(TaxationSettingsProvider $settingsProvider, TaxCalculatorInterface $calculator, RoundingResolver $roundingResolver)[?]
  • The TotalResolver::adjustAmounts[?] method was removed.

VisibilityBundle

  • The CategoryVisibleListener::__construct(CategoryRepository $categoryRepository, CategoryVisibilityResolverInterface $categoryVisibilityResolver, CustomerUserRelationsProvider $customerUserRelationsProvider, TokenStorageInterface $tokenStorage)[?] method was changed to CategoryVisibleListener::__construct(ManagerRegistry $registry, CategoryVisibilityResolverInterface $categoryVisibilityResolver, CustomerUserRelationsProvider $customerUserRelationsProvider, TokenStorageInterface $tokenStorage)[?]

WebsiteSearchBundle

  • The HTMLSearchableAttributeType[?] class was removed.
  • The AbstractIndexer::__construct(DoctrineHelper $doctrineHelper, WebsiteSearchMappingProvider $mappingProvider, EntityDependenciesResolverInterface $entityDependenciesResolver, IndexDataProvider $indexDataProvider, PlaceholderInterface $placeholder, IndexerInputValidator $indexerInputValidator)[?] method was changed to AbstractIndexer::__construct(DoctrineHelper $doctrineHelper, WebsiteSearchMappingProvider $mappingProvider, EntityDependenciesResolverInterface $entityDependenciesResolver, IndexDataProvider $indexDataProvider, PlaceholderInterface $placeholder, IndexerInputValidator $indexerInputValidator, EventDispatcherInterface $eventDispatcher)[?]
  • The SearchMessageProcessor::__construct(IndexerInterface $indexer, MessageProducerInterface $messageProducer, IndexerInputValidator $indexerInputValidator, ReindexMessageGranularizer $reindexMessageGranularizer, JobRunner $jobRunner, LoggerInterface $logger)[?] method was changed to SearchMessageProcessor::__construct(IndexerInterface $indexer, MessageProducerInterface $messageProducer, IndexerInputValidator $indexerInputValidator, ReindexMessageGranularizer $reindexMessageGranularizer, JobRunner $jobRunner, LoggerInterface $logger, EventDispatcherInterface $eventDispatcher)[?]