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.