Skip to content

Releases: doctrine/common

v2.7.1

03 Dec 08:17
v2.7.1
Compare
Choose a tag to compare

Build Status

This release fixes an issue that prevented the proxy generator from generating valid
proxies when running under PHP 7.0.* and encountering following type of method
signature:

public function foo(SomeClass $bar = null, $baz) {}

Total issues resolved: 4

v2.7.0

v2.6.2

30 Nov 17:17
v2.6.2
Compare
Choose a tag to compare

v2.6.1

25 Dec 13:21
v2.6.1
Compare
Choose a tag to compare

v2.5.3

25 Dec 13:12
v2.5.3
Compare
Choose a tag to compare

v2.6.0

04 Dec 13:10
v2.6.0
Compare
Choose a tag to compare

Release Notes - Doctrine Common - Version 2.6.0

Build Status

Bug

Documentation

Improvement

New Feature

  • DCOM-294 - GH-376 Proxy: Added support for PHP 7 return & parameter type hints

v2.5.2

04 Dec 13:01
v2.5.2
Compare
Choose a tag to compare

Release Notes - Doctrine Common - Version 2.5.2

Bug-fixes

Improvement

v2.5.0

02 Apr 20:02
v2.5.0
Compare
Choose a tag to compare

Doctrine Common 2.5.0 Release

We are happy to announce the immediate availability of Doctrine Common 2.5.0.

Build Status

Installation

You can install this version of Doctrine Common by using Composer and the
following composer.json contents:

{
    "require": {
        "doctrine/common": "2.5.0"
    }
}

Changes since 2.4.x

This is a list of issues solved in 2.5.0 since 2.4.x:

Bug

  • DCOM-129 - Annotation parser matches colon after annotation
  • DCOM-151 - GH-233 [DocParser] Fix trying include classes if its must be ignored.
  • DCOM-162 - GH-244 return parameter for debug method
  • DCOM-168 - ignoredAnnotationNames doesn't work in Annotation loop
  • DCOM-175 - Proxies return private properties in __sleep, which is not supported by PHP.
  • DCOM-191 - Wrong inflection for "identity"
  • DCOM-212 - GH-296 Proxies shouldn't serialize static properties in __sleep()
  • DCOM-216 - GH-298 Silence E_NOTICE warning: "Undefined index".
  • DCOM-220 - GH-304 fix typo
  • DCOM-223 - GH-308 fix the optimize regex and adapt the tests to actually test classAnnotat...
  • DCOM-228 - GH-312 Improve UnexpectedValueException error message
  • DCOM-261 - GH-344 Fix fatal error when classexist tries to call the protected loader
  • DCOM-270 - GH-351 Added validation where allowed QCNs with ":" NS separator
  • DCOM-272 - Proxy generator doesn't understand splat operator (PHP 5.6 argument unpacking)

Documentation

Improvement

New Feature

  • DCOM-257 - GH-342 Class metadata loading fallback hook in AbstractClassMetadataFactory
  • DCOM-277 - GH-357 Custom namespace separators for SymfonyFileLocator

Please report any issues you may have with the update on the mailing list or on
Jira.

v2.5.0-beta1

26 Mar 00:28
v2.5.0-beta1
Compare
Choose a tag to compare
v2.5.0-beta1 Pre-release
Pre-release

Doctrine Common 2.5.0-beta1 Pre-Release

We are happy to announce the immediate availability Doctrine Common 2.5.0-beta1.

This is a pre-release meant to allow users and contributors to try out the new
upcoming features of the Common package.

We encourage all of our users to help us by trying out this beta release.
Please report any possible problems or incompatibilities that may have been
introduced during development.

Starting from this release, no more new features or breaking changes will be allowed
in the

Build Status

Release RoadMap

We expect to release following versions of the Common package in the next days:

  • 2.5.0 on 2015-04-02

Please note that these dates may change depending on the availability of our team.

Installation

You can install this version of the Common package by using Composer and the
following composer.json contents:

{
    "require": {
        "doctrine/common": "2.5.0-beta1"
    }
}

Changes since 2.4.x

This is a list of issues solved in 2.5.0-beta1 since 2.4.x:

Bug

  • DCOM-129 - Annotation parser matches colon after annotation
  • DCOM-151 - GH-233 [DocParser] Fix trying include classes if its must be ignored.
  • DCOM-162 - GH-244 return parameter for debug method
  • DCOM-168 - ignoredAnnotationNames doesn't work in Annotation loop
  • DCOM-175 - Proxies return private properties in __sleep, which is not supported by PHP.
  • DCOM-191 - Wrong inflection for "identity"
  • DCOM-212 - GH-296 Proxies shouldn't serialize static properties in __sleep()
  • DCOM-216 - GH-298 Silence E_NOTICE warning: "Undefined index".
  • DCOM-220 - GH-304 fix typo
  • DCOM-223 - GH-308 fix the optimize regex and adapt the tests to actually test classAnnotat...
  • DCOM-228 - GH-312 Improve UnexpectedValueException error message
  • DCOM-261 - GH-344 Fix fatal error when classexist tries to call the protected loader
  • DCOM-270 - GH-351 Added validation where allowed QCNs with ":" NS separator
  • DCOM-272 - Proxy generator doesn't understand splat operator (PHP 5.6 argument unpacking)

Documentation

Improvement

New Feature

  • DCOM-257 - GH-342 Class metadata loading fallback hook in AbstractClassMetadataFactory
  • DCOM-277 - GH-357 Custom namespace separators for SymfonyFileLocator

Please report any issues you may have with the update on the mailing list or on
Jira.

v2.4.2

21 May 20:38
v2.4.2
Compare
Choose a tag to compare

Bug

  • [DDC-2708] - [DCOM-219] Fix for PHP 5.4.8 not returning true for is_callable on abstract methods anymore
  • [DCOM-204] Fix include of entities inside PHAR.
  • [DCOM-175] Private properties of parent classes of a proxy are now correctly handled in __sleep
  • [DCOM-212] Static properties should not be returned by __sleep in proxies

Improvement

New Feature

  • [DDC-1247] - Implemented AnnotationDriver#addExcludePath()