Skip to content

2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dbu dbu released this 21 May 14:18
· 69 commits to 2.x since this release
2.0.0-beta1
90e3dc0

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.