This document explains why certain conflicts were added to composer.json and
references related issues.
-
doctrine/doctrine-bundle:2.3.0:This version makes Gedmo Doctrine Extensions fail (tree and position behaviour mostly).
References: doctrine/DoctrineBundle#1305
-
jms/serializer-bundle:4.1.0:This version contains service with a wrong constructor arguments:
Invalid definition for service ".container.private.profiler": argument 4 of "JMS\SerializerBundle\Debug\DataCollector::__construct()" accepts "JMS\SerializerBundle\Debug\TraceableDriver", "JMS\SerializerBundle\Debug\TraceableMetadataFactory" passed.References: schmittjoh/JMSSerializerBundle#902
-
symfony/dependency-injection:5.4.5:This version is causing a problem with mink session:
InvalidArgumentException: Specify session name to get in vendor/friends-of-behat/mink/src/Mink.php:198, -
symfony/framework-bundle:5.4.5:This version is causing a problem with returning null as token from
Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStoragewhich leads to wrong solving path prefix bySylius\Bundle\ApiBundle\Provider\PathPrefixProviderin API scenarios -
api-platform/core:2.7.0:The FQCN of
ApiPlatform\Core\Metadata\Resource\ResourceNameCollectionhas changed to:ApiPlatform\Metadata\Resource\ResourceNameCollectionand due to this factSylius\Bundle\ApiBundle\Swagger\AcceptLanguageHeaderDocumentationNormalizerreferences this class throws an exceptionClass "ApiPlatform\Core\Metadata\Resource\ResourceNameCollection" not found -
doctrine/migrations:3.5.3:This version is causing a problem with migrations and results in throwing a
Doctrine\Migrations\Exception\MetadataStorageErrorexception e.g. when executingsylius:installcommand. References: doctrine/migrations#1302 -
lexik/jwt-authentication-bundle: ^2.18After bumping to this version ApiBundle starts failing due to requesting a non-existing
api_platform.openapi.factory.legacyservice. As we are not using this service across the ApiBundle we added this conflict to unlock the builds, until we investigate the problem. -
symfony/framework-bundle:6.2.8:This version is missing the service alias
validator.expressionwhich causes ValidatorException exception to be thrown when usingExpressionconstraint. -
doctrine/orm:>= 2.16.0This version makes Sylius Fixtures loading fail on the product review fixtures. References: doctrine/orm#10869
-
symfony/validator:5.4.25 || 6.2.12 || 6.3.1This version introduced a bug, causing validation constraints to not work. References: symfony/symfony#50780
-
stof/doctrine-extensions-bundle:1.8.0This version introduced configuring the metadata cache for the extensions, what breaks the
Timestampablebehaviour. This package is not exactly the root of the problem, but it started using a bugged feature of thegedmo/doctrine-extensionspackage.References: