Skip to content

Latest commit

 

History

History
66 lines (57 loc) · 20.2 KB

incompatibilities-6-0-rc.md

File metadata and controls

66 lines (57 loc) · 20.2 KB

CommerceMenuBundle

  • The MenuUpdateTargetTypeExtension::__construct(WebCatalogProvider $webCatalogProvider)[?] method was changed to MenuUpdateTargetTypeExtension::__construct(WebCatalogProvider $webCatalogProvider, AuthorizationCheckerInterface $authorizationChecker)[?]
  • The ContentNodeTreeBuilder::__construct(ManagerRegistry $managerRegistry, MenuContentNodesProviderInterface $menuContentNodesProvider, LocalizationHelper $localizationHelper)[?] method was changed to ContentNodeTreeBuilder::__construct(ManagerRegistry $managerRegistry, MenuContentNodesProviderInterface $menuContentNodesProvider, LocalizationHelper $localizationHelper, SubFolderUriHandler $uriHandler)[?]

CustomerBundle

  • The following classes were removed:

    • AnonymousCustomerUserAuthenticationProvider[?]
    • AnonymousCustomerUserAuthenticationListener[?]
    • EmailBodyAddListener[?]
    • RolesChangeListenerPass[?]
  • The CustomerUserLoader::loadUserByUsername[?] method was removed.

  • The AnonymousCustomerUserToken::setVisitor[?] method was removed.

  • The AbstractCustomerUserRoleHandler::setRequestStack[?] method was removed.

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

    • getSubscribedEvents[?]
    • authenticate[?]
  • The following methods in class AnonymousCustomerUserFactory[?] were removed:

  • The LoginManager::__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, SessionAuthenticationStrategyInterface $sessionStrategy, RequestStack $requestStack, UsernamePasswordOrganizationTokenFactoryInterface $tokenFactory, EventDispatcherInterface $eventDispatcher, RememberMeServicesInterface $rememberMeService = null)[?] method was changed to LoginManager::__construct(TokenStorageInterface $tokenStorage, UserCheckerInterface $userChecker, SessionAuthenticationStrategyInterface $sessionStrategy, RequestStack $requestStack, UsernamePasswordOrganizationTokenFactoryInterface $tokenFactory, EventDispatcherInterface $eventDispatcher, RememberMeHandlerInterface $rememberMeHandler = null)[?]

  • The AnonymousCustomerUserToken::__construct($user, $roles = [], CustomerVisitor $visitor = null, Organization $organization = null)[?] method was changed to AnonymousCustomerUserToken::__construct(CustomerVisitor $visitor, $roles = [], Organization $organization = null)[?]

  • The OrganizationGuesser::guess(AbstractUser $user, TokenInterface $token = null)[?] method was changed to OrganizationGuesser::guess(AbstractUser $user)[?]

  • The FrontendOwnershipMetadata::__construct($ownerType, $ownerFieldName, $ownerColumnName, $organizationFieldName, $organizationColumnName, $customerFieldName, $customerColumnName)[?] method was changed to FrontendOwnershipMetadata::__construct($ownerType, $ownerFieldName, $ownerColumnName, $organizationFieldName, $organizationColumnName, $customerFieldName, $customerColumnName)[?]

  • The FrontendOwnershipMetadataProvider::getMaxAccessLevel($accessLevel, $className = null)[?] method was changed to FrontendOwnershipMetadataProvider::getMaxAccessLevel($accessLevel, $className = null)[?]

  • The CustomersDeleteMassActionHandler::isDeleteAllowed($entity)[?] method was changed to CustomersDeleteMassActionHandler::isDeleteAllowed($entity)[?]

  • The ForgotPasswordHandler::__construct(CustomerUserPasswordRequestHandler $passwordRequestHandler, FrontendCustomerUserFormProvider $customerUserFormProvider, Session $session)[?] method was changed to ForgotPasswordHandler::__construct(CustomerUserPasswordRequestHandler $passwordRequestHandler, FrontendCustomerUserFormProvider $customerUserFormProvider, RequestStack $requestStack)[?]

  • The AuthenticationListener::__construct(LoginManager $loginManager, ConfigManager $configManager, $firewallName)[?] method was changed to AuthenticationListener::__construct(LoginManager $loginManager, ConfigManager $configManager, $firewallName)[?]

  • The CustomerUserLoginAttemptsLogListener::onAuthenticationFailure(AuthenticationFailureEvent $event)[?] method was changed to CustomerUserLoginAttemptsLogListener::onAuthenticationFailure(LoginFailureEvent $event)[?]

  • The CustomerUserManager::__construct(UserLoaderInterface $userLoader, ManagerRegistry $doctrine, EncoderFactoryInterface $encoderFactory, ConfigManager $configManager, ServiceLink $emailProcessor, FrontendHelper $frontendHelper, LocalizationHelper $localizationHelper, WebsiteManager $websiteManager, EnumValueProvider $enumValueProvider, LoggerInterface $logger)[?] method was changed to CustomerUserManager::__construct(UserLoaderInterface $userLoader, ManagerRegistry $doctrine, PasswordHasherFactoryInterface $passwordHasherFactory, ConfigManager $configManager, ServiceLink $emailProcessor, FrontendHelper $frontendHelper, LocalizationHelper $localizationHelper, WebsiteManager $websiteManager, EnumValueProvider $enumValueProvider, LoggerInterface $logger)[?]

  • The CustomersDeleteActionHandler::isDeleteAllowed($entity)[?] method was changed to CustomersDeleteActionHandler::isDeleteAllowed($entity)[?]

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

    • setScopeId($scopeId)[?]
    • setScopeId($scopeId)[?]
    • isSupportedScopeEntity($entity)[?]
    • isSupportedScopeEntity($entity)[?]
  • The following methods in class CustomerScopeManager[?] were changed:

    • setScopeId($scopeId)[?]
    • setScopeId($scopeId)[?]
    • isSupportedScopeEntity($entity)[?]
    • isSupportedScopeEntity($entity)[?]
  • The HandleLogin::__construct($authenticationProviderKey, AuthenticationProviderInterface $authenticationProvider, ConfigManager $configManager, DoctrineHelper $doctrineHelper, TranslatorInterface $translator)[?] method was changed to HandleLogin::__construct($firewallName, AuthenticatorInterface $authenticator, UserProviderInterface $userProvider, OrganizationGuesserInterface $organizationGuesser, UserCheckerInterface $userChecker, EventDispatcher $eventDispatcher, ConfigManager $configManager, DoctrineHelper $doctrineHelper, TranslatorInterface $translator)[?]

  • The AbstractCustomerUserRoleHandler::$requestStack[?] property was removed.

