Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 967 Bytes

CHANGELOG-2.0.md

File metadata and controls

29 lines (19 loc) · 967 Bytes

CHANGELOG for 2.0.x

Welcome to ODMng!

Upgrade Path

Deprecated code has been removed

Please review list of deprecated functionality we included with previous releases and adhere to made suggestions:

AnnotationDriver::registerAnnotationClasses() has been removed

registerAnnotationClasses() method was registering ODM annotations in the AnnotationRegistry and was recommended to be called during bootstrap of your application. The new way to ensure annotations can be autoloaded properly is registering Composer's autoloader instead:

use Doctrine\Common\Annotations\AnnotationRegistry;

$loader = require_once('path/to/vendor/autoload.php');

AnnotationRegistry::registerLoader([$loader, 'loadClass']);