Skip to content

Latest commit

 

History

History
100 lines (92 loc) · 31.5 KB

incompatibilities-5-0.md

File metadata and controls

100 lines (92 loc) · 31.5 KB

CommerceMenuBundle

  • The MenuExtension::getName[?] method was removed.
  • The AbstractFrontendMenuController::getMenuUpdateManager[?] method was removed.
  • The MenuExtension::getUrl($url)[?] method was changed to MenuExtension::getUrl($url)[?]
  • The MenuProvider::getMenu($menuName, $options = [ ... ])[?] method was changed to MenuProvider::getMenu($menuName, $options = [ ... ])[?]

CustomerBundle

  • The following classes were removed:
    • EmailCaseInsensitiveOptionConstraint[?]
    • CountryRegionsController[?]
    • EntityDataController[?]
    • FrontendWindowsStateController[?]
  • The CustomerUserWithoutRole::validatedBy[?] method was removed.
  • The CustomerUserWithoutRoleValidator::isUserValid[?] method was removed.
  • The CustomerExtension::getName[?] method was removed.
  • The AnonymousCustomerUserAuthenticationListener::handle[?] method was removed.
  • The following methods in class FrontendOwnershipMetadata[?] were removed:
  • The CustomerAddOrReplaceStrategy::processValidationErrors[?] method was removed.
  • The CustomerUserAddOrReplaceStrategy::getObjectValue[?] method was removed.
  • The following methods in class CustomerUser[?] were removed:
    • serialize[?]
    • unserialize[?]
    • isAccountNonLocked[?]
  • The following methods in class CustomerUserRole[?] were removed:
  • The CustomerGroupVoter::setConfigManager[?] method was removed.
  • The following methods in class CustomerUserRoleVoter[?] were removed:
    • setContainer[?]
    • getAuthorizationChecker[?]
    • getTokenAccessor[?]
    • getLoggedUser[?]
  • The TokenAwareFrontendHelper::__construct($backendPrefix, RequestStack $requestStack, TokenStorageInterface $tokenStorage)[?] method was changed to TokenAwareFrontendHelper::__construct($backendPrefix, RequestStack $requestStack, ApplicationState $applicationState, TokenStorageInterface $tokenStorage)[?]
  • The CustomerVisitorCookieResponseListener::onKernelResponse(FilterResponseEvent $event)[?] method was changed to CustomerVisitorCookieResponseListener::onKernelResponse(ResponseEvent $event)[?]
  • The AnonymousCustomerUserAuthenticationListener::__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger, WebsiteManager $websiteManager, CacheProvider $cacheProvider, CsrfRequestManager $csrfRequestManager, $apiPattern, CustomerVisitorCookieFactory $cookieFactory)[?] method was changed to AnonymousCustomerUserAuthenticationListener::__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, CsrfRequestManager $csrfRequestManager, CustomerVisitorCookieFactory $cookieFactory, AnonymousCustomerUserRolesProvider $rolesProvider, $apiPattern, LoggerInterface $logger)[?]
  • The CustomerVisitorCookieFactory::__construct($secure, $httpOnly, ConfigManager $configManager)[?] method was changed to CustomerVisitorCookieFactory::__construct($secure, $httpOnly, ConfigManager $configManager, $sameSite)[?]
  • The CustomerUserPreferredLocalizationProvider::__construct($userLocalizationManager)[?] method was changed to CustomerUserPreferredLocalizationProvider::__construct(UserLocalizationManagerInterface $userLocalizationManager)[?]
  • The FrontendOwnershipMetadata::__construct($ownerType = null, $ownerFieldName, $ownerColumnName, $organizationFieldName, $organizationColumnName, $customerFieldName, $customerColumnName)[?] method was changed to FrontendOwnershipMetadata::__construct($ownerType, $ownerFieldName, $ownerColumnName, $organizationFieldName, $organizationColumnName, $customerFieldName, $customerColumnName)[?]
  • The CustomerNormalizer::normalize($object, $format = null, $context = [])[?] method was changed to CustomerNormalizer::normalize($object, $format = null, $context = [])[?]
  • The CustomerUserNormalizer::normalize($object, $format = null, $context = [])[?] method was changed to CustomerUserNormalizer::normalize($object, $format = null, $context = [])[?]
  • The DisabledUserSessionListener::onKernelException(GetResponseForExceptionEvent $event)[?] method was changed to DisabledUserSessionListener::onKernelException(ExceptionEvent $event)[?]
  • The CustomerDatagridListener::__construct(CustomerUserProvider $securityProvider, $columns = [ ... ])[?] method was changed to CustomerDatagridListener::__construct(CustomerUserProvider $securityProvider, $columns = [ ... ])[?]
  • The CustomerUser::setBirthday($birthday)[?] method was changed to CustomerUser::setBirthday(DateTime $birthday = null)[?]
  • The AnonymousCustomerUserFactory::create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint)[?] method was changed to AnonymousCustomerUserFactory::create(ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId)[?]
  • The CustomersEnableSwitchActionHandler::__construct(AclHelper $aclHelper, TokenStorageInterface $tokenStorage, TranslatorInterface $translator, $isEnabled, $successMessage, $errorMessage)[?] method was changed to CustomersEnableSwitchActionHandler::__construct(AclHelper $aclHelper, TokenStorageInterface $tokenStorage, TranslatorInterface $translator, $isEnabled, $successMessage, $errorMessage)[?]
  • The CustomerUserRoleController::update(Request $request, CustomerUserRole $role)[?] method was changed to CustomerUserRoleController::update(CustomerUserRole $role, Request $request)[?]
  • The ResetController::checkEmailAction()[?] method was changed to ResetController::checkEmailAction(Request $request)[?]
  • The CustomerVoter::__construct(DoctrineHelper $doctrineHelper, AuthenticationTrustResolverInterface $authenticationTrustResolver, AuthorizationCheckerInterface $authorizationChecker, CustomerUserProvider $customerUserProvider, CustomerUserRelationsProvider $customerUserRelationsProvider)[?] method was changed to CustomerVoter::__construct(DoctrineHelper $doctrineHelper, AuthorizationCheckerInterface $authorizationChecker, AuthenticationTrustResolverInterface $authenticationTrustResolver, ContainerInterface $container)[?]
  • The CustomerUser::$roles[?] property was removed.
  • The CustomerGroupVoter::$configManager[?] property was removed.
  • The CustomerUserRoleVoter::$container[?] property was removed.

