From 4c600f66f0428448a83d18dab0b13c0757025d3d Mon Sep 17 00:00:00 2001 From: Michael Moravec Date: Sat, 12 May 2018 18:29:55 +0200 Subject: [PATCH] Upgrading note for dropped AnnotationRegistry --- UPGRADE.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 686854243..04242ff7f 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -5,7 +5,12 @@ `Doctrine\Common\Annotations\SimpleAnnotationReader` has been dropped. Please use `Doctrine\Annotations\AnnotationReader` instead. -# FileCacheReader removed +## Doctrine\Common\Annotations\AnnotationRegistry removed + +`Doctrine\Common\Annotations\AnnotationRegistry` has been dropped. +Annotations now rely purely on autoloading, no explicit registration is needed anymore. + +## Doctrine\Common\Annotations\FileCacheReader removed `Doctrine\Common\Annotations\FileCacheReader` has been removed. Please use Doctrine Cache adapter instead.