Skip to content

Latest commit

 

History

History
107 lines (92 loc) · 26.2 KB

incompatibilities-4-0-beta.md

File metadata and controls

107 lines (92 loc) · 26.2 KB

CatalogBundle

  • The CategoryCountsExtension::__construct(ServiceLink $datagridManagerLink, ManagerRegistry $registry, ProductRepository $productSearchRepository, CategoryCountsCache $cache, DatagridParametersHelper $datagridParametersHelper)[?] method was changed to CategoryCountsExtension::__construct(ServiceLink $datagridManagerLink, ManagerRegistry $registry, ProductRepository $productSearchRepository, CategoryCountsCache $cache, DatagridParametersHelper $datagridParametersHelper, ConfigManager $configManager)[?]
  • The CategoryCountsCache::__construct(CacheProvider $cacheProvider, TokenAccessor $tokenAccessor)[?] method was changed to CategoryCountsCache::__construct(CacheProvider $cacheProvider, TokenAccessor $tokenAccessor, WebsiteManager $websiteManager)[?]

CheckoutBundle

  • The following methods in class CheckoutSubtotalRepository[?] were removed:
    • getBaseInvalidateQb[?]
    • invalidateTotals[?]
  • The OrderLineItemConverter::__construct(ConfigManager $configManager, InventoryQuantityProviderInterface $quantityProvider, AuthorizationCheckerInterface $authorizationChecker, $configPath)[?] method was changed to OrderLineItemConverter::__construct(ConfigManager $configManager, InventoryQuantityProviderInterface $quantityProvider, AuthorizationCheckerInterface $authorizationChecker, EntityFallbackResolver $entityFallbackResolver, $configPath)[?]

FrontendLocalizationBundle

  • The UserLocalizationManager::__construct(Session $session, TokenStorageInterface $tokenStorage, ConfigManager $configManager, WebsiteManager $websiteManager, BaseUserManager $userManager, LocalizationManager $localizationManager)[?] method was changed to UserLocalizationManager::__construct(Session $session, TokenStorageInterface $tokenStorage, ManagerRegistry $doctrine, ConfigManager $configManager, WebsiteManager $websiteManager, LocalizationManager $localizationManager)[?]
  • The UserLocalizationManager::$userManager[?] property was removed.

InventoryBundle

  • The ProductUpcomingProvider[?] class was removed.
  • The UpcomingLabelCheckoutLineItemValidator::__construct(ProductUpcomingProvider $ProductUpcomingProvider, TranslatorInterface $translator, DateTimeFormatter $dateFormatter)[?] method was changed to UpcomingLabelCheckoutLineItemValidator::__construct(UpcomingProductProvider $ProductUpcomingProvider, TranslatorInterface $translator, DateTimeFormatter $dateFormatter)[?]
  • The CheckoutShipUntilValidator::__construct(ProductUpcomingProvider $upcomingProvider, CheckoutLineItemsManager $checkoutLineItemsManager)[?] method was changed to CheckoutShipUntilValidator::__construct(UpcomingProductProvider $upcomingProvider, CheckoutLineItemsManager $checkoutLineItemsManager)[?]
  • The ProductUpcomingExtension::__construct(ProductUpcomingProvider $provider)[?] method was changed to ProductUpcomingExtension::__construct(UpcomingProductProvider $provider)[?]
  • The ProductUpcomingNormalizer::__construct(ProductUpcomingProvider $productUpcomingProvider)[?] method was changed to ProductUpcomingNormalizer::__construct(UpcomingProductProvider $productUpcomingProvider)[?]
  • The CheckoutShipUntilFormExtension::__construct(ProductUpcomingProvider $provider, CheckoutLineItemsManager $checkoutLineItemsManager, DateTimeFormatter $dateTimeFormatter)[?] method was changed to CheckoutShipUntilFormExtension::__construct(UpcomingProductProvider $provider, CheckoutLineItemsManager $checkoutLineItemsManager, DateTimeFormatter $dateTimeFormatter)[?]
  • The ProductNormalizerEventListener::__construct(ProductUpcomingProvider $productUpcomingProvider)[?] method was changed to ProductNormalizerEventListener::__construct(UpcomingProductProvider $productUpcomingProvider)[?]
  • The ProductDatagridUpcomingLabelListener::__construct(ProductUpcomingProvider $productUpcomingProvider, DoctrineHelper $doctrineHelper)[?] method was changed to ProductDatagridUpcomingLabelListener::__construct(UpcomingProductProvider $productUpcomingProvider, DoctrineHelper $doctrineHelper)[?]
  • The following methods in class ProductUpcomingExtension[?] were removed:
    • isUpcoming[?]
    • getAvailabilityDate[?]

PayPalBundle

  • The CurrencySelectionType[?] class was removed.

PaymentTermBundle

  • The CustomerDatagridListener::__construct(PaymentTermAssociationProvider $paymentTermAssociationProvider)[?] method was changed to CustomerDatagridListener::__construct(PaymentTermAssociationProvider $paymentTermAssociationProvider, SelectedFieldsProviderInterface $selectedFieldsProvider)[?]

PricingBundle

  • The UserCurrencyManager::__construct(Session $session, TokenStorageInterface $tokenStorage, CurrencyProviderInterface $currencyProvider, WebsiteManager $websiteManager, BaseUserManager $userManager)[?] method was changed to UserCurrencyManager::__construct(Session $session, TokenStorageInterface $tokenStorage, ManagerRegistry $doctrine, CurrencyProviderInterface $currencyProvider, WebsiteManager $websiteManager)[?]
  • The UserCurrencyManager::$userManager[?] property was removed.
  • The following methods in class PriceListImportCommand[?] were removed:
    • getFileManager[?]
    • getImportHandler[?]
    • getMessageProducer[?]

