Skip to content

Latest commit

 

History

History
201 lines (179 loc) · 45.2 KB

incompatibilities-4-2-rc.md

File metadata and controls

201 lines (179 loc) · 45.2 KB

ApiBundle

  • The following classes were removed:

    • ParentActionAvailabilityCheck[?]
    • ParentEntityObjectSecurityCheck[?]
    • ParentEntityTypeFeatureCheck[?]
    • ParentEntityTypeSecurityCheck[?]
    • ActionAvailabilityCheck[?]
    • EntityObjectSecurityCheck[?]
    • EntityObjectsSecurityCheck[?]
    • EntityTypeFeatureCheck[?]
    • EntityTypeSecurityCheck[?]
  • The NormalizeValueContext::setVersion($version)[?] method was changed to NormalizeValueContext::setVersion(string $version)[?]

  • The FormHelper::__construct(FormFactoryInterface $formFactory, PropertyAccessorInterface $propertyAccessor, ContainerInterface $container)[?] method was changed to FormHelper::__construct(FormFactoryInterface $formFactory, DataTypeGuesser $dataTypeGuesser, PropertyAccessorInterface $propertyAccessor, ContainerInterface $container)[?]

  • The MetadataTypeGuesser::__construct(array $dataTypeMappings, DoctrineHelper $doctrineHelper)[?] method was changed to MetadataTypeGuesser::__construct(DataTypeGuesser $dataTypeGuesser, DoctrineHelper $doctrineHelper)[?]

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

    • __construct(ApiDocExtractor $extractor, FormatterInterface $formatter)[?]
    • __construct(ApiDocExtractor $extractor, FormatterInterface $formatter, SessionInterface $session)[?]
    • indexAction($view)[?]
    • indexAction(string $view)[?]

AttachmentBundle

  • The FileViewSecurityCheck[?] class was removed.
  • The FileUrlByUuidProvider::__construct(FileUrlProviderInterface $fileUrlProvider, CacheProvider $cache, ManagerRegistry $registry)[?] method was changed to FileUrlByUuidProvider::__construct(ManagerRegistry $registry, FileUrlProviderInterface $fileUrlProvider)[?]
  • The FileController::getResizedAttachmentImageAction($id, $width, $height, $filename)[?] method was changed to FileController::getResizedAttachmentImageAction(int $id, int $width, int $height, string $filename)[?]
  • The FileRepository::findAllForEntityByOneUuid[?] method was removed.

ConfigBundle

  • The RenameConfigSectionQuery::__construct($oldSection, $newSection)[?] method was changed to RenameConfigSectionQuery::__construct(string $oldSection, string $newSection, string $name = null)[?]

EmailBundle

  • The MailboxType::__construct(MailboxProcessStorage $storage, SymmetricCrypterInterface $encryptor, ConfigManager $userConfigManager)[?] method was changed to MailboxType::__construct(MailboxProcessStorage $storage, SymmetricCrypterInterface $encryptor, OAuth2ManagerRegistry $oauthManagerRegistry)[?]
  • The MailboxType::$userConfigManager[?] property was removed.

EntityConfigBundle

  • The AttributesDatagridListener::__construct(DoctrineHelper $doctrineHelper)[?] method was changed to AttributesDatagridListener::__construct(DoctrineHelper $doctrineHelper, LocalizationHelper $localizationHelper, AclHelper $aclHelper, AuthorizationCheckerInterface $authorizationChecker, UrlGeneratorInterface $urlGenerator)[?]
  • The AttributeGroupRelationRepository::getFamiliesLabelsByAttributeIds[?] method was removed.

FilterBundle

  • The DateFilterModifier::modify(array $data, array $valueKeys = [ ... ], $compile = true)[?] method was changed to DateFilterModifier::modify(array $data, array $valueKeys = [ ... ], $compile = true)[?]
  • The Compiler::compile($string, $returnRawToken = false)[?] method was changed to Compiler::compile(string $string, $returnRawToken = false, $timeZone = null)[?]
  • The Parser::parse($tokens, $returnRawToken = false)[?] method was changed to Parser::parse($tokens, $returnRawToken = false, $timeZone = null)[?]

GaufretteBundle

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

    • __construct($filesystemName)[?]
    • __construct(string $filesystemName)[?]
    • generateFileName($extension = null)[?]
    • generateFileName(string $extension = null)[?]

GoogleIntegrationBundle

  • The OroGoogleIntegrationExtension::getAlias[?] method was removed.

ImapBundle

  • The ImapEmailSynchronizer::__construct(ManagerRegistry $doctrine, KnownEmailAddressCheckerFactory $knownEmailAddressCheckerFactory, ImapEmailSynchronizationProcessorFactory $syncProcessorFactory, ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager)[?] method was changed to ImapEmailSynchronizer::__construct(ManagerRegistry $doctrine, KnownEmailAddressCheckerFactory $knownEmailAddressCheckerFactory, ImapEmailSynchronizationProcessorFactory $syncProcessorFactory, ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, OAuth2ManagerRegistry $oauthManagerRegistry)[?]

  • The ImapEmailBodyLoader::__construct(ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager, ConfigManager $configManager)[?] method was changed to ImapEmailBodyLoader::__construct(ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, OAuth2ManagerRegistry $oauthManagerRegistry, ConfigManager $configManager)[?]

  • The ImapEmailFlagManagerLoader::__construct(ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager)[?] method was changed to ImapEmailFlagManagerLoader::__construct(ImapConnectorFactory $connectorFactory, SymmetricCrypterInterface $encryptor, OAuth2ManagerRegistry $oauthManagerRegistry)[?]

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

    • __construct(FormFactory $formFactory, SymmetricCrypterInterface $crypter, ManagerRegistry $doctrineHelper, ImapConnectorFactory $imapConnectorFactory, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager, $userFormName, $userFormType, $emailMailboxFormName, $emailMailboxFormType)[?]
    • __construct(FormFactory $formFactory, SymmetricCrypterInterface $crypter, ManagerRegistry $doctrineHelper, ImapConnectorFactory $imapConnectorFactory, OAuth2ManagerRegistry $oauthManagerRegistry, $userFormName, $userFormType, $emailMailboxFormName, $emailMailboxFormType)[?]
    • getAccessToken($code)[?]
    • getAccessToken($code, $type)[?]
  • The ChoiceAccountType::__construct(TranslatorInterface $translator)[?] method was changed to ChoiceAccountType::__construct(TranslatorInterface $translator, OAuth2ManagerRegistry $oauthManagerRegistry)[?]

  • The SendEmailTransportListener::__construct(SymmetricCrypterInterface $crypter, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager)[?] method was changed to SendEmailTransportListener::__construct(SymmetricCrypterInterface $crypter, OAuth2ManagerRegistry $oauthManagerRegistry)[?]

  • The UserEmailOriginListener::__construct(SymmetricCrypterInterface $crypter, ImapConnectorFactory $connectorFactory, Registry $doctrine, ImapEmailGoogleOauth2Manager $imapEmailGoogleOauth2Manager)[?] method was changed to UserEmailOriginListener::__construct(SymmetricCrypterInterface $crypter, ImapConnectorFactory $connectorFactory, Registry $doctrine, OAuth2ManagerRegistry $oauthManagerRegistry)[?]

  • The UserEmailOriginRepository::getAllOriginsWithAccessTokens()[?] method was changed to UserEmailOriginRepository::getAllOriginsWithAccessTokens(string $type = null)[?]

  • The ImapEmailSynchronizer::$imapEmailGoogleOauth2Manager[?] property was removed.

  • The ImapEmailBodyLoader::$imapEmailGoogleOauth2Manager[?] property was removed.

  • The ImapEmailFlagManagerLoader::$imapEmailGoogleOauth2Manager[?] property was removed.

  • The ConnectionControllerManager::$imapEmailGoogleOauth2Manager[?] property was removed.

  • The following properties in class ImapEmailGoogleOauth2Manager[?] were removed:

    • $httpClient[?]
    • $resourceOwnerMap[?]
    • $configManager[?]
  • The following properties in class ConfigurationGmailType[?] were removed:

    • $translator[?]
    • $userConfigManager[?]
    • $tokenAccessor[?]
  • The following properties in class GoogleImapConfigHandler[?] were removed:

    • $doctrine[?]
    • $googleImapOauth2Manager[?]
    • $logger[?]
  • The GmailOAuthSubscriber::$translator[?] property was removed.

  • The SendEmailTransportListener::$imapEmailGoogleOauth2Manager[?] property was removed.

  • The UserEmailOriginListener::$imapEmailGoogleOauth2Manager[?] property was removed.

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

    • __construct[?]
    • getAccessTokenByAuthCode[?]
    • getUserInfo[?]
    • getAccessTokenWithCheckingExpiration[?]
    • isAccessTokenExpired[?]
    • refreshAccessToken[?]
    • doHttpRequest[?]
    • getResponseContent[?]
  • The following methods in class ConfigurationGmailType[?] were removed:

    • __construct[?]
    • configureOptions[?]
    • getName[?]
    • addOwnerOrganizationEventListener[?]
    • addNewOriginCreateEventListener[?]
    • addPrepopulateRefreshTokenEventListener[?]
  • The following methods in class GoogleImapConfigHandler[?] were removed:

    • __construct[?]
    • handle[?]
    • refreshTokens[?]
    • setTokensToNull[?]
    • getEntityManager[?]
  • The following methods in class GmailOAuthSubscriber[?] were removed:

    • __construct[?]
    • getSubscribedEvents[?]
    • setToken[?]
    • extendForm[?]
    • updateForm[?]

IntegrationBundle

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

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

    • getLastResponseHeaders[?]
    • isResultOk[?]
    • getHttpStatusCode[?]
  • The following methods in class GuzzleRestResponse[?] were removed:

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

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

    • call($action, $params = [])[?]
    • call(string $action, array $params = [])[?]
    • makeNewAttempt($action, $params)[?]
    • makeNewAttempt(string $action, array $params)[?]
  • The GuzzleRestClient::__construct($baseUrl, array $defaultOptions = [])[?] method was changed to GuzzleRestClient::__construct(string $baseUrl, array $defaultOptions = [])[?]

  • The GuzzleRestResponse::__construct(Response $response, $requestUrl = null)[?] method was changed to GuzzleRestResponse::__construct(ResponseInterface $response, string $requestUrl = null)[?]

  • The SoapConnectionException::createFromResponse($response, Exception $exception = null, $request, $headers)[?] method was changed to SoapConnectionException::createFromResponse($response, Exception $exception = null, $request, $code)[?]

SSOBundle

  • The following classes were removed:
    • GoogleResourceOwner[?]
    • UserEmailChangeListener[?]
    • Configuration[?]
  • The following methods in class OAuthUserProvider[?] were removed:
    • isEmailEnabledForOauth[?]
    • getOAuthProperty[?]
  • The EmailDomainNotAllowedException::getMessageKey[?] method was removed.
  • The OroSSOExtension::getAlias[?] method was removed.
  • The OAuthUserProvider::__construct(UserManager $userManager, ConfigManager $cm)[?] method was changed to OAuthUserProvider::__construct(ContainerInterface $userProviders)[?]
  • The following properties in class OAuthUserProvider[?] were removed:

TranslationBundle

  • The AbstractAPIAdapter::preprocessRequest[?] method was removed.
  • The AbstractAPIAdapter::__construct(Client $client)[?] method was changed to AbstractAPIAdapter::__construct(ClientInterface $client)[?]
  • The CrowdinAdapter::download($path, array $projects = [], $package = null)[?] method was changed to CrowdinAdapter::download($path, array $projects = [], string $package = null)[?]
  • The OroTranslationAdapter::download($path, array $projects = [], $package = null)[?] method was changed to OroTranslationAdapter::download($path, array $projects = [], string $package = null)[?]
  • The APIAdapterInterface::download($path, array $projects = [], $package = null)[?] method was changed to APIAdapterInterface::download($path, array $projects = [], string $package = null)[?]

UIBundle

  • The HtmlTagHelper::sanitize($value, $scope)[?] method was changed to HtmlTagHelper::sanitize($value, string $scope, bool $collectErrors = true)[?]

UserBundle

  • The EmailSettingsType::__construct(ConfigManager $userConfigManager, UserImapConfigSubscriber $subscriber)[?] method was changed to EmailSettingsType::__construct(UserImapConfigSubscriber $subscriber, OAuth2ManagerRegistry $oauthManagerRegistry)[?]
  • The EmailSettingsType::$userConfigManager[?] property was removed.