mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Added upgrade step for Yii 2.0.17 about yii\web\DbSession (#17228) [skip ci]
https://github.com/yiisoft/yii2/pull/17188 might brake existing projects when the yii\web\DbSession class is extended.
This commit is contained in:
committed by
Alexander Makarov
parent
f7fcc0043e
commit
caf9a28657
@ -51,6 +51,12 @@ if you want to upgrade from version A to version C and there is
|
|||||||
version B between A and C, you need to follow the instructions
|
version B between A and C, you need to follow the instructions
|
||||||
for both A and B.
|
for both A and B.
|
||||||
|
|
||||||
|
Upgrade from Yii 2.0.16
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
* In case you have extended the `yii\web\DbSession` class you should check if your
|
||||||
|
custom implementation is compatible with the new `yii\web\DbSession::$fields` attribute.
|
||||||
|
Especially when overriding the `yii\web\DbSession::writeSession($id, $data)` function.
|
||||||
|
|
||||||
Upgrade from Yii 2.0.15
|
Upgrade from Yii 2.0.15
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user