Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@dbu dbu released this 03 Apr 15:49
· 3 commits to 3.x since this release
3.0.0
1d6482c
  • 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 into attribute
    declarations with #[ValidPhpcrOdm].