doctrine/annotations
Doctrine Annotations parses and reads docblock annotations for PHP projects. Considered feature complete since PHP 8 attributes are the native replacement; this package now focuses on bugfixes and security fixes. Documentation available on doctrine-project.org.
2.0.x bugfix release (patch)
CachedReader and FileCacheReader thanks to @alexander-schranz1.14.x bugfix release (patch)
Backwards incompatible release (major)
471: Remove deprecated method thanks to @greg0ire
470: Remove NamedArgumentConstructorAnnotation interface thanks to @derrabus
469: Remove SimpleAnnotationReader thanks to @derrabus
468: Remove deprecated APIs thanks to @greg0ire
466: Allow doctrine/lexer 3 thanks to @greg0ire
1.14.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
1.14.x bugfix release (patch)
1.13.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 2
422: Add psalm annotations to ignored annotation name thanks to @azjezz
Feature release (minor)
noRector annotation. thanks to @Aerendir1.11.x bugfix release (patch)
375: Use generics on Reader thanks to @lcobucci
372: GitHub actions thanks to @beberlei
Total issues resolved: 0
Total pull requests resolved: 13
Total contributors: 11
369: Add compatibility with named parameters and constructor property promotion thanks to @beberlei
368: Allow usage of self:: accessor for constants thanks to @bertrandseurot
327: Merge release 1.10.2 into master thanks to @doctrinebot
Release 1.10.4
Total issues resolved: 0
Total pull requests resolved: 8
Total contributors: 5
347: Add support for the new PHP 8 tokens for use statements thanks to @stof
345: Remove calls to TestCase::at() thanks to @greg0ire
343: Allow using PHPUnit 9.3 thanks to @greg0ire
Release 1.10.3
Release 1.10.2
Release 1.10.1
Release 1.10.0
This release was necessary to fix an issue with the previous 1.9.0 release due to our automated release process. The original release notes follow below.
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.
316: Fix checks for ignored annotations thanks to @alcaeus and @SergeC
244: fix ignored annotations with namespace alias thanks to @dbu and @re2bit
142: #141 ::class notations with FQCN notation and leading \ causes \ to be part of the produced string value thanks to @mikeSimonson and @Ocramius
314: Add ext-tokenizer as requirement to composer.json thanks to @dontub
Note: due to an error in automated tooling, this release has been pulled back. Please use 1.10.0 which contains all changes that were supposed to be included in this release.
This release was necessary as some features that were marked for the 1.7.0 milestone were not properly back ported to the 1.7 branch. This has been fixed in 1.8.
[@phpcsSuppress](https://github.com/phpcsSuppress) to globally ignored annotations thanks to @watariThis release fixes an issue in which annotations such as [@foo-bar](https://github.com/foo-bar)
and [@foo-](https://github.com/foo-) were incorrectly recognised as valid, and both erroneously
parsed as [@foo](https://github.com/foo).
Any annotation with [@name-](https://github.com/name-)* format will now silently be ignored,
allowing vendor-specific annotations to be prefixed with the tool
name.
Total issues resolved: 3
This 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.
Total issues resolved: 4
[@throws](https://github.com/throws) annotation in AnnotationReader#__construct() thanks to @SenseExceptionAnnotationRegistry thanks to @OcramiusThis 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.
Thanks to everyone involved in this release.
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
How can I help you explore Laravel packages today?