Skip to content

Releases: doctrine/DoctrinePHPCRBundle

3.0.0

03 Apr 15:49
@dbu dbu
3.0.0
1d6482c
Compare
Choose a tag to compare
  • 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].

3.0.0-beta2

05 Feb 10:26
@dbu dbu
3.0.0-beta2
Compare
Choose a tag to compare
3.0.0-beta2 Pre-release
Pre-release
  • 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.

2.5.0

05 Feb 07:59
@dbu dbu
2.5.0
Compare
Choose a tag to compare
  • Support PHP 8 attributes in addition to annotations.
  • Annotations will not be supported in 3.0 anymore.

3.0.0-beta1

30 Aug 15:58
@dbu dbu
3.0.0-beta1
14fbaa5
Compare
Choose a tag to compare
3.0.0-beta1 Pre-release
Pre-release
  • 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.

2.4.3

24 May 09:38
@dbu dbu
2.4.3
c59d744
Compare
Choose a tag to compare
  • Revert BC break with command return types. If you extend the commands, you should add return type declarations anyways to be ready for 3.x.

2.4.2

12 May 15:03
@dbu dbu
2.4.2
052b311
Compare
Choose a tag to compare
  • Drop support for Symfony 4.3 and 5.0 - 5.3. This release supports the LTS versions Symfony 4.4, 5.4 and Symfony 6.

2.4.1

04 Jul 08:57
@dbu dbu
2.4.1
Compare
Choose a tag to compare
  • Remove obsolete service definition for removed PHPCRODMReferenceCollectionType to avoid container linting errors.

2.4.0

14 Dec 09:03
@dbu dbu
2.4.0
Compare
Choose a tag to compare
  • Support for Symfony 6
  • Drop support for Symfony 3

2.3.0

30 Aug 11:06
@dbu dbu
2.3.0
a8eb24b
Compare
Choose a tag to compare
  • Explicitly require doctrine/cache to keep running Jackalope with cache.
  • Drop support for PHP 7.1 - 7.3

2.2.2

13 Apr 14:03
@dbu dbu
2.2.2
Compare
Choose a tag to compare
  • Allow to configure a doctrine-dbal query cache, like you can configure the meta and nodes cache.