diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 254b97d..cf3510f 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -26,6 +26,7 @@ Yii Framework 2 Change Log - Eng #10976: `Inflector::transliterate()` now uses `strtr` instead of `str_replace` (DrDeath72) - Bug #11040: Check parameter 'recursive' and disable recursive copying with option 'recursive' => false in method BaseFileHelper::copyDirectory (Ni-san) - Chg: HTMLPurifier dependency updated to `~4.6` (samdark) +- Chg #11071: `yii\helpers\BaseArrayHelper::isIn()` and `isTraversable()` since now throw `\yii\base\InvalidParamException` instead of `\InvalidArgumentException` (nukkumatti) 2.0.7 February 14, 2016 ----------------------- diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index 830f272..6ef7a74 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -19,6 +19,9 @@ ______________________ * The signature of `yii\helpers\BaseArrayHelper::index()` was changed. The method has got an extra optional parameter `$groupBy`. +* `yii\helpers\BaseArrayHelper` methods `isIn()` and `isSubset()` throw `\yii\base\InvalidParamException` + instead of `\InvalidArgumentException`. If you wrap calls of these methods in try/catch block, change expected + exception class. Upgrade from Yii 2.0.6