Skip to content

v1.3.0

Compare
Choose a tag to compare
@Ocramius Ocramius released this 24 Oct 11:49
· 438 commits to 2.0.x since this release
v1.3.0

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