Skip to content

Latest commit

 

History

History
81 lines (72 loc) · 23.8 KB

incompatibilities-3-1-beta.md

File metadata and controls

81 lines (72 loc) · 23.8 KB

CheckoutBundle

  • The CheckoutGridListener::onBuildAfter[?] method was removed.

InventoryBundle

  • The InventoryLevelNormalizer::__construct(FieldHelper $fieldHelper, ProductUnitLabelFormatter $formatter, QuantityRoundingService $roundingService)[?] method was changed to InventoryLevelNormalizer::__construct(FieldHelper $fieldHelper, UnitLabelFormatterInterface $formatter, QuantityRoundingService $roundingService)[?]

PaymentBundle

  • The TwigSandboxConfigurationPass::process[?] method was removed.

PricingBundle

  • The following classes were removed:
    • PriceListIDInContextStorage[?]
    • ProductPriceIDByPriceListIDNormalizer[?]
    • ResetPriceRuleFieldOnUpdate[?]
  • The UserCurrencyManager::getUserCurrency(Website $website = null, $fallbackToDefault = true)[?] method was changed to UserCurrencyManager::getUserCurrency(Website $website = null)[?]
  • The ProductPriceFormatter::__construct(NumberFormatter $numberFormatter, ProductUnitLabelFormatter $unitLabelFormatter, ProductUnitValueFormatter $unitValueFormatter)[?] method was changed to ProductPriceFormatter::__construct(NumberFormatter $numberFormatter, UnitLabelFormatterInterface $unitLabelFormatter, UnitValueFormatterInterface $unitValueFormatter)[?]
  • The ProductPriceFilterType::__construct(TranslatorInterface $translator, ManagerRegistry $registry, ProductUnitLabelFormatter $formatter)[?] method was changed to ProductPriceFilterType::__construct(TranslatorInterface $translator, ManagerRegistry $registry, UnitLabelFormatterInterface $formatter)[?]
  • The ProductFormExtension::__construct(ManagerRegistry $registry, ShardManager $shardManager, PriceManager $priceManager)[?] method was changed to ProductFormExtension::__construct(ManagerRegistry $registry, ShardManager $shardManager, PriceManager $priceManager, AuthorizationCheckerInterface $authorizationChecker)[?]
  • The ProductPriceFilter::__construct(FormFactoryInterface $factory, FilterUtility $util, ProductUnitLabelFormatter $formatter, PriceListRequestHandler $priceListRequestHandler)[?] method was changed to ProductPriceFilter::__construct(FormFactoryInterface $factory, FilterUtility $util, UnitLabelFormatterInterface $formatter, PriceListRequestHandler $priceListRequestHandler)[?]
  • The FormViewListener::__construct(TranslatorInterface $translator, DoctrineHelper $doctrineHelper, PriceAttributePricesProvider $provider)[?] method was changed to FormViewListener::__construct(TranslatorInterface $translator, DoctrineHelper $doctrineHelper, PriceAttributePricesProvider $provider, AuthorizationCheckerInterface $authorizationChecker)[?]
  • The ProductPriceDatagridListener::__construct(TranslatorInterface $translator, PriceListRequestHandler $priceListRequestHandler, DoctrineHelper $doctrineHelper, ShardManager $shardManager)[?] method was changed to ProductPriceDatagridListener::__construct(TranslatorInterface $translator, PriceListRequestHandler $priceListRequestHandler, DoctrineHelper $doctrineHelper, ShardManager $shardManager, AuthorizationCheckerInterface $authorizationChecker)[?]
  • The CombinedProductPriceProvider::__construct(CombinedProductPriceRepository $combinedProductPriceRepository, NumberFormatter $numberFormatter, UnitLabelFormatter $unitLabelFormatter, UnitValueFormatter $unitValueFormatter)[?] method was changed to CombinedProductPriceProvider::__construct(CombinedProductPriceRepository $combinedProductPriceRepository, NumberFormatter $numberFormatter, UnitLabelFormatterInterface $unitLabelFormatter, UnitValueFormatterInterface $unitValueFormatter)[?]
  • The EnableShardingOnConfig::__construct(ShardManager $shardManager, PriceListIDContextStorageInterface $priceListIDContextStorage)[?] method was changed to EnableShardingOnConfig::__construct(ShardManager $shardManager)[?]
  • The EnableShardingOnQuery::__construct(ShardManager $shardManager, PriceListIDContextStorageInterface $priceListIDContextStorage)[?] method was changed to EnableShardingOnQuery::__construct(ShardManager $shardManager)[?]
  • The NormalizeInputProductPriceId::__construct(PriceListIDContextStorageInterface $priceListIDContextStorage, DoctrineHelper $doctrineHelper, ValidatorInterface $validator)[?] method was changed to NormalizeInputProductPriceId::__construct(DoctrineHelper $doctrineHelper, ValidatorInterface $validator)[?]
  • The StorePriceListInContextByFilter::__construct(PriceListIDContextStorageInterface $priceListIDContextStorage, DoctrineHelper $doctrineHelper)[?] method was changed to StorePriceListInContextByFilter::__construct(DoctrineHelper $doctrineHelper)[?]
  • The ProductPriceUnitSelectorType::getAllProductEnabledUnits(ProductUnitPrecision $primaryUnitPrecision, $additionalUnitPrecisions)[?] method was changed to ProductPriceUnitSelectorType::getAllProductEnabledUnits(ProductUnitPrecision $primaryUnitPrecision = null, $additionalUnitPrecisions)[?]
  • The AbstractRuleEntityListener::$fieldProvider[?] property was removed.
  • The LoadNormalizedProductPriceWithNormalizedId::__construct[?] method was removed.
  • The NormalizeOutputProductPriceId::__construct[?] method was removed.
  • The StorePriceListInContextByProductPrice::__construct[?] method was removed.
  • The following interfaces were removed:
    • PriceListIDContextStorageInterface[?]
    • ProductPriceIDByContextNormalizerInterface[?]

