You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking changes
Switch to using attributes instead of annotations for mapping
Removes the ExplicitCallslistAnnotationDriver class
Removes the doctrine.config.metadata.reader service definition
Adds ExplicitClasslistAttributeDriver as the default mapping driver
Drops composer dependency on doctrine/annotations
Switch to using PSR-6 cache implementations for metadata, query and result caches:
drops the composer dependency on doctrine/cache in favour of symfony/cache
DoctrineCacheFactory methods are now hard-typehinted to return CacheItemPoolInterface
All classes and methods now have hard typehints and return values
[CHANGE] Now allows doctrine/persistence 3.x as well as 2.x - projects that specifically
require doctrine/persistence 2.x may need to pin it in their own composer.json.
Other changes
Add EntityDetacher::detachAllOfType as a migration path for the old $entityManager->clear($entityName)
Narrow supported dependency versions to the current latest minor of the suppoerted
major version.