Releases: doctrine/annotations
1.10.1
Release 1.10.1
1.10.1
- Total issues resolved: 1
- Total pull requests resolved: 1
- Total contributors: 2
bug
- 318: Fix ignoring imported ignored annotations thanks to @alcaeus and @j6s
1.10.0
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.
1.10.0
- Total issues resolved: 4
- Total pull requests resolved: 7
- Total contributors: 10
bug
-
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
Documentation
- 305: Proofread docs thanks to @greg0ire
Improvement
1.9.0
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.
v1.8.0
v1.8.0
- Total issues resolved: 1
- Total pull requests resolved: 7
- Total contributors: 4
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.
Improvement
- 287: No longer require dev versions of PHPUnit on PHP 7.4 thanks to @alcaeus
- 230: Added PHP CodeSniffer tags to globally ignored annotations list. thanks to @watari
enhancement
- 281: Backporting adding global ignored annotations to DocParser. thanks to @phpeek
- 280: Backporting ignoring PHP CodeSniffer annotations to 1.8. thanks to @phpeek
- 279: Backporting ignoring phpcsSuppress annotation to 1.8. thanks to @phpeek
- 229: Added
@phpcsSuppress
to globally ignored annotations thanks to @watari
bug
v1.7.0
v1.7.0
- Total issues resolved: 1
- Total pull requests resolved: 19
- Total contributors: 11
bug
- 276: Fix lookahead on PHP 7.4 thanks to @alcaeus and @garak
Improvement
- 250: Backport conversion of performance tests to PHPBench into 1.7 thanks to @Majkl578
- 166: Removed pre-7.1 quirks thanks to @Majkl578
Documentation
- 224: Update copyright thanks to @samnela
- 217: Document correct method usage thanks to @greg0ire
- 198: Fix package name to doctrine/annotations thanks to @jungleran
- 197: Point link to new docs location thanks to @greg0ire
- 196: Fixed consistency of formatting and a few reference links. thanks to @jwage
- 195: Add docs sidebar.rst file thanks to @jwage
- 194: Move documentation from doctrine/common to annotation thanks to @SenseException
- 190: Create basic documentation for annotation reader thanks to @SenseException
enhancement
- 192: Update PHPUnit config thanks to @Majkl578
- 189: fixed array declarations for php 7 thanks to @AlessandroMinoccheri
- 180: Fix: Add test for __get() and __set() thanks to @localheinz
- 179: Fix: Add phpunit.xml to .gitignore thanks to @localheinz
- 178: Enhancement: Keep packages sorted thanks to @localheinz
- 174: Enhancement: Use stages on Travis thanks to @localheinz
- 170: Upgrade to PHPUnit 7 thanks to @carusogabriel
- 164: Use Null Coalesce Operator thanks to @carusogabriel
v1.6.1
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
v1.6.0
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
- 145: Memory leak in AnnotationRegistry::registerLoader() when called multiple times thanks to @TriAnMan
- 146: Import error on @experimental Annotation thanks to @aturki
- 147: Ignoring @experimental annotation used by Symfony 3.3 CacheAdapter thanks to @aturki
- 151: Remove duplicate code in
DCOM58Test
thanks to @tuanphpvn - 161: Prevent loading class_exists multiple times thanks to @jrjohnson
- 162: Add registerUniqueLoader to AnnotationRegistry thanks to @jrjohnson
- 163: Use assertDirectoryExists and assertDirectoryNotExists thanks to @carusogabriel
Thanks to everyone involved in this release.
v1.5.0
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
- 133: Add
@throws
annotation inAnnotationReader#__construct()
thanks to @SenseException - 134: Require PHP 7.1, drop HHVM support thanks to @lcobucci
- 135: Prevent the same loader from being registered twice thanks to @jrjohnson
- 137: #135 optimise multiple class load attempts in
AnnotationRegistry
thanks to @Ocramius
v1.4.0
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.
- 115: Missing annotations with the latest composer version thanks to @pascalporedda
- 120: Missing annotations with the latest composer version thanks to @gnat42
- 121: Adding a more detailed explanation of the test thanks to @mikeSimonson
- 101: Test annotation parameters containing space thanks to @mikeSimonson
- 111: Cleanup: move to correct phpunit assertions thanks to @Ocramius
- 113: bumped phpunit version to 5.7 thanks to @gabbydgab
- 114: Enhancement: Use SVG Travis build badge thanks to @localheinz
- 118: Integrating PHPStan thanks to @ondrejmirtes
Thanks to everyone involved in this release.
v1.3.1
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