Releases: doctrine/common
2.13.1
Release 2.13.1
2.13.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Improvement
- 894: Allow PHP 8 thanks to @greg0ire
2.13.0
Release 2.13.0
2.13.0
-
Total issues resolved: 0
-
Total pull requests resolved: 2
-
Total contributors: 1
-
891: Address more deprecations thanks to @greg0ire
-
880: Address deprecations from doctrine/persistence thanks to @greg0ire
2.12.0
Release 2.12.0
2.12.0
- Total issues resolved: 1
- Total pull requests resolved: 2
- Total contributors: 2
New Feature
- 882: Bugfix: ProxyGenerator incompatible with public typed properties and lazy loading thanks to @a-menshchikov
Improvement
v2.11.0
2.11.0
- Total issues resolved: 1
- Total pull requests resolved: 6
- Total contributors: 6
Improvement
- 875: Require PHP 7.4 tests to pass thanks to @alcaeus
- 873: Use getName() instead __toString() thanks to @esbobkov
- 866: Update phpstan to 0.11 && update phpunit to 7.0 thanks to @adaamz
- 865: CI: Test against PHP 7.4snapshot instead of nightly (8.0) thanks to @Majkl578
- 861: [DDC-2556] Fix generating non-loading proxy methods when the identifier field is defined in a trait thanks to @Jalle19
Documentation
- 862: fix method reference in @see doblock thanks to @vladyslavstartsev
v2.10.0
2.10.0
As of this release PropertyChangedListener & NotifyPropertyChanged interfaces are no longer
part of doctrine/common - these have been moved to doctrine/persistence project.
- Total issues resolved: 1
- Total pull requests resolved: 6
- Total contributors: 3
Improvement
- 860: Bump branch-alias to 2.10.x-dev thanks to @Majkl578
- 859: Move PropertyChangedListener & NotifyPropertyChanged to doctrine/persistence thanks to @Majkl578
- 857: CI: Test against PHP 7.3 thanks to @Majkl578
- 855: Move NotifyPropertyChanged into doctrine/persistence thanks to @Majkl578
- 853: Add .doctrine-project.json to root of the project. thanks to @jwage
Documentation
v2.9.0
Starting with this release, some of the components were moved to separate packages:
They have been removed from this package and replaced with a dependency on the new packages.
This release also introduces the following deprecations:
Doctrine\Common\Proxy
component is deprecated, useocramius/proxy-manager
insteadDoctrine\Common\Util\Debug
is deprecated, usesymfony/var-dumper
insteadDoctrine\Common\Lexer
is deprecated, useDoctrine\Common\Lexer\AbstractLexer
fromdoctrine/lexer
insteadDoctrine\Common\Util\Inflector
is deprecated, useDoctrine\Common\Inflector\Inflector
fromdoctrine/inflector
insteadDoctrine\Common\Version
is deprecated, refrain from checking Common version at runtimeDoctrine\Common\Util\ClassUtils
is deprecated without replacement,Doctrine\Common\CommonException
is deprecated without replacement.
Additionally, doctrine/common
package now enters a bugfix-only mode and will be gradually phased out.
Please migrate to specific components instead.
- Total issues resolved: 1
- Total pull requests resolved: 5
- Total contributors: 4
Deprecation
- 846: Doctrine\Common\Lexer should be marked as deprecated thanks to @stof
- 845: doctrine/common deprecations thanks to @Majkl578
Improvement
- 844: Separate persistence and reflection thanks to @Majkl578
- 842: Separate Event Manager to doctrine/event-manager thanks to @Majkl578
- 840: Fix CS thanks to @simPod
Documentation
v2.8.1
This release fixes an unintentional BC break that prevented
passing all the possible available flags to
the Doctrine\Common\Proxy\AbstractProxyFactory
.
Total issues resolved: 2
v2.8.0
This release removes support for HHVM and increases the minimum
supported PHP version to PHP 7.1.0.
In addition to that, code has been cleaned up to remove quirks
related to previous PHP version support handling.
We introduced static analysis in our continuous integration
pipeline by integrating PHPStan
with the build process.
In addition to these changes there were multiple minor bugfixes
around the test suite, PHPUnit compatibility, the Debug::export()
utility and docBlock/documentation correctness.
Total issues resolved: 22
- 716: Minor docblock spelling correction in
AbstractClassMetadataFactory
thanks to @gnat42 - 718: Removed empty /lib/vendor directory from auto-generated ZIP archives thanks to @mlocati
- 757: Bumped phpunit version to 5.7 thanks to @gabbydgab
- 760: Fixed typo in
ManagerRegistry
documentation thanks to @aledeg - 765: Integrated PHPStan and discovered related fixes thanks to @ondrejmirtes
- 769: Specify array type in
ClassMetadataFactory::getAllMetadata()
docblock thanks to @soullivaneuh - 770: ProxyFactory may generate invalid proxies with no error thanks to @theofidry
- 771: ProxyGenerator: Disallow creating proxies for abstract and final classes thanks to @Majkl578
- 772: Invalid data provider in the
ObjectManagerDecoratorTest
thanks to @Ocramius - 773: #772 Fixed
ObjectManagerDecoratorTest
, which wasn't considering void hints thanks to @ondrejmirtes - 776:
ProxyGenerator
has a typo in a docblock annotation, causing annotation reading to crash thanks to @alu - 777: #776 Fix typo in
ProxyGenerator
docblock annotation thanks to @Majkl578 - 778: Fix return type docblock for
EventManager#dispatchEvent()
thanks to @ostrolucky - 781: Removed dead links to the previous JIRA-based issue tracker thanks to @fridde
- 785: Dropped PHP 5.x and 7.0 support - minimum of PHP 7.1 requirement thanks to @Majkl578
- 789: Removed redundant
isset()
+empty()
check inEventManager#hasListeners()
thanks to @ostrolucky - 790: Removing
isset()
checks beforeunset()
calls inEventManager#removeEventListener()
thanks to @ostrolucky - 791: Removed always true execution path conditional from
StaticReflectionParser
thanks to @ostrolucky - 793: Updated PHPStan dev dependency to 0.7 thanks to @ondrejmirtes
- 796: Dropped HHVM support thanks to @lcobucci
- 798: Removed quirks for unsupported PHP versions in Proxy code generation thanks to @Majkl578
- 802: #386 - Simplifying
Debug::export()
so that runtime properties are also considered thanks to @ostrolucky
v2.7.3
This release solves minor issues around error message generation in the PersistentObject
object magic methods, StaticReflectionParser
ability to recognize the ::class
pseudo-constant, and removes calls to deprecated methods in PreUpdateEventArgs
.
Total issues resolved: 5
- 139: generation of error message fails under certain circumstances thanks to @nils-wisiol
- 744: StaticReflectionParser is dumb, assumes Class::class references are class level thanks to @heddn
- 780: Quick-fix to avoid call to deprecated function. thanks to @fridde
- 792: Fix __call exception when no metadata has been set thanks to @ostrolucky
- 806: Fix #744 - Stop overwriting class docblock with '' triggered by ::class thanks to @Sam152
v2.7.2
This release fixes an issue in the proxy code generation
that prevented an optimization in proxy identifier getter methods.
Specifically, if you have a method like following in your proxied
class, then this release will ensure that a call to that method
will not initialize your proxy if not needed:
class MyEntity
{
private $id;
public function getId() : ?int
{
return $this->id;
}
}
Total issues resolved: 3