From dbfe36521e78c856bb5ca9aefdf80336ea0038d3 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 13 Apr 2017 19:02:06 +0200 Subject: [PATCH] added upgrade note about yii\cache\Cache::getOrSet() --- framework/UPGRADE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index 9f51979dad..08a976c2d8 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -59,6 +59,9 @@ Upgrade from Yii 2.0.11 * `yii\grid\DataColumn` filter is now automatically generated as dropdown list with localized `Yes` and `No` strings in case of `format` being set to `boolean`. +* The signature of `yii\cache\Cache::getOrSet()` has been adjusted to also accept a callable and not only `Closure`. + If you extend this method, make sure to adjust your code. + Upgrade from Yii 2.0.10 -----------------------