3.0.0
版本发布时间: 2024-04-03 23:49:45
doctrine/DoctrinePHPCRBundle最新发布版本:3.0.2(2024-08-02 22:17:48)
-
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 anarray
cache. To configure a service, specifytype: service
and specify your service in theid
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
into attribute declarations with#[ValidPhpcrOdm]
.