Skip to content

Releases: doctrine/phpcr-odm

2.0.1

05 May 10:06
@dbu dbu
2.0.1
Compare
Choose a tag to compare
  • Added DocumentManager::isUninitializedObject method to avoid warning and be ready for Doctrine ORM 4.*.

2.0.0

03 Apr 06:49
@dbu dbu
2.0.0
ada1008
Compare
Choose a tag to compare

BC Breaks

  • Replaced the deprecated Doctrine Cache with PSR-6 Cache.
    The Configuration class now expects PSR-6 Cache instances.

  • Removed deprecated methods HierarchyInterface::getParent/setParent.
    Use getParentDocument/setParentDocument instead.

  • DocumentManager::flush no longer saves the PHPCR session if there are no changes
    on the ODM layer.

  • Removed annotation mappings. Use attributes (or XML or YAML) instead.

  • ChildrenCollection::slice no longer accepts a node name as offset. If you
    want a slice starting from a node name, use ChildrenCollection::sliceByChildName
    instead.

  • Removed DocumentManager::merge()

  • Removed support for short namespace aliases. ClassMetadataFactory::getFqcnFromAlias and the namespace registering
    on Configuration are removed. ClassMetadataFactory methods now require their $className argument to be an
    actual FQCN.

New Features

  • DocumentManager::getDocumentId() to get the id of a managed document

Improvements

  • Allow using doctrine/persistence

  • Added support for Symfony 7. Dropped support for PHP < 8.1 and Symfony < 5.4.

2.0.0-beta2

17 Jan 14:53
@dbu dbu
2.0.0-beta2
970e074
Compare
Choose a tag to compare
2.0.0-beta2 Pre-release
Pre-release

Changes since 2.0.0-beta1

  • Removed annotation mappings. Use attributes (or XML or YAML) instead.

  • ChildrenCollection::slice no longer accepts a node name as offset. If you
    want a slice starting from a node name, use ChildrenCollection::sliceByChildName
    instead.

  • Removed DocumentManager::merge()

  • Removed support for short namespace aliases. ClassMetadataFactory::getFqcnFromAlias and the namespace registering
    on Configuration are removed. ClassMetadataFactory methods now require their $className argument to be an
    actual FQCN.

  • Support Symfony 7

1.8.0

03 Dec 08:07
@dbu dbu
1.8.0
Compare
Choose a tag to compare
  • Add support for PHP attributes (only for the annotations that are not deprecated)
  • Drop support for PHP 7.

1.7.2

22 Sep 08:32
@dbu dbu
1.7.2
Compare
Choose a tag to compare
  • Maintenance release with doc and phpunit test cleanups.

2.0.0-beta1

21 May 14:18
@dbu dbu
2.0.0-beta1
90e3dc0
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-release

BC Breaks

  • Replaced the deprecated Doctrine Cache with PSR-6 Cache.
    The Configuration class now expects PSR-6 Cache instances.

  • Removed deprecated methods HierarchyInterface::getParent/setParent.
    Use getParentDocument/setParentDocument instead.

  • DocumentManager::flush no longer saves the PHPCR session if there are no changes
    on the ODM layer.

  • Removed deprecated annotations for fields. Use @Field(type="...") instead.

New Features

  • DocumentManager::getDocumentId() to get the id of a managed document

Improvements

  • Allow using doctrine/persistence

Dropped support for PHP < 7.4 and Symfony < 5.4.

1.7.1

05 Jan 10:26
@dbu dbu
1.7.1
d0ff7f9
Compare
Choose a tag to compare
  • Test with PHP 8.2
  • Allow installation with Doctrine Annotations 2, Collections 2 and EventManager 2.

1.7.0

24 Sep 09:01
@dbu dbu
1.7.0
Compare
Choose a tag to compare
  • Test with PHP 8.1
  • Fix edge case bug that could lead to new documents being considered inserted already.

1.6.1

24 Sep 08:50
@dbu dbu
Compare
Choose a tag to compare
  • Fix Version::VERSION constant

1.6.0

07 Dec 09:50
@dbu dbu
1.6.0
96baffa
Compare
Choose a tag to compare
  • Support Symfony 6
  • Drop support for Symfony 2.3