Yii 2.0.9 发布了,Yii是一个高性能的PHP的web应用程序开发框架。通过一个简单的命令行工具 yiic 可以快速创建一个web应用程序的代码框架,开发者可以在生成的代码框架基础上添加业务逻辑,以快速完成应用程序的开发。 本次发布累计60多项改进,其中包括增加一些新功能和问题修复。主要性能改进: 一些增强: Enh #10422: Added null method on yii\db\ColumnSchemaBuilder to explicitly set column nullability (nevermnd) Enh #11168: yii\helpers\BaseHtml now uses abstracted booleanInput() and activeBooleanInput() methods to render radio() , checkbox() , activeRadio() and activeCheckbox() (cesarnicola) Enh #11195: Added ability to append custom string to schema builder column definition (df2, samdark) Enh #11212: Added headers to PO file in yii\i18n\GettextPoFile::save() (stevekr) Enh #11414: Files specified as null in yii\web\AssetBundle won't be registered (Razzwan) Enh #11428: Speedup SQL query in yii\db\oci\Schema::findColumns() (SSiwek) Enh #11432: Added HTTP status 421 "Misdirected Request" to list of statuses in yii\web\Response (dasmfm) Enh #11438: Configurable yii\helpers\Markdown default flavor (mdmunir) Enh #11462: Added support of filtering rules to yii\log\Target::$logVar (HaruAtari) Enh #11462: Added \yii\helpers\BaseArrayHelper::filter() method (HaruAtari) Enh #11484: Speed up yii\db\oci\Schema::loadTableSchema() for Oracle DBMS (SSiwek) Enh #11490: Added yii\data\ArrayDataProvider::$modelClass property to specify a model used to provide column labels even when data array is empty (PowerGamer1) Enh #11591: Added support for wildcards for only and except at yii\base\ActionFilter (klimov-paul) Enh #11679: Extracted CheckAccessInterface from ManagerInterface (SamMousa, samdark, mdomba) Enh #11725: Added indexes on message tables (OndrejVasicek) Enh #11729: Added yii\grid\CheckboxColumn::$cssClass property to specify a class added to checkbox input (thiagotalma) Enh #11808: _table and _column suffixes are now required when generating migration (rob006) Enh #11850: Introduced yii\widgets\Pjax::$submitEvent to be able to customize event triggering PJAX form submit (Bvanleeuwen) Enh #11857: yii\filters\AccessRule::$verbs can now be configured in upper and lowercase (DrDeath72, samdark) Chg #11364: Updated jQuery dependency to include versions 1.12.* (cebe) Chg #11683: Fixed fixture command to work with short syntax. yii fixture "*, -User" should be used instead of yii fixture "*" -User (Faryshta, samdark) 下载地址:http://www.yiiframework.com/download/ |