FrontendAttachmentBundle

  • The FileUrlProvider::getResizedImageUrl(File $file, $width, $height, $referenceType)[?] method was changed to FileUrlProvider::getResizedImageUrl(File $file, $width, $height, $format, $referenceType)[?]

FrontendBundle

  • The following classes were removed:
    • NotInstalledFrontendHelper[?]
    • LoginAttemptsLogHandler[?]
    • ExceptionController[?]
    • WorkflowController[?]
  • The FrontendHelper::__construct($backendPrefix, RequestStack $requestStack)[?] method was changed to FrontendHelper::__construct($backendPrefix, RequestStack $requestStack, ApplicationState $applicationState)[?]
  • The RouteProvider::__construct(RouteProviderInterface $routeProvider, FrontendHelper $frontendHelper, $formDialogRoute, $formPageRoute, $executionRoute, $widgetRoute = null)[?] method was changed to RouteProvider::__construct(RouteProviderInterface $routeProvider, FrontendHelper $frontendHelper, $formDialogRoute, $formPageRoute, $executionRoute, $widgetRoute)[?]
  • The LocaleSettings::__construct(LocaleSettings $inner, FrontendHelper $frontendHelper, UserLocalizationManagerInterface $localizationManager)[?] method was changed to LocaleSettings::__construct(LocaleSettings $inner, FrontendHelper $frontendHelper, UserLocalizationManagerInterface $localizationManager, LayoutContextHolder $layoutContextHolder, ThemeManager $themeManager)[?]
  • The DraftableFilterListener::onKernelController(FilterControllerEvent $event)[?] method was changed to DraftableFilterListener::onKernelController(ControllerEvent $event)[?]
  • The GuestAccessRequestListener::onKernelRequest(GetResponseEvent $event)[?] method was changed to GuestAccessRequestListener::onKernelRequest(RequestEvent $event)[?]
  • The ThemeListener::onKernelRequest(GetResponseEvent $event)[?] method was changed to ThemeListener::onKernelRequest(RequestEvent $event)[?]
  • The ClassMigration::__construct(ManagerRegistry $managerRegistry, ConfigManager $configManager, $applicationInstalled)[?] method was changed to ClassMigration::__construct(ManagerRegistry $managerRegistry, ConfigManager $configManager, ApplicationState $applicationState)[?]

WebsiteBundle

  • The following classes were removed:

    • OroWebsiteExtension[?]
    • WebsitePathExtension[?]
  • The EntityDateTimeExtension::getName[?] method was removed.

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

    • __construct(ContainerInterface $container, DateTimeExtension $dateTimeExtension)[?]
    • __construct(ContainerInterface $container)[?]
    • formatDateTimeByEntity($date, $entity, $options = [])[?]
    • formatDateTimeByEntity(Environment $env, $date, $entity, $options = [])[?]
  • The WebsiteUrlResolver::getWebsitePath($route, $routeParams, WebsiteInterface $website = null)[?] method was changed to WebsiteUrlResolver::getWebsitePath($route, $routeParams, WebsiteInterface $website = null)[?]

  • The CacheableWebsiteProvider::__construct(WebsiteProviderInterface $websiteProvider, CacheProvider $cacheProvider, DoctrineHelper $doctrineHelper, TokenStorageInterface $tokenStorage)[?] method was changed to CacheableWebsiteProvider::__construct(WebsiteProviderInterface $websiteProvider, CacheProvider $cacheProvider, TokenStorageInterface $tokenStorage)[?]

  • The WebsiteManager::__construct(ManagerRegistry $managerRegistry, FrontendHelper $frontendHelper, Mode $maintenance)[?] method was changed to WebsiteManager::__construct(ManagerRegistry $managerRegistry, FrontendHelper $frontendHelper, Mode $maintenance)[?]

  • The AssetsRequestListener::onKernelRequest(GetResponseEvent $event)[?] method was changed to AssetsRequestListener::onKernelRequest(RequestEvent $event)[?]

  • The EntityDateTimeExtension::$dateTimeExtension[?] property was removed.