Skip to content

2.13.0

@doctrinebot doctrinebot tagged this 07 Aug 16:48
…one/110)

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](https://github.com/doctrine/orm/pull/9969) thanks to @derrabus
 - [9915: Make EntityManager `@final` and its constructor public](https://github.com/doctrine/orm/pull/9915) thanks to @nicolas-grekas
 - [9903: schema tool: remove useless text from --dump-sql output](https://github.com/doctrine/orm/pull/9903) thanks to @glaszig
 - [9839: Use proper API for introspection of tables](https://github.com/doctrine/orm/pull/9839) thanks to @morozov
 - [9780: Kill call_user_func(_array)](https://github.com/doctrine/orm/pull/9780) thanks to @derrabus
 - [9737: Improve compatibility with DBAL 4 for MySQL, MariaDB and PostgreSQL](https://github.com/doctrine/orm/pull/9737) thanks to @morozov
 - [9730: Forward compatibility with DBAL 4](https://github.com/doctrine/orm/pull/9730) thanks to @morozov
 - [6728: Validate XML mapping against XSD file](https://github.com/doctrine/orm/pull/6728) thanks to @greg0ire

#### Static Analysis

 - [9965: Improve phpdoc for ClassMetadataInfo](https://github.com/doctrine/orm/pull/9965) thanks to @VincentLanglet
 - [9826: Improve phpdoc for Configuration](https://github.com/doctrine/orm/pull/9826) thanks to @greg0ire
 - [9794: Add type for AssociationMapping](https://github.com/doctrine/orm/pull/9794) thanks to @VincentLanglet
 - [9756: Document types as they are passed](https://github.com/doctrine/orm/pull/9756) thanks to @greg0ire
 - [9751: Update Psalm baseline](https://github.com/doctrine/orm/pull/9751) thanks to @derrabus

#### Deprecation

 - [9945: Deprecate QueryBuilder APIs exposing its internal state](https://github.com/doctrine/orm/pull/9945) thanks to @derrabus
 - [9906: Deprecate `LifecycleEventArgs`](https://github.com/doctrine/orm/pull/9906) thanks to @franmomu
 - [9876: Change parent classes in some events](https://github.com/doctrine/orm/pull/9876) thanks to @franmomu
 - [9833: Deprecate reliance on sequence-emulated identity columns](https://github.com/doctrine/orm/pull/9833) thanks to @greg0ire
 - [9809: Deprecate passing null to Query::setFirstResult()](https://github.com/doctrine/orm/pull/9809) thanks to @greg0ire
 - [9791: Deprecate calling setters without arguments](https://github.com/doctrine/orm/pull/9791) thanks to @derrabus
 - [9786: Prepare split of output walkers and tree walkers](https://github.com/doctrine/orm/pull/9786) thanks to @derrabus
 - [9784: Deprecate passing null to Query::setDQL()](https://github.com/doctrine/orm/pull/9784) thanks to @greg0ire
 - [9765: Deprecate omitting the alias in QueryBuilder::update() and delete()](https://github.com/doctrine/orm/pull/9765) thanks to @Hanmac
 - [9747: Deprecate omitting second argument to joinColumnName() ](https://github.com/doctrine/orm/pull/9747) thanks to @greg0ire
 - [9704: Reference ClassMetadataInfo less and less](https://github.com/doctrine/orm/pull/9704) thanks to @greg0ire

#### Test Suite

 - [9938: Stop passing event manager to constructor](https://github.com/doctrine/orm/pull/9938) thanks to @greg0ire
 - [9895: Avoid SQL assertions](https://github.com/doctrine/orm/pull/9895) thanks to @greg0ire
 - [9808: Remove calls to deprecated `MockBuilder::setMethods()`](https://github.com/doctrine/orm/pull/9808) thanks to @derrabus
 - [9806: Rename Abstract*Test to *TestCase](https://github.com/doctrine/orm/pull/9806) thanks to @derrabus
 - [9796: Add missing import](https://github.com/doctrine/orm/pull/9796) thanks to @derrabus
 - [9790: MockTreeWalker should be an SqlWalker](https://github.com/doctrine/orm/pull/9790) thanks to @derrabus
 - [9789: Move duplicate fixture into dedicated file](https://github.com/doctrine/orm/pull/9789) thanks to @derrabus

#### New Feature

 - [9936: Support native enum hydration when using `NEW` operator](https://github.com/doctrine/orm/pull/9936) thanks to @romm
 - [9655: Allow setting column options like `charset` and `collation` on `JoinTable`, `JoinColumn` and `InverseJoinColumn`](https://github.com/doctrine/orm/pull/9655) thanks to @ruudk

#### Improvement,Static Analysis

 - [9932: Add helper function `TreeWalkerAdapter::getMetadataForDqlAlias()`](https://github.com/doctrine/orm/pull/9932) thanks to @derrabus

 - [9837: Address deprecation of getDatabasePlatform()](https://github.com/doctrine/orm/pull/9837) thanks to @greg0ire
 - [9801: Widen types](https://github.com/doctrine/orm/pull/9801) thanks to @greg0ire

#### Documentation

 - [9766: Document future argument better](https://github.com/doctrine/orm/pull/9766) thanks to @greg0ire
Assets 2