Releases: doctrine/DoctrinePHPCRBundle
3.0.2
- Fixed
DoctrinePhpcrMappingPassto not configure theaddDocumentNamespacemethod which has been removed in PHPCR-ODM 2.0. - [BC Break] Removed the
$aliasMapparameter fromDoctrinePhpcrMappingPassbecause 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 calladdDocumentNamespace)
2.5.1
- Add conflicts for Jackalope
2.*packages to composer.json as they have unsupported BC breaks. - Fix dependencies: phpcr-odm 2.0 has BC breaks not supported by this legacy version of the bundle.
To use phpcr-odm 2 or Jackalope 2, please use version 3 of this bundle.
3.0.1
3.0.0
-
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/cacheimplementation.
The configuration of metadata_cache_driver changed. By default, it creates anarraycache.
To configure a service, specifytype: serviceand specify your service in theidproperty.
To use a cache pool, specify the service id of that pool. -
Removed support for namespace alias, use the FQN names. The method
ManagerRegistry::getAliasNamespacehas 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 andnullis
passed as credentials. -
doctrine:phpcr:fixtures:loadis 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
ValidPhpcrOdmannotation to a PHP attribute. Change comments with@ValidPhpcrOdminto attribute
declarations with#[ValidPhpcrOdm].
3.0.0-beta2
-
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 anarraycache.
To configure a service, specifytype: serviceand specify your service in theidproperty.
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 andnullis
passed as credentials.
2.5.0
3.0.0-beta1
-
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 anarraycache.
To configure a service, specifytype: serviceand specify your service in theidproperty.
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
nullis passed as credentials.