DoctrinePhpcrMappingPass to not configure the addDocumentNamespace method which has been removed in PHPCR-ODM 2.0.$aliasMap parameter from DoctrinePhpcrMappingPass because this functionality has been removed in PHPCR-ODM 2.0
(This is considered a 3.0 BC break - the mapping pass was broken in 3.0.0 and 3.0.1 because it tried to call addDocumentNamespace)2.* packages to composer.json as they have unsupported BC breaks.To use phpcr-odm 2 or Jackalope 2, please use version 3 of this bundle.
doctrine/persistence: < 3.0.0. Bundle 3.0.0 will install with old persistence, but the
ManagerRegistry does no longer implement the obsolete method getAliasNamespace that is still required by
persistence 2.*.Upgrade to PHPCR-ODM 2.0
Support Jackalope 2.0
Drop support for PHP 7
Replace Doctrine cache with PSR-6 cache with the symfony/cache implementation.
The configuration of metadata_cache_driver changed. By default, it creates an array cache.
To configure a service, specify type: service and specify your service in the id property.
To use a cache pool, specify the service id of that pool.
Removed support for namespace alias, use the FQN names. The method ManagerRegistry::getAliasNamespace has been deleted.
Introduced the ManagerRegistryInterface for the ManagerRegistry and adjusted the service alias for autowiring to the interface.
The following container parameters are no longer taken into account (memcache and apc seem to have never been used anyways). If you have customised the array cache class, please check if this is still needed - and note that starting from this version, PSR-16 simple cache is used:
doctrine_phpcr.odm.cache.array.class
doctrine_phpcr.odm.cache.apc.class
doctrine_phpcr.odm.cache.memcache.class
doctrine_phpcr.odm.cache.memcache_host
doctrine_phpcr.odm.cache.memcache_port
doctrine_phpcr.odm.cache.memcache_instance.class
doctrine_phpcr.odm.cache.memcached.class
doctrine_phpcr.odm.cache.memcached_host
doctrine_phpcr.odm.cache.memcached_port
doctrine_phpcr.odm.cache.memcached_instance.class
doctrine_phpcr.odm.cache.xcache.class
If no username is defined for a session, and if you use Jackalope >= 2.0, the
credentials service for this session is no longer created and null is
passed as credentials.
doctrine:phpcr:fixtures:load is now only visible if PHPCR-ODM is available. In version 2, you would get an error when
running the command without PHPCR-ODM.
Converted the ValidPhpcrOdm annotation to a PHP attribute. Change comments with [@ValidPhpcrOdm](https://github.com/ValidPhpcrOdm) into attribute
declarations with #[ValidPhpcrOdm].
Upgrade to phpcr-odm 2.0
Support jackalope 2.0
Drop support for PHP 7
Replace doctrine cache with PSR-6 cache with the symfony/cache implementation.
The configuration of metadata_cache_driver changed. By default, it creates an array cache.
To configure a service, specify type: service and specify your service in the id property.
To use a cache pool, specify the service id of that pool.
Removed support for namespace alias, use the FQN names.
Introduced the ManagerRegistryInterface for the ManagerRegistry and adjusted the service alias for autowiring to the interface.
The following container parameters are no longer taken into account (memcache and apc seem to have never been used anyways). If you have customised the array cache class, please check if this is still needed - and note that starting from this version, PSR-16 simple cache is used:
doctrine_phpcr.odm.cache.array.class
doctrine_phpcr.odm.cache.apc.class
doctrine_phpcr.odm.cache.memcache.class
doctrine_phpcr.odm.cache.memcache_host
doctrine_phpcr.odm.cache.memcache_port
doctrine_phpcr.odm.cache.memcache_instance.class
doctrine_phpcr.odm.cache.memcached.class
doctrine_phpcr.odm.cache.memcached_host
doctrine_phpcr.odm.cache.memcached_port
doctrine_phpcr.odm.cache.memcached_instance.class
doctrine_phpcr.odm.cache.xcache.class
If no username is defined for a session, and if you use Jackalope >= 2.0, the
credentials service for this session is no longer created and null is
passed as credentials.
Upgrade to phpcr-odm 2.0
Support jackalope 2.0
Replace doctrine cache with PSR-6 cache with the symfony/cache implementation.
The configuration of metadata_cache_driver changed. By default, it creates an array cache.
To configure a service, specify type: service and specify your service in the id property.
To use a cache pool, specify the service id of that pool.
Introduced the ManagerRegistryInterface for the ManagerRegistry and adjusted the service alias for autowiring to the interface.
The following container parameters are no longer taken into account (memcache and apc seem to have never been used anyways). If you have customised the array cache class, please check if this is still needed - and note that starting from this version, PSR-16 simple cache is used:
doctrine_phpcr.odm.cache.array.class doctrine_phpcr.odm.cache.apc.class doctrine_phpcr.odm.cache.memcache.class doctrine_phpcr.odm.cache.memcache_host doctrine_phpcr.odm.cache.memcache_port doctrine_phpcr.odm.cache.memcache_instance.class doctrine_phpcr.odm.cache.memcached.class doctrine_phpcr.odm.cache.memcached_host doctrine_phpcr.odm.cache.memcached_port doctrine_phpcr.odm.cache.memcached_instance.class doctrine_phpcr.odm.cache.xcache.class
If no username is defined for a session, and if you use Jackalope >= 2.0, the credentials service for this session is no longer created and null is passed as credentials.
Kernel::getProjectDir().'/src' if Kernel::getRootDir() is not available (method was removed in Symfony 5).en-gb
When using yaml configuration, Symfony converted locales defined under
doctrine_phpcr.odm.locales to underscore, e.g. en_gb. With this fix,
the locales are kept literal.
CAUTION: If you previously used the workaround of defining both en-gb and
en_gb, this will now break. See this github pull request for more details:
https://github.com/doctrine/DoctrinePHPCRBundle/pull/347.Prepared services for autowiring. Services now have aliases named the same as the class:
Removed deprecated PHPCRODMReferenceCollectionType and ReferenceManyCollectionToArrayTransformer.
Dropped deprecated option session (use dm instead) and unused option name from command doctrine:phpcr:fixtures:load
Dropped deprecated option session (use dm instead) from command doctrine:phpcr:document:migrate-class
Made all command options required - omit the option completely when you don't need to set anything
How can I help you explore Laravel packages today?