This release fixes an issue in which annotations such as @foo-bar
and @foo-
were incorrectly recognised as valid, and both erroneously
parsed as @foo
.
Any annotation with @name-*
format will now silently be ignored,
allowing vendor-specific annotations to be prefixed with the tool
name.
Total issues resolved: 3
@Foo-bar
, or @Foo-
thanks to @OcramiusThis release brings a new endpoint that make sure that you can't shoot yourself in the foot by calling registerLoader
multiple times and a few tests improvements.
Total issues resolved: 7
DCOM58Test
thanks to @tuanphpvnThanks to everyone involved in this release.
This release increments the minimum supported PHP version to 7.1.0.
Also, HHVM official support has been dropped.
Some noticeable performance improvements to annotation autoloading have been applied, making failed annotation autoloading less heavy on the filesystem access.
This release fix an issue were some annotations could be not loaded if the namespace in the use statement started with a backslash. It also update the tests and drop the support for php 5.X
This release fixes an issue with ignored annotations that were already
autoloaded, causing the SimpleAnnotationReader
to pick them up
anyway. #110
Additionally, an issue was fixed in the CachedReader
, which was
not correctly checking the freshness of cached annotations when
traits were defined on a class. #105
Total issues resolved: 2
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:
Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredNamespace()
and
Doctrine\Common\Annotations\DocParser::setIgnoredAnnotationNamespaces()
. This will
allow you to ignore annotations from namespaces that you cannot autoloadCachedReader
is freshCachedReader
: keys are no longer artificially
namespaced, since Doctrine\Common\Cache
already supports thatmbstring.func_overload
is enabled"\t"
is put before the first annotation
in a docblockDocParser
is passed to
the AnnotationReader
constructorTotal issues resolved: 15
Total issues resolved: 1
Total issues resolved: 2
chmod()
to generated cache fileTotal issues resolved: 4
FileCacheReader
in 1.2.2: will be removed in 2.0.0Total issues resolved: 4
::class
5.5-style constant, works also in 5.3 and 5.4