Coming from a Yii 1 background and getting to grips with Yii 2, I noticed a few minor changes. For example:
-
Scenarios. In Yii 1, there were two automatic scenarios - ‘insert’ and ‘update’. However in Yii 2 these scenarios do not exist and we have to write extra code to handle these.
-
Captcha. In Yii 1, the Captcha image had a refresh link below it “get a new code”, but in Yii 2 there is no link. You have to click the image to refresh the Captcha but this isn’t entirely obvious.
-
Required fields. In Yii 1, there was a ‘labelEx()’ function which automatically rendered an asterisk for required fields. However in Yii 2 this function no longer exists and we have to write our own code to get this back.
I think all of these features were very useful, does anybody know why they were changed?