This release introduces a PHP version bump. doctrine/annotations
now requires PHP
5.6 or later to be installed.
A series of additional improvements have been introduced:
- support for PHP 7 "grouped use statements"
- support for ignoring entire namespace names
viaDoctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredNamespace()
and
Doctrine\Common\Annotations\DocParser::setIgnoredAnnotationNamespaces()
. This will
allow you to ignore annotations from namespaces that you cannot autoload - testing all parent classes and interfaces when checking if the annotation cache
in theCachedReader
is fresh - simplifying the cache keys used by the
CachedReader
: keys are no longer artificially
namespaced, sinceDoctrine\Common\Cache
already supports that - corrected parsing of multibyte strings when
mbstring.func_overload
is enabled - corrected parsing of annotations when
"\t"
is put before the first annotation
in a docblock - allow skipping non-imported annotations when a custom
DocParser
is passed to
theAnnotationReader
constructor
Total issues resolved: 15
- 45: DocParser can now ignore whole namespaces
- 57: Switch to the docker-based infrastructure on Travis
- 59: opcache.load_comments has been removed from PHP 7
- 62:
CachedReader
Test traits and parent class to see if cache is fresh - 65: Remove cache salt making key unnecessarily long
- 66: Fix of incorrect parsing multibyte strings
- 68: Annotations that are indented by tab are not processed.
- 69: Support for Group Use Statements
- 70: Allow tab character before first annotation in DocBlock
- 74: Ignore not registered annotations fix
- 92: Added tests for AnnotationRegistry class.
- 96: Fix/#62 check trait and parent class ttl in annotations
- 97: Feature - #45 - allow ignoring entire namespaces
- 98: Enhancement/#65 remove cache salt from cached reader
- 99: Fix - #70 - allow tab character before first annotation in docblock