[news] Yii 2.0.44


We are very pleased to announce the release of Yii Framework version 2.0.44.
Please refer to the instructions at https://www.yiiframework.com/download/
to install or upgrade to this version. This release includes a number of bug fixes as well as security enhancements and feature enhancements. Highlights are:

  • Added ability to turn the sorting off for a clicked column in GridView with multisort.
  • Added yii\helpers\Json::$keepObjectType and yii\web\JsonResponseFormatter::$keepObjectType in order to avoid changing zero-indexed objects to array in yii\helpers\Json::encode().
  • Added support for URI namespaced tags in XmlResponseFormatter.
  • Added yiiActiveForm validate_only property for skipping form auto-submission.
  • Added yii\base\Module::setControllerPath().
  • Added yii\helper\BaseHtml::$normalizeClassAttribute. When enabled, it will remove duplicate classes from tags generated.
  • Added XmlResponseFormatter::$objectTagToLowercase option to lowercase object tags.
  • Reduced memory usage in yii\base\View::afterRender method and other performance enhancements including events handling.

Thanks to all Yii community members who contribute to the framework,
translators who keep documentation translations up to date and community members who answer questions at forums.
There are many active Yii communities so if you need help or want
to share your experience, feel free to join them.
A complete list of changes can be found in the CHANGELOG.