5 This release increments the minimum supported PHP version to 7.1.0.
7 Also, HHVM official support has been dropped.
9 Some noticeable performance improvements to annotation autoloading
10 have been applied, making failed annotation autoloading less heavy
11 on the filesystem access.
13 - [133: Add @throws annotation in AnnotationReader#__construct()](https://github.com/doctrine/annotations/issues/133) thanks to @SenseException
14 - [134: Require PHP 7.1, drop HHVM support](https://github.com/doctrine/annotations/issues/134) thanks to @lcobucci
15 - [135: Prevent the same loader from being registered twice](https://github.com/doctrine/annotations/issues/135) thanks to @jrjohnson
16 - [137: #135 optimise multiple class load attempts in AnnotationRegistry](https://github.com/doctrine/annotations/issues/137) thanks to @Ocramius
21 This release fix an issue were some annotations could be not loaded if the namespace in the use statement started with a backslash.
22 It also update the tests and drop the support for php 5.X
24 - [115: Missing annotations with the latest composer version](https://github.com/doctrine/annotations/issues/115) thanks to @pascalporedda
25 - [120: Missing annotations with the latest composer version](https://github.com/doctrine/annotations/pull/120) thanks to @gnat42
26 - [121: Adding a more detailed explanation of the test](https://github.com/doctrine/annotations/pull/121) thanks to @mikeSimonson
27 - [101: Test annotation parameters containing space](https://github.com/doctrine/annotations/pull/101) thanks to @mikeSimonson
28 - [111: Cleanup: move to correct phpunit assertions](https://github.com/doctrine/annotations/pull/111) thanks to @Ocramius
29 - [112: Removes support for PHP 5.x](https://github.com/doctrine/annotations/pull/112) thanks to @railto
30 - [113: bumped phpunit version to 5.7](https://github.com/doctrine/annotations/pull/113) thanks to @gabbydgab
31 - [114: Enhancement: Use SVG Travis build badge](https://github.com/doctrine/annotations/pull/114) thanks to @localheinz
32 - [118: Integrating PHPStan](https://github.com/doctrine/annotations/pull/118) thanks to @ondrejmirtes
34 ### 1.3.1 - 2016-12-30
36 This release fixes an issue with ignored annotations that were already
37 autoloaded, causing the `SimpleAnnotationReader` to pick them up
38 anyway. [#110](https://github.com/doctrine/annotations/pull/110)
40 Additionally, an issue was fixed in the `CachedReader`, which was
41 not correctly checking the freshness of cached annotations when
42 traits were defined on a class. [#105](https://github.com/doctrine/annotations/pull/105)
44 Total issues resolved: **2**
46 - [105: Return single max timestamp](https://github.com/doctrine/annotations/pull/105)
47 - [110: setIgnoreNotImportedAnnotations(true) didn’t work for existing classes](https://github.com/doctrine/annotations/pull/110)
51 This release introduces a PHP version bump. `doctrine/annotations` now requires PHP
52 5.6 or later to be installed.
54 A series of additional improvements have been introduced:
56 * support for PHP 7 "grouped use statements"
57 * support for ignoring entire namespace names
58 via `Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredNamespace()` and
59 `Doctrine\Common\Annotations\DocParser::setIgnoredAnnotationNamespaces()`. This will
60 allow you to ignore annotations from namespaces that you cannot autoload
61 * testing all parent classes and interfaces when checking if the annotation cache
62 in the `CachedReader` is fresh
63 * simplifying the cache keys used by the `CachedReader`: keys are no longer artificially
64 namespaced, since `Doctrine\Common\Cache` already supports that
65 * corrected parsing of multibyte strings when `mbstring.func_overload` is enabled
66 * corrected parsing of annotations when `"\t"` is put before the first annotation
68 * allow skipping non-imported annotations when a custom `DocParser` is passed to
69 the `AnnotationReader` constructor
71 Total issues resolved: **15**
73 - [45: DocParser can now ignore whole namespaces](https://github.com/doctrine/annotations/pull/45)
74 - [57: Switch to the docker-based infrastructure on Travis](https://github.com/doctrine/annotations/pull/57)
75 - [59: opcache.load_comments has been removed from PHP 7](https://github.com/doctrine/annotations/pull/59)
76 - [62: [CachedReader\ Test traits and parent class to see if cache is fresh](https://github.com/doctrine/annotations/pull/62)
77 - [65: Remove cache salt making key unnecessarily long](https://github.com/doctrine/annotations/pull/65)
78 - [66: Fix of incorrect parsing multibyte strings](https://github.com/doctrine/annotations/pull/66)
79 - [68: Annotations that are indented by tab are not processed.](https://github.com/doctrine/annotations/issues/68)
80 - [69: Support for Group Use Statements](https://github.com/doctrine/annotations/pull/69)
81 - [70: Allow tab character before first annotation in DocBlock](https://github.com/doctrine/annotations/pull/70)
82 - [74: Ignore not registered annotations fix](https://github.com/doctrine/annotations/pull/74)
83 - [92: Added tests for AnnotationRegistry class.](https://github.com/doctrine/annotations/pull/92)
84 - [96: Fix/#62 check trait and parent class ttl in annotations](https://github.com/doctrine/annotations/pull/96)
85 - [97: Feature - #45 - allow ignoring entire namespaces](https://github.com/doctrine/annotations/pull/97)
86 - [98: Enhancement/#65 remove cache salt from cached reader](https://github.com/doctrine/annotations/pull/98)
87 - [99: Fix - #70 - allow tab character before first annotation in docblock](https://github.com/doctrine/annotations/pull/99)
91 Total issues resolved: **1**
93 - [51: FileCacheReader::saveCacheFile::unlink fix](https://github.com/doctrine/annotations/pull/51)
97 Total issues resolved: [**2**](https://github.com/doctrine/annotations/milestones/v1.2.3)
99 - [49: #46 - applying correct `chmod()` to generated cache file](https://github.com/doctrine/annotations/pull/49)
100 - [50: Hotfix: match escaped quotes (revert #44)](https://github.com/doctrine/annotations/pull/50)
104 Total issues resolved: **4**
106 - [43: Exclude files from distribution with .gitattributes](https://github.com/doctrine/annotations/pull/43)
107 - [44: Update DocLexer.php](https://github.com/doctrine/annotations/pull/44)
108 - [46: A plain "file_put_contents" can cause havoc](https://github.com/doctrine/annotations/pull/46)
109 - [48: Deprecating the `FileCacheReader` in 1.2.2: will be removed in 2.0.0](https://github.com/doctrine/annotations/pull/48)
113 Total issues resolved: **4**
115 - [38: fixes doctrine/common#326](https://github.com/doctrine/annotations/pull/38)
116 - [39: Remove superfluous NS](https://github.com/doctrine/annotations/pull/39)
117 - [41: Warn if load_comments is not enabled.](https://github.com/doctrine/annotations/pull/41)
118 - [42: Clean up unused uses](https://github.com/doctrine/annotations/pull/42)
123 * Allowing dangling comma in annotations
124 * Excluded annotations are no longer autoloaded
125 * Importing namespaces also in traits
126 * Added support for `::class` 5.5-style constant, works also in 5.3 and 5.4
130 * Add Exception when ZendOptimizer+ or Opcache is configured to drop comments