Yesterday, July 5, the next version of the wonderful framework called Yii was released. And although the creators report that before version 1.1, which will be released at the end of this year, we should not expect anything new, and all the changes will relate to fixing the identified problems, nevertheless, let's see what is interesting for us this time.
Added the ability to specify an anchor in CController :: redirect.
Added the ability to exit for a user without deleting session data that does not directly relate to authorization.
Now you can dynamically disable and enable logging of routes / tracks.
Added the ability to stop saving or deleting using ActiveRecord behavior.
The automatic perception of the fields in MySQL of the tinyint (1) type as boolean announced in the previous version has been canceled.
In the description of ActiveRecord links, a new option “index” has now appeared, in which you can specify the name of the field, the values from which will be used for use as array indices. This only applies to HAS_MANY and MANY_MANY links.
Added userAgent parameter to CHttpRequest :: getBrowser ().
There are also about 20 bug fixes and minor improvements in the list of changes .