Release Notes for 2.13.0
Feature release (minor)
2.13.0
- Total issues resolved: 0
- Total pull requests resolved: 37
- Total contributors: 10
Improvement
- 9969: Address DBAL 3.4 deprecations thanks to @derrabus
- 9915: Make EntityManager
@final
and its constructor public thanks to @nicolas-grekas - 9903: schema tool: remove useless text from --dump-sql output thanks to @glaszig
- 9839: Use proper API for introspection of tables thanks to @morozov
- 9780: Kill call_user_func(_array) thanks to @derrabus
- 9737: Improve compatibility with DBAL 4 for MySQL, MariaDB and PostgreSQL thanks to @morozov
- 9730: Forward compatibility with DBAL 4 thanks to @morozov
- 6728: Validate XML mapping against XSD file thanks to @greg0ire
Static Analysis
- 9965: Improve phpdoc for ClassMetadataInfo thanks to @VincentLanglet
- 9826: Improve phpdoc for Configuration thanks to @greg0ire
- 9794: Add type for AssociationMapping thanks to @VincentLanglet
- 9756: Document types as they are passed thanks to @greg0ire
- 9751: Update Psalm baseline thanks to @derrabus
Deprecation
- 9945: Deprecate QueryBuilder APIs exposing its internal state thanks to @derrabus
- 9906: Deprecate
LifecycleEventArgs
thanks to @franmomu - 9876: Change parent classes in some events thanks to @franmomu
- 9833: Deprecate reliance on sequence-emulated identity columns thanks to @greg0ire
- 9809: Deprecate passing null to Query::setFirstResult() thanks to @greg0ire
- 9791: Deprecate calling setters without arguments thanks to @derrabus
- 9786: Prepare split of output walkers and tree walkers thanks to @derrabus
- 9784: Deprecate passing null to Query::setDQL() thanks to @greg0ire
- 9765: Deprecate omitting the alias in QueryBuilder::update() and delete() thanks to @Hanmac
- 9747: Deprecate omitting second argument to joinColumnName() thanks to @greg0ire
- 9704: Reference ClassMetadataInfo less and less thanks to @greg0ire
Test Suite
- 9938: Stop passing event manager to constructor thanks to @greg0ire
- 9895: Avoid SQL assertions thanks to @greg0ire
- 9808: Remove calls to deprecated
MockBuilder::setMethods()
thanks to @derrabus - 9806: Rename Abstract*Test to *TestCase thanks to @derrabus
- 9796: Add missing import thanks to @derrabus
- 9790: MockTreeWalker should be an SqlWalker thanks to @derrabus
- 9789: Move duplicate fixture into dedicated file thanks to @derrabus
New Feature
- 9936: Support native enum hydration when using
NEW
operator thanks to @romm - 9655: Allow setting column options like
charset
andcollation
onJoinTable
,JoinColumn
andInverseJoinColumn
thanks to @ruudk
Improvement,Static Analysis
-
9932: Add helper function
TreeWalkerAdapter::getMetadataForDqlAlias()
thanks to @derrabus -
9837: Address deprecation of getDatabasePlatform() thanks to @greg0ire
-
9801: Widen types thanks to @greg0ire