Skip to content

Commit 6b107eb

Browse files
author
Alexander Obuhovich
committed
Merge pull request php-annotations#106 from php-annotations/changelog
Adding CHANGELOG file
2 parents 8d64f41 + a7ac87a commit 6b107eb

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
This project adheres to [Semantic Versioning](http://semver.org/).
4+
5+
## [Unreleased]
6+
### Added
7+
* Run tests on PHP 7 as well.
8+
* Trait property/method annotations are accessible as part of class annotations by [@benesch].
9+
* Allow trait introspection for annotations by [@benesch].
10+
11+
### Changed
12+
...
13+
14+
### Fixed
15+
* The root namespace importing (e.g. "use PDO;") wasn't working by [@benesch].
16+
* Tests, that trigger notices/warnings were marked as passing by [@benesch].
17+
18+
## [1.2.0] - 2015-04-15
19+
### Added
20+
* Added support for Composer.
21+
* The namespaced data types (e.g. in "@var" or "@return" annotations) are now supported.
22+
* Added "IAnnotationFileAware" interface to allow annotations accessing other data (e.g. namespace name) of file it was used in.
23+
* Added Scrutinizer CI integration.
24+
* Added Travis CI integration.
25+
* Added support for "@type" annotation.
26+
* Added support for "@stop" annotation to prevent from getting annotations from parent class.
27+
* Added Gitter bagde.
28+
* Documentation moved from Wiki to ReadTheDocs.
29+
30+
### Changed
31+
* Main namespace renamed from "Mindplay\Annotation" to "mindplay\annotations".
32+
* Annotation cache format changed. Need to delete existing cache manually.
33+
* Improved error message, when attempt get annotations from trait/interface is made.
34+
* Indexes in returned annotation array are now sequential.
35+
* Improved exception messages.
36+
37+
### Fixed
38+
* The "type" in "@var" annotation was always lowercased.
39+
* The leading "\" wasn't stripped from class name given to "getClassAnnotations", "getMethodAnnotations" and "getPropertyAnnotations" methods.
40+
* Don't attempt to get annotations from internal classes (e.g. "SplFileInfo").
41+
* Attempt to read annotations from non-existing class properties now ends up in exception.
42+
* Don't throw exception, when either of these annotations are encountered: "@api", "@source", "@version".
43+
* No PHP notice is triggered, when malformed (no type) "@param" annotation is being used.
44+
* Inline annotations (e.g. "// @codeCoverageIgnore") were processed by mistake.
45+
46+
### Removed
47+
* Standard annotation stubs (e.g. "@display", "@format", "@length", etc.) were removed.
48+
* Removed incomplete support for "@usage" annotation inheritance.
49+
50+
## [1.1.0] - 2012-10-10
51+
### Changed
52+
* Cache engine rewritten from scratch to increase performance.
53+
* Renamed protected "Annotation::_map" method into "Annotation::map" method.
54+
* Annotation cache format changed. Need to delete existing cache manually.
55+
* Don't write trailing ";" to cache files.
56+
57+
### Removed
58+
* Removed APC support in caching layer.
59+
60+
## [1.0.0] - 2012-10-03
61+
### Added
62+
- Initial release.
63+
64+
[Unreleased]: https://github.com/php-annotations/php-annotations/compare/v1.2.0...HEAD
65+
[1.2.0]: https://github.com/php-annotations/php-annotations/compare/v1.1.0...v1.2.0
66+
[1.1.0]: https://github.com/php-annotations/php-annotations/compare/v1.0.0...v1.1.0
67+
[@benesch]: https://github.com/benesch

0 commit comments

Comments
 (0)