Developers Yii as always punctual. Version 1.0.8 of this framework has been released just in time.
The release includes bug fixes, as well as about twenty improvements.
From new:
- the mget () method has been added to the caching components - to retrieve several values ​​from the cache, thus reducing the time to obtain cached data. Returning multiple values ​​support APC and MemCache, the remaining cache repositories emulate this feature;
- Improved built-in console yiic shell, now create classes that extend its functionality has become easier;
Trifle, but nice:
- When using the CCAptcha component, you can click on the image itself to replace it;
- Added error templates in Russian;
- The bindParam () and bindValues ​​() methods of the CDbCommand component return a “command” object, which allows you to chain their calls. Example:
$result = $connection->createCommand('select * from table where id = :id')->bindParam(':id',5,PDO::PARAM_INT)->query();
- The init () method is added to the CFormModel and CActiveRecord components - called immediately after the object is created;
')
When upgrading to version 1.0.8, you should be careful, since the working principle of the Yii :: import () method has changed. In the new version, the directory imported by this method has a higher priority than the include path. If you have problems, it is recommended to change the order of import directories.
change logdocumentationoriginal notes