Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • 2.0+1.10.4
    Version 2.0 (based on Doctrine Annotations 1.10.4)
    
  • 1.10.4
    Release [1.10.4](https://github.com/doctrine/annotations/milestone/25)
    
    
    
    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](https://github.com/doctrine/annotations/pull/347) thanks to @stof
     - [345: Remove calls to TestCase::at()](https://github.com/doctrine/annotations/pull/345) thanks to @greg0ire
     - [343: Allow using PHPUnit 9.3](https://github.com/doctrine/annotations/pull/343) thanks to @greg0ire
    
    Improvement
    -----------
    
     - [342: Upgrade phpunit](https://github.com/doctrine/annotations/pull/342) thanks to @greg0ire
     - [332: DocParser: Improve private typehints](https://github.com/doctrine/annotations/pull/332) thanks to @jkufner
    
    bug
    ---
    
     - [341: Make type in phpdoc resolvable](https://github.com/doctrine/annotations/pull/341) thanks to @greg0ire
    
    Documentation
    -------------
    
     - [338: update annotation IDE annotation with current links](https://github.com/doctrine/annotations/pull/338) thanks to @Haehnchen
    
    Documentation,Improvement
    -------------------------
    
     - [337: Replace "blacklist" terminology with "ignore"](https://github.com/doctrine/annotations/pull/337) thanks to @albe
    
    
    
  • 1.10.3
    Release [1.10.3](https://github.com/doctrine/annotations/milestone/24)
    
    
    
    1.10.3
    ======
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **1**
    - Total contributors: **1**
    
    CI,Improvement
    --------------
    
     - [334: Allow php 8](https://github.com/doctrine/annotations/pull/334) thanks to @greg0ire
    
    
    
  • 1.10.2
    Release [1.10.2](https://github.com/doctrine/annotations/milestone/23)
    
    
    
    1.10.2
    ======
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **2**
    - Total contributors: **2**
    
    bug
    ---
    
     - [323: Fix broken autoloading due to Reader calling registerFile](https://github.com/doctrine/annotations/pull/323) thanks to @alcaeus
    
    Documentation
    -------------
    
     - [320: Fix duplicate text in documentation](https://github.com/doctrine/annotations/pull/320) thanks to @l-vo
    
    
    
  • 1.10.1
    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](https://github.com/doctrine/annotations/pull/318) thanks to @alcaeus and @j6s
    
    
    
  • 1.10.0
    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](https://github.com/doctrine/annotations/pull/316) thanks to @alcaeus and @SergeC
     - [244: fix ignored annotations with namespace alias](https://github.com/doctrine/annotations/pull/244) thanks to @dbu and @re2bit
     - [142: #141 `::class` notations with FQCN notation and leading `\` causes `\` to be part of the produced string value](https://github.com/doctrine/annotations/pull/142) thanks to @mikeSimonson and @Ocramius
    
    
    
    
     - [314: Add ext-tokenizer as requirement to composer.json](https://github.com/doctrine/annotations/pull/314) thanks to @dontub
    
    Documentation
    -------------
    
     - [305: Proofread docs](https://github.com/doctrine/annotations/pull/305) thanks to @greg0ire
    
    Improvement
    -----------
    
     - [301: CacheReader::getLastModification calls filemtime too much](https://github.com/doctrine/annotations/pull/301) thanks to @bastnic
     - [271: Trigger the standard autoloader as the last resort](https://github.com/doctrine/annotations/pull/271) thanks to @sanmai
    
    
    
  • 1.9.0
    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](https://github.com/doctrine/annotations/pull/316) thanks to @alcaeus and @SergeC
     - [244: fix ignored annotations with namespace alias](https://github.com/doctrine/annotations/pull/244) thanks to @dbu and @re2bit
     - [142: #141 `::class` notations with FQCN notation and leading `\` causes `\` to be part of the produced string value](https://github.com/doctrine/annotations/pull/142) thanks to @mikeSimonson and @Ocramius
    
    
    
    
     - [314: Add ext-tokenizer as requirement to composer.json](https://github.com/doctrine/annotations/pull/314) thanks to @dontub
    
    Documentation
    -------------
    
     - [305: Proofread docs](https://github.com/doctrine/annotations/pull/305) thanks to @greg0ire
    
    Improvement
    -----------
    
     - [301: CacheReader::getLastModification calls filemtime too much](https://github.com/doctrine/annotations/pull/301) thanks to @bastnic
     - [271: Trigger the standard autoloader as the last resort](https://github.com/doctrine/annotations/pull/271) thanks to @sanmai
    
    enhancement
    -----------
    
     - [298: Ignore PHPStan generics annotations](https://github.com/doctrine/annotations/pull/298) thanks to @marcortola
     - [296: Non controversional pre cache migration](https://github.com/doctrine/annotations/pull/296) thanks to @greg0ire
    
    
    
  • v1.8.0
    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](https://github.com/doctrine/annotations/pull/287) thanks to @alcaeus
     - [230: Added PHP CodeSniffer tags to globally ignored annotations list.](https://github.com/doctrine/annotations/pull/230) thanks to @watari
    
    enhancement
    -----------
    
     - [281: Backporting adding global ignored annotations to DocParser.](https://github.com/doctrine/annotations/pull/281) thanks to @phpeek
     - [280: Backporting ignoring PHP CodeSniffer annotations to 1.8.](https://github.com/doctrine/annotations/pull/280) thanks to @phpeek
     - [279: Backporting ignoring phpcsSuppress annotation to 1.8.](https://github.com/doctrine/annotations/pull/279) thanks to @phpeek
     - [229: Added `@phpcsSuppress` to globally ignored annotations](https://github.com/doctrine/annotations/pull/229) thanks to @watari
    
    bug
    ---
    
     - [277: @phpcsSuppress annotation is not being ignored.](https://github.com/doctrine/annotations/issues/277) thanks to @phpeek
     - [235: Update AnnotationReader's metadata parser to use list of known ignored annotation ](https://github.com/doctrine/annotations/pull/235) thanks to @sanmai
    
  • v1.7.0
    v1.7.0
    
    - Total issues resolved: 1
    - Total pull requests resolved: 22
    - Total contributors: 13
    
    bug
    ---
    
     - [276: Fix lookahead on PHP 7.4](https://github.com/doctrine/annotations/pull/276) thanks to @alcaeus and @garak
     - [235: Update AnnotationReader's metadata parser to use list of known ignored annotation ](https://github.com/doctrine/annotations/pull/235) thanks to @sanmai
    
    Improvement
    -----------
    
     - [250: Backport conversion of performance tests to PHPBench into 1.7](https://github.com/doctrine/annotations/pull/250) thanks to @Majkl578
     - [230: Added PHP CodeSniffer tags to globally ignored annotations list.](https://github.com/doctrine/annotations/pull/230) thanks to @watari
     - [166: Removed pre-7.1 quirks](https://github.com/doctrine/annotations/pull/166) thanks to @Majkl578
    
    enhancement
    -----------
    
     - [229: Added `@phpcsSuppress` to globally ignored annotations](https://github.com/doctrine/annotations/pull/229) thanks to @watari
     - [192: Update PHPUnit config](https://github.com/doctrine/annotations/pull/192) thanks to @Majkl578
     - [189: fixed array declarations for php 7](https://github.com/doctrine/annotations/pull/189) thanks to @AlessandroMinoccheri
     - [180: Fix: Add test for __get() and __set()](https://github.com/doctrine/annotations/pull/180) thanks to @localheinz
     - [179: Fix: Add phpunit.xml to .gitignore](https://github.com/doctrine/annotations/pull/179) thanks to @localheinz
     - [178: Enhancement: Keep packages sorted](https://github.com/doctrine/annotations/pull/178) thanks to @localheinz
     - [174: Enhancement: Use stages on Travis](https://github.com/doctrine/annotations/pull/174) thanks to @localheinz
     - [170: Upgrade to PHPUnit 7](https://github.com/doctrine/annotations/pull/170) thanks to @carusogabriel
     - [164: Use Null Coalesce Operator](https://github.com/doctrine/annotations/pull/164) thanks to @carusogabriel
    
    Documentation
    -------------
    
     - [224: Update copyright](https://github.com/doctrine/annotations/pull/224) thanks to @samnela
     - [217: Document correct method usage](https://github.com/doctrine/annotations/pull/217) thanks to @greg0ire
     - [198: Fix package name to  doctrine/annotations](https://github.com/doctrine/annotations/pull/198) thanks to @jungleran
     - [197: Point link to new docs location](https://github.com/doctrine/annotations/pull/197) thanks to @greg0ire
     - [196: Fixed consistency of formatting and a few reference links.](https://github.com/doctrine/annotations/pull/196) thanks to @jwage
     - [195: Add docs sidebar.rst file](https://github.com/doctrine/annotations/pull/195) thanks to @jwage
     - [194: Move documentation from doctrine/common to annotation](https://github.com/doctrine/annotations/pull/194) thanks to @SenseException
     - [190: Create basic documentation for annotation reader](https://github.com/doctrine/annotations/pull/190) thanks to @SenseException
    
  • 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**
    
    - [165: Update the composer branch alias](https://github.com/doctrine/annotations/pull/165) thanks to @mikeSimonson
    - [209: Change Annotation::value typehint to mixed](https://github.com/doctrine/annotations/pull/209) thanks to @malarzm
    - [257: Skip parsing annotations containing dashes, such as `@Foo-bar`, or `@Foo-`](https://github.com/doctrine/annotations/pull/257) thanks to @Ocramius
    
  • v1.6.0
  • 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 in `AnnotationReader#__construct()`](https://github.com/doctrine/annotations/pull/133) thanks to @SenseException
    - [134: Require PHP 7.1, drop HHVM support](https://github.com/doctrine/annotations/pull/134) thanks to @lcobucci
    - [135: Prevent the same loader from being registered twice](https://github.com/doctrine/annotations/pull/135) thanks to @jrjohnson
    - [137: #135 optimise multiple class load attempts in `AnnotationRegistry`](https://github.com/doctrine/annotations/pull/137) thanks to @Ocramius
    
  • v1.4.0
    54cacc9b · Update the changelog ·
  • v1.3.1
    bd446132 · Changelog entry for 1.3.1 ·
    ## 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](https://github.com/doctrine/annotations/pull/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](https://github.com/doctrine/annotations/pull/105)
    
    Total issues resolved: **2**
    
    - [105: Return single max timestamp](https://github.com/doctrine/annotations/pull/105)
    - [110: setIgnoreNotImportedAnnotations(true) didn’t work for existing classes](https://github.com/doctrine/annotations/pull/110)
    
  • v1.3.0
    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
       via `Doctrine\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 the `CachedReader` is fresh
     * simplifying the cache keys used by the `CachedReader`: keys are no longer artificially
       namespaced, since `Doctrine\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
       the `AnnotationReader` constructor
    
    Total issues resolved: **15**
    
    - [45: DocParser can now ignore whole namespaces](https://github.com/doctrine/annotations/pull/45)
    - [57: Switch to the docker-based infrastructure on Travis](https://github.com/doctrine/annotations/pull/57)
    - [59: opcache.load_comments has been removed from PHP 7](https://github.com/doctrine/annotations/pull/59)
    - [62: [CachedReader\ Test traits and parent class to see if cache is fresh](https://github.com/doctrine/annotations/pull/62)
    - [65: Remove cache salt making key unnecessarily long](https://github.com/doctrine/annotations/pull/65)
    - [66: Fix of incorrect parsing multibyte strings](https://github.com/doctrine/annotations/pull/66)
    - [68: Annotations that are indented by tab are not processed.](https://github.com/doctrine/annotations/issues/68)
    - [69: Support for Group Use Statements](https://github.com/doctrine/annotations/pull/69)
    - [70: Allow tab character before first annotation in DocBlock](https://github.com/doctrine/annotations/pull/70)
    - [74: Ignore not registered annotations fix](https://github.com/doctrine/annotations/pull/74)
    - [92: Added tests for AnnotationRegistry class.](https://github.com/doctrine/annotations/pull/92)
    - [96: Fix/#62 check trait and parent class ttl in annotations](https://github.com/doctrine/annotations/pull/96)
    - [97: Feature - #45 - allow ignoring entire namespaces](https://github.com/doctrine/annotations/pull/97)
    - [98: Enhancement/#65 remove cache salt from cached reader](https://github.com/doctrine/annotations/pull/98)
    - [99: Fix - #70 - allow tab character before first annotation in docblock](https://github.com/doctrine/annotations/pull/99)
    
  • v1.2.7
    v1.2.7
  • v1.2.6
    v1.2.6
  • v1.2.5
    v1.2.5
  • v1.2.4
    [![Build Status](https://travis-ci.org/doctrine/annotations.png?branch=v1.2.4)](https://travis-ci.org/doctrine/annotations)
    
    Total issues resolved: **1**
    
    - [51: FileCacheReader::saveCacheFile::unlink fix](https://github.com/doctrine/annotations/pull/51)
    
  • v1.2.3
    [![Build Status](https://travis-ci.org/doctrine/annotations.png?branch=v1.2.3)](https://travis-ci.org/doctrine/annotations)
    
    Total issues resolved: [**2**](https://github.com/doctrine/annotations/milestones/v1.2.3)
    
    - [49: #46 - applying correct `chmod()` to generated cache file](https://github.com/doctrine/annotations/pull/49)
    - [50: Hotfix: match escaped quotes (revert #44)](https://github.com/doctrine/annotations/pull/50)