Skip to content
Release [1.9.0](https://github.com/doctrine/annotations/milestone/19)

This release brings an important change to autoloading annotations in the registry. In annotations 2.0, all annotations will be autoloaded, removing the need to call `AnnotationRegistry::registerLoader` or other methods. To allow you to get rid of calls to deprecated methods, the registry will automatically fall back to using `class_exists` as loader, which triggers PHP's autoload mechanism. Please note that if you register a custom loader, namespace, or file, this fallback mechanism is disabled and no autoloading will be performed.

This release also fixes issue related to ignored annotations. Please see the changelog for more details.

1.9.0
=====

- Total issues resolved: **4**
- Total pull requests resolved: **9**
- Total contributors: **11**

bug
---

 - [316: Fix checks for ignored annotations](https://github.com/doctrine/annotations/pull/316) thanks to @alcaeus and @SergeC
 - [244: fix ignored annotations with namespace alias](https://github.com/doctrine/annotations/pull/244) thanks to @dbu and @re2bit
 - [142: #141 `::class` notations with FQCN notation and leading `\` causes `\` to be part of the produced string value](https://github.com/doctrine/annotations/pull/142) thanks to @mikeSimonson and @Ocramius




 - [314: Add ext-tokenizer as requirement to composer.json](https://github.com/doctrine/annotations/pull/314) thanks to @dontub

Documentation
-------------

 - [305: Proofread docs](https://github.com/doctrine/annotations/pull/305) thanks to @greg0ire

Improvement
-----------

 - [301: CacheReader::getLastModification calls filemtime too much](https://github.com/doctrine/annotations/pull/301) thanks to @bastnic
 - [271: Trigger the standard autoloader as the last resort](https://github.com/doctrine/annotations/pull/271) thanks to @sanmai

enhancement
-----------

 - [298: Ignore PHPStan generics annotations](https://github.com/doctrine/annotations/pull/298) thanks to @marcortola
 - [296: Non controversional pre cache migration](https://github.com/doctrine/annotations/pull/296) thanks to @greg0ire