v2.2.0
版本发布时间: 2014-12-24 06:21:21
Kdyby/Doctrine最新发布版本:v3.3.1(2018-08-19 02:43:40)
-
[Soft BC Break] Minimum dependency on
doctrine/dbal 2.5
which means newDBAL\Connection
exceptions
New property Connection::$throwOldKdybyExceptions
was introduced, that enables the old behaviour of exceptions on Kdyby\Doctrine\Connection.
The new DBAL has much better exception resolution and throws specific exceptions, making the old behaviour obsolete.
The old behaviour is by default turned off, so you're pushed to migrating, but you can still turn it on.
services:
doctrine.default.connection:
setup:
- $throwOldKdybyExceptions(TRUE)
This property and related deprecated exceptions will be removed no later than with release of Doctrine\DBAL 2.6
- Fixed identifier quoting on shortcut methods insert/update/delete #64
- Dropped custom
Connection::ping()
(completely compatible native one is used) - Implemented
Persistence\ManagerRegistry
#140 - ClassMetadataFactory fix: add entity alias (which defined in targetEntityMappings) to the metadata map, thanks to @matej21
- Added
ResultSet::toArray()
shortcut
This release is for Nette 2.2.*