Skip to content

Latest commit

 

History

History
115 lines (84 loc) · 6.25 KB

CHANGELOG.md

File metadata and controls

115 lines (84 loc) · 6.25 KB

Changelog

1.4.0

This release fix an issue were some annotations could be not loaded if the namespace in the use statement started with a backslash. It also update the tests and drop the support for php 5.X

1.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

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

1.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

1.2.4

Total issues resolved: 1

1.2.3

Total issues resolved: 2

1.2.2

Total issues resolved: 4

1.2.1

Total issues resolved: 4

1.2.0

  • HHVM support
  • Allowing dangling comma in annotations
  • Excluded annotations are no longer autoloaded
  • Importing namespaces also in traits
  • Added support for ::class 5.5-style constant, works also in 5.3 and 5.4

1.1.0

  • Add Exception when ZendOptimizer+ or Opcache is configured to drop comments