3.0.0-beta2
版本发布时间: 2024-02-05 18:26:04
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 an
array
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.
-
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.