Fixes #2435: yii\db\IntegrityException is now thrown on database integrity errors instead of general yii\db\Exception

This commit is contained in:
Alexander Makarov
2014-05-06 18:28:06 +04:00
parent ca23cd8a2c
commit 2aa5555654

View File

@@ -26,6 +26,7 @@ Yii Framework 2 Change Log
- Bug #3327: Fixed "Unable to find debug data" when logging objects with circular references (jarekkozak, samdark)
- Bug #3368: Fix for comparing numeric attributes in JavaScript (technixp)
- Enh #2264: `CookieCollection::has()` will return false for expired or removed cookies (qiangxue)
- Enh #2435: `yii\db\IntegrityException` is now thrown on database integrity errors instead of general `yii\db\Exception` (samdark)
- Enh #2837: Error page now shows arguments in stack trace method calls (samdark)
- Enh #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper (exromany, qiangxue)
- Enh #2942: Added truncate and truncateWord methods (Alex-Code, samdark)