Skip to content

Releases: doctrine/DoctrinePHPCRBundle

3.0.2

02 Aug 14:17
@dbu dbu
3.0.2
799c24d
Compare
Choose a tag to compare
  • Fixed DoctrinePhpcrMappingPass to not configure the addDocumentNamespace method which has been removed in PHPCR-ODM 2.0.
  • [BC Break] Removed the $aliasMap parameter from DoctrinePhpcrMappingPass because 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 call addDocumentNamespace)

2.5.1

03 Jul 13:42
@dbu dbu
2.5.1
Compare
Choose a tag to compare
  • 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

28 May 14:01
@dbu dbu
3.0.1
Compare
Choose a tag to compare
  • Declare conflict with doctrine/persistence: < 3.0.0. Bundle 3.0.0 will install with old persistence, but the
    ManagerRegistry does no longer implement the obsolete method getAliasNamespace that is still required by
    persistence 2.*.

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.