ProductBundle

  • The SegmentMessageFactory::createMessage(array $websiteIds, Segment $segment = null, $definition = null, $isFull = true)[?] method was changed to SegmentMessageFactory::createMessage(array $websiteIds, Segment $segment = null, $definition = null, $isFull = true, array $additionalProducts = [])[?]
  • The FrontendProductDatagridListener::__construct(DataGridThemeHelper $themeHelper, CacheManager $imagineCacheManager)[?] method was changed to FrontendProductDatagridListener::__construct(DataGridThemeHelper $themeHelper, CacheManager $imagineCacheManager, ImagePlaceholderProviderInterface $imagePlaceholderProvider)[?]
  • The ProductCollectionAwareContentVariantEntityListener::__construct(ProductCollectionVariantReindexMessageSendListener $reindexEventListener)[?] method was changed to ProductCollectionAwareContentVariantEntityListener::__construct(ProductCollectionVariantReindexMessageSendListener $reindexEventListener, ProductCollectionDefinitionConverter $productCollectionDefinitionConverter)[?]
  • The ProductCollectionVariantReindexMessageSendListener::scheduleSegment(Segment $segment, $isFull = false)[?] method was changed to ProductCollectionVariantReindexMessageSendListener::scheduleSegment(Segment $segment, $isFull = false, array $additionalProducts = [])[?]
  • The FrontendProductFilterSorterDisablingEventListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider, ProductRepository $productRepository, DoctrineHelper $doctrineHelper, ServiceLink $datagridManagerLink, DatagridStateProviderInterface $filtersStateProvider, DatagridStateProviderInterface $sortersStateProvider)[?] method was changed to FrontendProductFilterSorterDisablingEventListener::__construct(AttributeManager $attributeManager, AttributeTypeRegistry $attributeTypeRegistry, AttributeConfigurationProvider $configurationProvider, ProductRepository $productRepository, DoctrineHelper $doctrineHelper, ServiceLink $datagridManagerLink, DatagridStateProviderInterface $filtersStateProvider, DatagridStateProviderInterface $sortersStateProvider, ConfigManager $configManager)[?]
  • The SearchContentVariantFilteringEventListener::__construct(RequestContentVariantHandler $requestHandler)[?] method was changed to SearchContentVariantFilteringEventListener::__construct(RequestContentVariantHandler $requestHandler, ConfigManager $configManager)[?]

RFPBundle

  • The AbstractCustomerViewListener[?] class was removed.

RedirectBundle

  • The MatchedUrlDecisionMaker::__construct(FrontendHelper $frontendHelper, $installed)[?] method was changed to MatchedUrlDecisionMaker::__construct(FrontendHelper $frontendHelper)[?]
  • The MatchedUrlDecisionMaker::$installed[?] property was removed.

SaleBundle

  • The QuotePriceComparator::__construct(Quote $quote)[?] method was changed to QuotePriceComparator::__construct(Quote $quote, QuoteProductPriceProvider $provider)[?]
  • The QuoteProductPriceProvider::__construct(ProductPriceProviderInterface $productPriceProvider, ProductPriceScopeCriteriaFactoryInterface $priceScopeCriteriaFactory, CurrencyProviderInterface $currencyProvider)[?] method was changed to QuoteProductPriceProvider::__construct(ProductPriceProviderInterface $productPriceProvider, ProductPriceScopeCriteriaFactoryInterface $priceScopeCriteriaFactory, CurrencyProviderInterface $currencyProvider, DoctrineHelper $doctrineHelper)[?]
  • The QuotePriceComparator::$quotePrices[?] property was removed.

ShoppingListBundle

  • The LineItemHandler::__construct(FormInterface $form, Request $request, ManagerRegistry $doctrine, ShoppingListManager $shoppingListManager, CurrentShoppingListManager $currentShoppingListManager)[?] method was changed to LineItemHandler::__construct(FormInterface $form, Request $request, ManagerRegistry $doctrine, ShoppingListManager $shoppingListManager, CurrentShoppingListManager $currentShoppingListManager, ValidatorInterface $validator)[?]
  • The ShoppingListTotalRepository::invalidateTotals[?] method was removed.

Testing

  • The following classes were removed:
    • AddressFormExtensionTestCase[?]
    • FormViewListenerTestCase[?]
    • EntityIdentifierType[?]
    • AddressCountryAndRegionSubscriberStub[?]

WebsiteSearchBundle

  • The WebsiteSearchController[?] class was removed.
  • The DriverDecorator::saveItems[?] method was removed.
  • The DriverInterface::saveItems[?] method was removed.
  • The SearchMessageProcessor::__construct(IndexerInterface $indexer, MessageProducerInterface $messageProducer, IndexerInputValidator $indexerInputValidator, ReindexMessageGranularizer $reindexMessageGranularizer, LoggerInterface $logger)[?] method was changed to SearchMessageProcessor::__construct(IndexerInterface $indexer, MessageProducerInterface $messageProducer, IndexerInputValidator $indexerInputValidator, ReindexMessageGranularizer $reindexMessageGranularizer, JobRunner $jobRunner, LoggerInterface $logger)[?]