ProductBundle

  • The following classes were removed:
    • ProductUnitLabelFormatter[?]
    • ProductUnitValueFormatter[?]
  • The ProductUnitLabelExtension::getFormatter[?] method was removed.
  • The following methods in class FinderDatabaseStrategy[?] were removed:
  • The FinderStrategyInterface::find[?] method was removed.
  • The ProductUnitLabelExtension::__construct(ContainerInterface $container)[?] method was changed to ProductUnitLabelExtension::__construct(UnitLabelFormatterInterface $unitLabelFormatter)[?]
  • The ProductUnitsProvider::__construct(ManagerRegistry $registry, ProductUnitLabelFormatter $formatter)[?] method was changed to ProductUnitsProvider::__construct(ManagerRegistry $registry, UnitLabelFormatterInterface $formatter)[?]
  • The ProductUnitSelectType::__construct(ProductUnitLabelFormatter $productUnitLabelFormatter)[?] method was changed to ProductUnitSelectType::__construct(UnitLabelFormatterInterface $productUnitLabelFormatter)[?]
  • The ProductUnitSelectionType::__construct(ProductUnitLabelFormatter $productUnitFormatter, TranslatorInterface $translator)[?] method was changed to ProductUnitSelectionType::__construct(UnitLabelFormatterInterface $productUnitFormatter, TranslatorInterface $translator)[?]
  • The RestrictProductVariationsEventListener::__construct(ConfigManager $configManager, FrontendHelper $frontendHelper)[?] method was changed to RestrictProductVariationsEventListener::__construct(ConfigManager $configManager, FrontendHelper $frontendHelper, QueryBuilderModifierInterface $dbQueryBuilderModifier)[?]
  • The ProductUnitLabelExtension::$container[?] property was removed.
  • The FinderStrategyInterface::findIds[?] interface method was added.

SaleBundle

  • The QuoteProductFormatter::__construct(TranslatorInterface $translator, NumberFormatter $numberFormatter, ProductUnitValueFormatter $productUnitValueFormatter, ProductUnitLabelFormatter $productUnitLabelFormatter)[?] method was changed to QuoteProductFormatter::__construct(TranslatorInterface $translator, NumberFormatter $numberFormatter, UnitValueFormatterInterface $productUnitValueFormatter, UnitLabelFormatterInterface $productUnitLabelFormatter)[?]
  • The QuoteProductDemandOfferChoiceType::__construct(ProductUnitValueFormatter $unitValueFormatter, TranslatorInterface $translator, UnitVisibilityInterface $unitVisibility)[?] method was changed to QuoteProductDemandOfferChoiceType::__construct(UnitValueFormatterInterface $unitValueFormatter, TranslatorInterface $translator, UnitVisibilityInterface $unitVisibility)[?]
  • The QuoteProductType::__construct(TranslatorInterface $translator, ProductUnitLabelFormatter $labelFormatter, QuoteProductFormatter $formatter, ManagerRegistry $registry)[?] method was changed to QuoteProductType::__construct(TranslatorInterface $translator, UnitLabelFormatterInterface $labelFormatter, QuoteProductFormatter $formatter, ManagerRegistry $registry)[?]

ShippingBundle

  • The AbstractShippingOptionSelectType::__construct(MeasureUnitProvider $unitProvider, UnitLabelFormatter $formatter)[?] method was changed to AbstractShippingOptionSelectType::__construct(MeasureUnitProvider $unitProvider, UnitLabelFormatterInterface $formatter)[?]

ShoppingListBundle

  • The FrontendLineItemWidgetType::__construct(ManagerRegistry $registry, TranslatorInterface $translator, AclHelper $aclHelper, ShoppingListManager $shoppingListManager)[?] method was changed to FrontendLineItemWidgetType::__construct(ManagerRegistry $registry, TranslatorInterface $translator, ShoppingListManager $shoppingListManager)[?]
  • The FrontendLineItemWidgetType::$aclHelper[?] property was removed.