Release Notes for 2.14.0
2.14.0
- Total issues resolved: 0
- Total pull requests resolved: 43
- Total contributors: 10
New Features
- 10313: Add TypedFieldMapper for automatic mapping of typed PHP fields to DBAL types thanks to @michnovka
- 10288: Allow enum discriminator columns thanks to @michnovka
- 10187: Leverage LazyGhostTrait when possible thanks to @nicolas-grekas
- 10040: Add lockMode to EntityManager#refresh() thanks to @michnovka
Improvements
- 10321: Drop forceful loading of annotations thanks to @greg0ire
- 10320: Support doctrine/annotations 2 thanks to @derrabus
- 10301: Allow lexer 2 thanks to @greg0ire
- 10233: update help for RunDqlCommand thanks to @dmaicher
- 10206: Use a more accurate name for $annotationName thanks to @greg0ire
- 10123: Allow doctrine/event-manager 2 thanks to @derrabus
- 10122: Automap events in AttachEntityListenersListener thanks to @HypeMC
- 10070: Add support for doctrine/collection 2 thanks to @greg0ire
- 10153: Address dbal deprecations thanks to @greg0ire
- 10121: Address deprecation of Table::changeColumn() thanks to @greg0ire
- 10116: Address deprecations from DBAL thanks to @greg0ire
- 10105: Backport DBAL-related fixes thanks to @greg0ire
- 10162: Use error style for notifications thanks to @greg0ire
- 10256: Make use statements redundant thanks to @greg0ire
Deprecations
- 10212: Add a constructor to
CacheKey
thanks to @derrabus - 10204: Rename internal methods thanks to @greg0ire
- 10178: Deprecate the
Annotation
interface thanks to @derrabus - 10098: Deprecate annotation driver thanks to @greg0ire
- 10086: Create dedicated event argument classes thanks to @franmomu
- 10045: Deprecate
Doctrine\ORM\Proxy\Proxy
and decouple a bit more fromDoctrine\Common\Proxy
thanks to @nicolas-grekas - 9961: Deprecate
EntityManager::create()
thanks to @derrabus - 10267: Add
$not
constructor parameter to AST classes thanks to @derrabus
Bugfixes
Static Analysis
- 10315: Document stdClass structures used by
CommitOrderCalculator
thanks to @derrabus - 10242: Solve some PHPStan baseline errors thanks to @VincentLanglet
- 10238: Use more precise phpdoc thanks to @VincentLanglet
- 10231: Make the code easier to statically analyse thanks to @greg0ire
- 10224: Document property as non-nullable thanks to @greg0ire
- 10218: Ignore PropertyNotSetInConstructor thanks to @greg0ire
- 10202: Allow "Expr\Func" as condition in join in PHPDoc thanks to @willemverspyck
- 10199: refactor: use list type in SchemaTool thanks to @simPod
- 10145: Fix type doc blocks in annotation classes thanks to @derrabus
- 10089: Document properties as possibly null thanks to @greg0ire
- 10002: Make paginator covariant thanks to @VincentLanglet
- 10302: Add assertions about non nullability thanks to @greg0ire
Documentation
- 10205: Avoid references to annotations thanks to @greg0ire
- 10161: Make the mapping driver deprecations more obvious thanks to @greg0ire