doctrine/common
Doctrine Common extends core PHP with shared utilities used across Doctrine projects. Includes collections, event management, caching helpers, annotations support (legacy), reflection and class loading tools. A foundational component for Doctrine ORM and related libraries.
Feature release (minor)
3.4.x bugfix release (patch)
3.4.x bugfix release (patch)
3.4.x bugfix release (patch)
Feature release (minor)
3.3.x bugfix release (patch)
Feature release (minor)
3.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
955: Bugfix: Enum default values require a use statement for correct serialization thanks to @beberlei
3.2.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 2
950: PHPStan 1.2.0 thanks to @derrabus
Feature release (minor)
3.1.x bugfix release (patch)
3.1.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 1
911: Update doctrine/coding-standard to 6.0|8.0 thanks to @beberlei
910: Add support for union types and mixed type in ProxyGenerator thanks to @beberlei
Release 2.13.3
Total issues resolved: 1
Total pull requests resolved: 1
Total contributors: 2
897: Fixes #896: Undefined variable: name in generated Proxy thanks to @miloshavlicek
896: Notice: Undefined variable: name in generated Proxy class thanks to @flack
Release 2.13.2
Release 3.0.0
This release drops the following dependencies. If you depend on any of these classes, please require the dependencies directly:
After requiring those dependencies directly, please update the composer.json constraint for doctrine/common to ^2.13 || ^3.0.
The following deprecated classes were dropped:
Doctrine\Common\Lexer => Doctrine\Common\Lexer\AbstractLexerDoctrine\Common\Util\Inflector => Doctrine\Inflector\InflectorDoctrine\Common\Version (no replacement)Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
Release 2.13.1
Release 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
Release 2.12.0
As of this release PropertyChangedListener & NotifyPropertyChanged interfaces are no longer part of doctrine/common - these have been moved to doctrine/persistence project.
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, use ocramius/proxy-manager insteadDoctrine\Common\Util\Debug is deprecated, use symfony/var-dumper insteadDoctrine\Common\Lexer is deprecated, use Doctrine\Common\Lexer\AbstractLexer from doctrine/lexer insteadDoctrine\Common\Util\Inflector is deprecated, use Doctrine\Common\Inflector\Inflector from doctrine/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.
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
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
AbstractClassMetadataFactory thanks to @gnat42ManagerRegistry documentation thanks to @aledegClassMetadataFactory::getAllMetadata() docblock thanks to @SoullivaneuhObjectManagerDecoratorTest thanks to @OcramiusObjectManagerDecoratorTest, which wasn't considering void hints thanks to @ondrejmirtesProxyGenerator has a typo in a docblock annotation, causing annotation reading to crash thanks to @aluProxyGenerator docblock annotation thanks to @Majkl578EventManager#dispatchEvent() thanks to @ostroluckyisset() + empty() check in EventManager#hasListeners() thanks to @ostroluckyisset() checks before unset() calls in EventManager#removeEventListener() thanks to @ostroluckyStaticReflectionParser thanks to @ostroluckyDebug::export() so that runtime properties are also considered thanks to @ostroluckyThis 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
How can I help you explore Laravel packages today?