Yii 1.1.14 is released

In this release, we fixed more than 80 bugs and introduced more than 60 minor enhancements and features. We added CPasswordHelper that provides secure and up to date way to store and verify password hashes; We added CRedisCache to support using Redis for caching purpose; and Yii can now be installed as a Composer package. For the complete list of changes in this release, please see the change log.

We have received significant contributions to this release from our community users (e.g. creocoder, tom--, paystey, Ragazzo, antoncpu, Yiivgeny) to this release. We hereby thank their effort in making this release available.

Below we summarize the main enhancements introduced in this release:

New helper class CPasswordHelper

CPasswordHelper that provides secure and up to date way to store and verify password hashes. Usage is extremely easy:

// generate hash that will be stored to DB, $password is from accout creation form$hash = CPasswordHelper::hashPassword($password);
// $hash is what we've saved to DB, $password is from login formif(CPasswordHelper::verifyPassword($password, $hash)// password is goodelse// password is bad

New method CDbCommandBuilder::createMultipleInsertCommand()

There's now CDbCommandBuilder::createMultipleInsertCommand() to support insertion of multiple records in a single query: