Skip to content

Latest commit

 

History

History
301 lines (266 loc) · 70.8 KB

incompatibilities-3-0.md

File metadata and controls

301 lines (266 loc) · 70.8 KB

ApiBundle

  • The following classes were removed:

    • NormalizeSubresourceRequestData[?]
    • NormalizeSubresourceRequestData[?]
    • ValidateSubresourceRequestData[?]
    • AbstractPatchableApiType[?]
    • ApiDocExtractor[?]
    • CachingApiDocExtractor[?]
    • CompositeFormatter[?]
    • HtmlFormatter[?]
    • NewHtmlFormatter[?]
  • The AclProtectedQueryFactory::setAclHelper[?] method was removed.

  • The BuildFormBuilder::getFormDataClass[?] method was removed.

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

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

    • fixErrorPath[?]
    • fixErrorPath[?]
  • The SetTotalCountHeader::resolveQueryHints[?] method was removed.

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

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class CollectionType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class CompoundObjectType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class EntityCollectionType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class EntityScalarCollectionType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class EntityType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class NestedAssociationType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class NumberType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class ScalarCollectionType[?] were removed:

    • getName[?]
    • getBlockPrefix[?]
  • The following methods in class CustomizeFormDataExtension[?] were removed:

    • getInitializedContext[?]
    • getPropertyPath[?]
  • The EntityDefinitionConfig::setExclusionPolicy[?] method was removed.

  • The AclProtectedQueryFactory::$aclHelper[?] property was removed.

  • The JsonApiDocumentBuilder::$entityIdTransformer[?] property was removed.

  • The EntityIdAccessor::$entityIdTransformer[?] property was removed.

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

    • $entityIdTransformer[?]
    • $entityIdTransformer[?]
    • $entityIdTransformer[?]
  • The NormalizeParentEntityId::$entityIdTransformer[?] property was removed.

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

    • $entityIdTransformer[?]
    • $entityIdTransformer[?]
  • The SetTotalCountHeader::$queryHintResolver[?] property was removed.

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

    • $entityIdTransformer[?]
    • $entityIdTransformer[?]
  • The NormalizeIncludedData::$entityIdTransformer[?] property was removed.

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

    • $methodMap[?]
    • $fieldMethodMap[?]
  • The EntityDefinitionConfigLoader::$methodMap[?] property was removed.

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

    • $methodMap[?]
    • $targetEntityMethodMap[?]
  • The FiltersConfigLoader::$fieldMethodMap[?] property was removed.

  • The SortersConfigLoader::$fieldMethodMap[?] property was removed.

  • The StatusCodesConfigLoader::$codeMethodMap[?] property was removed.

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

    • $methodMap[?]
    • $actionMethodMap[?]
  • The EntityIdTransformerRegistry::__construct(array $transformers, RequestExpressionMatcher $matcher)[?] method was changed to EntityIdTransformerRegistry::__construct(array $transformers, ContainerInterface $container, RequestExpressionMatcher $matcher, EntityIdResolverRegistry $resolverRegistry)[?]

  • The JsonApiDocumentBuilder::__construct(ValueNormalizer $valueNormalizer, EntityIdTransformerInterface $entityIdTransformer)[?] method was changed to JsonApiDocumentBuilder::__construct(ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]

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

    • __construct(ObjectPropertyAccessorInterface $propertyAccessor, EntityIdTransformerInterface $entityIdTransformer)[?]
    • __construct(ObjectPropertyAccessorInterface $propertyAccessor, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]
    • getEntityId($entity, EntityMetadata $metadata)[?]
    • getEntityId($entity, EntityMetadata $metadata, RequestType $requestType)[?]
  • The following methods in class Context[?] were changed:

    • setResponseDocumentBuilder(DocumentBuilderInterface $documentBuilder = null)[?]
    • setResponseDocumentBuilder($documentBuilder)[?]
    • processLoadedConfig(Config $config = null)[?]
    • processLoadedConfig($config)[?]
    • ensureAllConfigSectionsSet($remove = false)[?]
    • ensureAllConfigSectionsSet()[?]
  • The NormalizeEntityId::__construct(EntityIdTransformerInterface $entityIdTransformer)[?] method was changed to NormalizeEntityId::__construct(EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]

  • The NormalizeParentEntityId::__construct(EntityIdTransformerInterface $entityIdTransformer)[?] method was changed to NormalizeParentEntityId::__construct(EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]

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

    • __construct(EntityIdTransformerInterface $entityIdTransformer)[?]
    • __construct(EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]
    • __construct(ValueNormalizer $valueNormalizer, EntityIdTransformerInterface $entityIdTransformer)[?]
    • __construct(ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]
  • The following methods in class CollectFormErrors[?] were changed:

    • __construct(ConstraintTextExtractorInterface $constraintTextExtractor)[?]
    • __construct(ConstraintTextExtractorInterface $constraintTextExtractor, ErrorCompleterRegistry $errorCompleterRegistry)[?]
    • createErrorObject(FormError $formError, $propertyPath = null)[?]
    • createErrorObject(FormError $formError, string $propertyPath = null)[?]
  • The NormalizeFilterValues::__construct(ValueNormalizer $valueNormalizer)[?] method was changed to NormalizeFilterValues::__construct(ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]

  • The RegisterConfiguredFilters::getAssociationNames(ClassMetadata $metadata = null)[?] method was changed to RegisterConfiguredFilters::getAssociationNames($metadata)[?]

  • The SetTotalCountHeader::__construct(CountQueryBuilderOptimizer $countQueryOptimizer, QueryHintResolverInterface $queryHintResolver)[?] method was changed to SetTotalCountHeader::__construct(CountQueryBuilderOptimizer $countQueryOptimizer, QueryResolver $queryResolver)[?]

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

    • __construct(EntityIdTransformerInterface $entityIdTransformer)[?]
    • __construct(EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]
    • __construct(ValueNormalizer $valueNormalizer, EntityIdTransformerInterface $entityIdTransformer)[?]
    • __construct(ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]
    • normalizeData(array $data, EntityMetadata $metadata = null)[?]
    • normalizeData(string $pointer, array $data, $metadata)[?]
  • The CorrectSortValue::normalizeValue($value, $entityClass, EntityDefinitionConfig $config = null)[?] method was changed to CorrectSortValue::normalizeValue($value, $entityClass, $config)[?]

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

    • __construct(DoctrineHelper $doctrineHelper, EntityInstantiator $entityInstantiator, EntityLoader $entityLoader, ValueNormalizer $valueNormalizer, EntityIdTransformerInterface $entityIdTransformer, ConfigProvider $configProvider, MetadataProvider $metadataProvider)[?]
    • __construct(DoctrineHelper $doctrineHelper, EntityInstantiator $entityInstantiator, EntityLoader $entityLoader, ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry, ConfigProvider $configProvider, MetadataProvider $metadataProvider)[?]
    • getUpdateFlag($pointer, $data, $entityClass)[?]
    • getUpdateFlag($pointer, $data)[?]
  • The NormalizeMetadata::__construct(DoctrineHelper $doctrineHelper, EntityMetadataFactory $entityMetadataFactory, MetadataProvider $metadataProvider)[?] method was changed to NormalizeMetadata::__construct(DoctrineHelper $doctrineHelper, EntityMetadataFactory $entityMetadataFactory, MetadataProvider $metadataProvider, EntityOverrideProviderRegistry $entityOverrideProviderRegistry)[?]

  • The BuildCustomTypes::__construct(AssociationManager $associationManager)[?] method was changed to BuildCustomTypes::__construct(AssociationManager $associationManager, DoctrineHelper $doctrineHelper)[?]

  • The SetLocationHeader::__construct(string $itemRouteName, RouterInterface $router, ValueNormalizer $valueNormalizer, EntityIdTransformerInterface $entityIdTransformer)[?] method was changed to SetLocationHeader::__construct(string $itemRouteName, RouterInterface $router, ValueNormalizer $valueNormalizer, EntityIdTransformerRegistry $entityIdTransformerRegistry)[?]

  • The CompleteDefinitionOfAssociationsByConfig::__construct(DoctrineHelper $doctrineHelper, RelationConfigProvider $relationConfigProvider)[?] method was changed to CompleteDefinitionOfAssociationsByConfig::__construct(DoctrineHelper $doctrineHelper, RelationConfigProvider $relationConfigProvider, EntityOverrideProviderRegistry $entityOverrideProviderRegistry)[?]

  • The ExcludeNotAccessibleRelations::__construct(DoctrineHelper $doctrineHelper, ResourcesProvider $resourcesProvider)[?] method was changed to ExcludeNotAccessibleRelations::__construct(DoctrineHelper $doctrineHelper, ResourcesProvider $resourcesProvider, EntityOverrideProviderRegistry $entityOverrideProviderRegistry)[?]

  • The ExpandRelatedEntities::__construct(DoctrineHelper $doctrineHelper, ConfigProvider $configProvider)[?] method was changed to ExpandRelatedEntities::__construct(DoctrineHelper $doctrineHelper, ConfigProvider $configProvider, EntityOverrideProviderRegistry $entityOverrideProviderRegistry)[?]

  • The CompleteEntityDefinitionHelper::__construct(DoctrineHelper $doctrineHelper, EntityIdHelper $entityIdHelper, CompleteAssociationHelper $associationHelper, CompleteCustomAssociationHelper $customAssociationHelper, ExclusionProviderRegistry $exclusionProviderRegistry, ExpandedAssociationExtractor $expandedAssociationExtractor)[?] method was changed to CompleteEntityDefinitionHelper::__construct(DoctrineHelper $doctrineHelper, EntityOverrideProviderRegistry $entityOverrideProviderRegistry, EntityIdHelper $entityIdHelper, CompleteAssociationHelper $associationHelper, CompleteCustomAssociationHelper $customAssociationHelper, ExclusionProviderRegistry $exclusionProviderRegistry, ExpandedAssociationExtractor $expandedAssociationExtractor)[?]

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

  • The FormUtil::addFormError(FormInterface $form, $errorMessage)[?] method was changed to FormUtil::addFormError(FormInterface $form, string $errorMessage, string $propertyPath = null)[?]

  • The CustomizeFormDataExtension::__construct(ActionProcessorInterface $customizationProcessor)[?] method was changed to CustomizeFormDataExtension::__construct(ActionProcessorInterface $customizationProcessor, CustomizeFormDataHandler $customizationHandler)[?]

  • The EntityToIdTransformer::__construct(DoctrineHelper $doctrineHelper, EntityLoader $entityLoader, AssociationMetadata $metadata, IncludedEntityCollection $includedEntities = null)[?] method was changed to EntityToIdTransformer::__construct(DoctrineHelper $doctrineHelper, EntityLoader $entityLoader, AssociationMetadata $metadata, EntityMapper $entityMapper = null, IncludedEntityCollection $includedEntities = null)[?]

  • The AbstractRelationshipMapper::__construct(PropertyAccessorInterface $propertyAccessor)[?] method was changed to AbstractRelationshipMapper::__construct(PropertyAccessorInterface $propertyAccessor, EntityMapper $entityMapper = null)[?]

  • The ExtendedAssociationFilterFactory::__construct(ValueNormalizer $valueNormalizer, AssociationManager $associationManager)[?] method was changed to ExtendedAssociationFilterFactory::__construct(ValueNormalizer $valueNormalizer, AssociationManager $associationManager, EntityOverrideProviderRegistry $entityOverrideProviderRegistry)[?]

  • The RestDocIdentifierHandler::handle(ApiDoc $annotation, Route $route, EntityMetadata $metadata)[?] method was changed to RestDocIdentifierHandler::handle(ApiDoc $annotation, Route $route, EntityMetadata $metadata, $description)[?]

  • The ContextInterface::setResponseDocumentBuilder(DocumentBuilderInterface $documentBuilder = null)[?] method was changed to ContextInterface::setResponseDocumentBuilder($documentBuilder)[?]

  • The ConfigBagInterface::get($key)[?] method was changed to ConfigBagInterface::get($key, $defaultValue = null)[?] The following methods in interface FormContext were added (with link)

    • getEntityMapper[?]
    • setEntityMapper[?]
    • isFormValidationSkipped[?]
    • skipFormValidation[?]

EmailBundle

  • The following classes were removed:
    • ConfigurableTransport[?]
    • Decode[?]
    • Headers[?]
    • Bcc[?]
    • Cc[?]
    • ContentType[?]
    • HeaderLoader[?]
    • OptionalAddressList[?]
    • EmailBodySyncCommand[?]
  • The WebSocketSendProcessor::__construct(TopicPublisher $publisher)[?] method was changed to WebSocketSendProcessor::__construct(WebsocketClientInterface $websocketClient, ConnectionChecker $connectionChecker)[?]
  • The WebSocketSendProcessor::$publisher[?] property was removed.

EmbeddedFormBundle

  • The CsrfTokenStorage::__construct(Cache $tokenCache, $tokenLifetime, SessionIdProviderInterface $sessionIdProvider)[?] method was changed to CsrfTokenStorage::__construct(CacheProvider $tokenCache, $tokenLifetime, SessionIdProviderInterface $sessionIdProvider)[?]

EntityBundle

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

    • getEntityProperties[?]
    • getFieldProperties[?]
  • The following methods in class EntityRuleMatcher[?] were removed:

    • isMatched[?]
    • isRuleMatched[?]
  • The following methods in class EntityRuleMatcher[?] were changed:

    • __construct(EntityHierarchyProviderInterface $entityHierarchyProvider, $rules)[?]
    • __construct(EntityHierarchyProviderInterface $entityHierarchyProvider, array $rules)[?]
    • isEntityMatched($entityClassName, $className)[?]
    • isEntityMatched(string $entityClass)[?]

EntityConfigBundle

  • The AttributesImportTopicSender::__construct(TopicPublisher $publisher, TokenAccessorInterface $tokenAccessor)[?] method was changed to AttributesImportTopicSender::__construct(WebsocketClientInterface $websocketClient, ConnectionChecker $connectionChecker, TokenAccessorInterface $tokenAccessor)[?]
  • The EntityFieldImportStrategy::updateContextCounters()[?] method was changed to EntityFieldImportStrategy::updateContextCounters(FieldConfigModel $entity)[?]
  • The RemoveRestoreConfigFieldHandler::__construct(ConfigManager $configManager, FieldNameValidationHelper $validationHelper, ConfigHelper $configHelper, Session $session, EventDispatcherInterface $eventDispatcher)[?] method was changed to RemoveRestoreConfigFieldHandler::__construct(ConfigManager $configManager, FieldNameValidationHelper $validationHelper, ConfigHelper $configHelper, Session $session, EventDispatcherInterface $eventDispatcher, ManagerRegistry $registry)[?]
  • The EntityFieldImportStrategy::findExistingEntity[?] method was removed.
  • The EntityFieldImportStrategy::$isExistingEntity[?] property was removed.

EntityExtendBundle

  • The FieldNameValidationHelper::__construct(ConfigProvider $extendConfigProvider, EventDispatcherInterface $eventDispatcher)[?] method was changed to FieldNameValidationHelper::__construct(ConfigProvider $extendConfigProvider, EventDispatcherInterface $eventDispatcher, NewEntitiesHelper $newEntitiesHelper)[?]

EntitySerializer

  • The EntityConfig::get($key)[?] method was changed to EntityConfig::get($key, $defaultValue = null)[?]
  • The InternalEntityConfig::get($key)[?] method was changed to InternalEntityConfig::get($key, $defaultValue = null)[?]
  • The QueryFactory::__construct(DoctrineHelper $doctrineHelper, QueryHintResolverInterface $queryHintResolver)[?] method was changed to QueryFactory::__construct(DoctrineHelper $doctrineHelper, QueryResolver $queryResolver)[?]
  • The QueryFactory::$queryHintResolver[?] property was removed.

ImapBundle

  • The SocketNotificationSender::__construct(TopicPublisher $topicPublisher)[?] method was changed to SocketNotificationSender::__construct(WebsocketClientInterface $websocketClient, ConnectionChecker $connectionChecker)[?]
  • The Imap::fetch($items, $from, $to = null)[?] method was changed to Imap::fetch($items, $from, $to = null, $uid = false)[?]

MessageQueue

  • The DbalMessageConsumer::getId[?] method was removed.

ReminderBundle

  • The WebSocketSendProcessor::__construct(TopicPublisher $topicPublisher, MessageParamsProvider $messageParamsProvider)[?] method was changed to WebSocketSendProcessor::__construct(WebsocketClientInterface $websocketClient, ConnectionChecker $connectionChecker, MessageParamsProvider $messageParamsProvider)[?]
  • The WebSocketSendProcessor::$topicPublisher[?] property was removed.

SegmentBundle

  • The SegmentManager::__construct(EntityManager $em, SegmentQueryBuilderRegistry $builderRegistry, SubQueryLimitHelper $subQueryLimitHelper)[?] method was changed to SegmentManager::__construct(EntityManager $em, SegmentQueryBuilderRegistry $builderRegistry, SubQueryLimitHelper $subQueryLimitHelper, Cache $cache)[?]

SoapBundle

  • The following classes were removed:
    • AclProtectedQueryFactory[?]
    • EntityDataAccessor[?]
    • EntityDataTransformer[?]
    • EntitySerializer[?]
  • The following interfaces were removed:
    • DataAccessorInterface[?]
    • DataTransformerInterface[?]

SyncBundle

  • The following classes were removed:
    • Rfc6455[?]
    • TopicPublisher[?]
    • WebSocket[?]
    • ConnectionError[?]
    • HandshakeFailure[?]
    • Rfc6455Exception[?]
    • SetupFailure[?]
    • SocketReadError[?]
    • SocketWriteError[?]
    • AuthenticateEventListener[?]
    • ClankClientPingConfigurationPass[?]
    • ClankSessionHandlerConfigurationPass[?]
    • TopicSender[?]
    • CacheTicketDigestStorage[?]
  • The OroSyncExtension::getTopicPublisher[?] method was removed.
  • The TicketController::postAction[?] method was removed.
  • The TagGeneratorChain::__construct[?] method was removed.
  • The TicketProvider::isTicketValid[?] method was removed.
  • The DoctrineTagEventListener::__construct(TopicSender $sender, $isApplicationInstalled)[?] method was changed to DoctrineTagEventListener::__construct(DataUpdateTopicSender $dataUpdateTopicSender, TagGeneratorInterface $tagGenerator, $isApplicationInstalled)[?]
  • The MaintenanceListener::__construct(TopicPublisher $publisher, TokenAccessorInterface $tokenAccessor, LoggerInterface $logger)[?] method was changed to MaintenanceListener::__construct(WebsocketClientInterface $client, ConnectionChecker $connectionChecker, TokenAccessorInterface $tokenAccessor)[?]
  • The DataGridTagListener::__construct(TagGeneratorChain $generator)[?] method was changed to DataGridTagListener::__construct(TagGeneratorInterface $generator)[?]
  • The TicketProvider::__construct(TokenStorageInterface $tokenStorage, TicketDigestStorageInterface $ticketDigestStorage, UserProvider $userProvider, LoggerInterface $logger, $salt)[?] method was changed to TicketProvider::__construct(TicketDigestGeneratorInterface $ticketDigestGenerator, string $secret)[?]
  • The DoctrineTagEventListener::$sender[?] property was removed.
  • The following properties in class MaintenanceListener[?] were removed:
  • The TicketDigestStorageInterface[?] interface was removed.

TestUtils

  • The StatementMock::fetch($fetchStyle = null)[?] method was changed to StatementMock::fetch($fetchMode = null, $cursorOrientation, $cursorOffset)[?]

TranslationBundle

  • The TranslationManager::__construct(ManagerRegistry $registry, TranslationDomainProvider $domainProvider, DynamicTranslationMetadataCache $dbTranslationMetadataCache)[?] method was changed to TranslationManager::__construct(ManagerRegistry $registry, TranslationDomainProvider $domainProvider, DynamicTranslationMetadataCache $dbTranslationMetadataCache, EventDispatcherInterface $eventDispatcher)[?]

UserBundle

  • The ResetController::getObfuscatedEmail[?] method was removed.