Skip to content

Releases: doctrine/annotations

1.9.0

02 Apr 08:17
1.9.0
3b95eb9
Compare
Choose a tag to compare

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

01 Oct 19:15
v1.8.0
904dca4
Compare
Choose a tag to compare

v1.7.0

08 Aug 18:19
v1.7.0
fa4c4e8
Compare
Choose a tag to compare

v1.6.1

25 Mar 19:13
v1.6.1
Compare
Choose a tag to compare

Build Status

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

10 Dec 08:39
c7f2050
Compare
Choose a tag to compare

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

Thanks to everyone involved in this release.

v1.5.0

22 Jul 11:09
v1.5.0
5beebb0
Compare
Choose a tag to compare

Build Status

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

v1.4.0

24 Feb 16:23
Compare
Choose a tag to compare

v1.3.1

30 Dec 16:01
v1.3.1
Compare
Choose a tag to compare

Build Status

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

v1.3.0

24 Oct 11:49
v1.3.0
Compare
Choose a tag to compare

Build Status

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

v1.2.6

17 Jun 12:22
Compare
Choose a tag to compare

Revert a small change from v1.2.5 that removed a check for the wrong reasons, nothing major but better now.