FrontendBundle

  • The DynamicSessionHttpKernelDecorator::handle(Request $request, $type, $catch = true)[?] method was changed to DynamicSessionHttpKernelDecorator::handle(Request $request, $type, $catch = true)[?]
  • The UpdateNamespacesWarmer::warmUp($cacheDir)[?] method was changed to UpdateNamespacesWarmer::warmUp($cacheDir)[?]

WebsiteBundle

  • The WebsiteUrlResolver::__construct(ConfigManager $configManager, UrlGeneratorInterface $urlGenerator)[?] method was changed to WebsiteUrlResolver::__construct(ConfigManager $configManager, UrlGeneratorInterface $urlGenerator, MemoryCacheProviderInterface $memoryCacheProvider)[?]
  • The WebsiteManager::__construct(ManagerRegistry $managerRegistry, FrontendHelper $frontendHelper, MaintenanceModeState $maintenance)[?] method was changed to WebsiteManager::__construct(ManagerRegistry $doctrine, FrontendHelper $frontendHelper, MaintenanceModeState $maintenance, MaintenanceRestrictionsChecker $maintenanceRestrictionsChecker)[?]
  • The WebsiteManager::getResolvedWebsite[?] method was removed.
  • The WebsiteManager::$managerRegistry[?] property was removed.