Skip to content

Tags: doctrine/annotations

Tags

1.10.1

Toggle 1.10.1's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
Release [1.10.1](https://github.com/doctrine/annotations/milestone/22)

1.10.1
======

- Total issues resolved: **1**
- Total pull requests resolved: **1**
- Total contributors: **2**

bug
---

 - [318: Fix ignoring imported ignored annotations](#318) thanks to @alcaeus and @j6s

1.10.0

Toggle 1.10.0's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
Release [1.10.0](https://github.com/doctrine/annotations/milestone/20)

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](#316) thanks to @alcaeus and @SergeC
 - [244: fix ignored annotations with namespace alias](#244) thanks to @dbu and @re2bit
 - [142: #141 `::class` notations with FQCN notation and leading `\` causes `\` to be part of the produced string value](#142) thanks to @mikeSimonson and @Ocramius




 - [314: Add ext-tokenizer as requirement to composer.json](#314) thanks to @dontub

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

 - [305: Proofread docs](#305) thanks to @greg0ire

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

 - [301: CacheReader::getLastModification calls filemtime too much](#301) thanks to @bastnic
 - [271: Trigger the standard autoloader as the last resort](#271) thanks to @sanmai

1.9.0

Toggle 1.9.0's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
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](#316) thanks to @alcaeus and @SergeC
 - [244: fix ignored annotations with namespace alias](#244) thanks to @dbu and @re2bit
 - [142: #141 `::class` notations with FQCN notation and leading `\` causes `\` to be part of the produced string value](#142) thanks to @mikeSimonson and @Ocramius




 - [314: Add ext-tokenizer as requirement to composer.json](#314) thanks to @dontub

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

 - [305: Proofread docs](#305) thanks to @greg0ire

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

 - [301: CacheReader::getLastModification calls filemtime too much](#301) thanks to @bastnic
 - [271: Trigger the standard autoloader as the last resort](#271) thanks to @sanmai

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

 - [298: Ignore PHPStan generics annotations](#298) thanks to @marcortola
 - [296: Non controversional pre cache migration](#296) thanks to @greg0ire

v1.8.0

Toggle v1.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
alcaeus Andreas Braun
v1.8.0

- Total issues resolved: 1
- Total pull requests resolved: 7
- Total contributors: 4

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

 - [287: No longer require dev versions of PHPUnit on PHP 7.4](#287) thanks to @alcaeus
 - [230: Added PHP CodeSniffer tags to globally ignored annotations list.](#230) thanks to @watari

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

 - [281: Backporting adding global ignored annotations to DocParser.](#281) thanks to @phpeek
 - [280: Backporting ignoring PHP CodeSniffer annotations to 1.8.](#280) thanks to @phpeek
 - [279: Backporting ignoring phpcsSuppress annotation to 1.8.](#279) thanks to @phpeek
 - [229: Added `@phpcsSuppress` to globally ignored annotations](#229) thanks to @watari

bug
---

 - [277: @phpcsSuppress annotation is not being ignored.](#277) thanks to @phpeek
 - [235: Update AnnotationReader's metadata parser to use list of known ignored annotation ](#235) thanks to @sanmai

v1.7.0

Toggle v1.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
alcaeus Andreas Braun
v1.7.0

- Total issues resolved: 1
- Total pull requests resolved: 22
- Total contributors: 13

bug
---

 - [276: Fix lookahead on PHP 7.4](#276) thanks to @alcaeus and @garak
 - [235: Update AnnotationReader's metadata parser to use list of known ignored annotation ](#235) thanks to @sanmai

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

 - [250: Backport conversion of performance tests to PHPBench into 1.7](#250) thanks to @Majkl578
 - [230: Added PHP CodeSniffer tags to globally ignored annotations list.](#230) thanks to @watari
 - [166: Removed pre-7.1 quirks](#166) thanks to @Majkl578

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

 - [229: Added `@phpcsSuppress` to globally ignored annotations](#229) thanks to @watari
 - [192: Update PHPUnit config](#192) thanks to @Majkl578
 - [189: fixed array declarations for php 7](#189) thanks to @AlessandroMinoccheri
 - [180: Fix: Add test for __get() and __set()](#180) thanks to @localheinz
 - [179: Fix: Add phpunit.xml to .gitignore](#179) thanks to @localheinz
 - [178: Enhancement: Keep packages sorted](#178) thanks to @localheinz
 - [174: Enhancement: Use stages on Travis](#174) thanks to @localheinz
 - [170: Upgrade to PHPUnit 7](#170) thanks to @carusogabriel
 - [164: Use Null Coalesce Operator](#164) thanks to @carusogabriel

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

 - [224: Update copyright](#224) thanks to @samnela
 - [217: Document correct method usage](#217) thanks to @greg0ire
 - [198: Fix package name to  doctrine/annotations](#198) thanks to @jungleran
 - [197: Point link to new docs location](#197) thanks to @greg0ire
 - [196: Fixed consistency of formatting and a few reference links.](#196) thanks to @jwage
 - [195: Add docs sidebar.rst file](#195) thanks to @jwage
 - [194: Move documentation from doctrine/common to annotation](#194) thanks to @SenseException
 - [190: Create basic documentation for annotation reader](#190) thanks to @SenseException

v1.6.1

Toggle v1.6.1's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
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**

- [165: Update the composer branch alias](#165) thanks to @mikeSimonson
- [209: Change Annotation::value typehint to mixed](#209) thanks to @malarzm
- [257: Skip parsing annotations containing dashes, such as `@Foo-bar`, or `@Foo-`](#257) thanks to @Ocramius

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #162 from jrjohnson/145-deduplicating-loader

Add registerLoaderIfNotExists to AnnotationRegistry

v1.5.0

Toggle v1.5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
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 in `AnnotationReader#__construct()`](#133) thanks to @SenseException
- [134: Require PHP 7.1, drop HHVM support](#134) thanks to @lcobucci
- [135: Prevent the same loader from being registered twice](#135) thanks to @jrjohnson
- [137: #135 optimise multiple class load attempts in `AnnotationRegistry`](#137) thanks to @Ocramius

v1.4.0

Toggle v1.4.0's commit message
Update the changelog

v1.3.1

Toggle v1.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
## v1.3.1 - 2016-12-30

This release fixes an issue with ignored annotations that were already
autoloaded, causing the `SimpleAnnotationReader` to pick them up
anyway. [#110](#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](#105)

Total issues resolved: **2**

- [105: Return single max timestamp](#105)
- [110: setIgnoreNotImportedAnnotations(true) didn’t work for existing classes](#110)