visible
setting for DetailView
doesn't work as expected (qiangxue)enableAutoLogin
to basic and advanced application templates so "remember me" now works properly (samdark)yii\jui\SliderInput
wasn't properly initialized (samdark)Inflector::camelize()
(qiangxue)$_SERVER['HTTPS']
in yii\web\Request::getIsSecureConnection()
(ginus, samdark)run()
to execute another action (qiangxue)TRUNCATE
changed to DELETE
to avoid postgresql tables checks (and truncating all tables) (Ragazzo)init --env
when called without parameter actually specified (samdark)Html::activeCheckbox
wasn't respecting custom values for checked/unchecked state (klevron, samdark)Controller::findLayoutFile()
returns incorrect file path when layout name starts with a slash (qiangxue)Call to a member function registerAssetFiles() on a non-object
in case of wrong sourcePath
for an asset bundle (samdark)yii\jui\Spinner
(samdark)http://example.com//////site/about
(samdark)HelpController::getModuleCommands
issue where it attempts to scan a module's controller directory when it doesn't exist (jom)intl
transliteration. Improved transliteration char map. (tonydspaniard)UniqueValidator
and ExistValidator
(qiangxue)ArrayHelper::getValue()
(qiangxue, cebe)ActionColumn::controller
property to support customizing the controller for handling GridView actions (qiangxue)yii\web\Controller::createAbsoluteUrl()
(samdark)ActiveQuery::joinWith()
and ActiveQuery::innerJoinWith()
to support joining with relations (qiangxue)BaseActiveRecord::markAttributeDirty()
(qiangxue)BaseActiveRecord::updateAttributes()
(qiangxue)QueryBuilder::checkIntegrity
and QueryBuilder::resetSequence
(Ragazzo)Connection::$pdoClass
property (Ragazzo)ActiveField::label()
(qiangxue)@webroot
and @web
are now available right after the application is initialized (qiangxue){controller/action}
(creocoder)yii message/extract
is now able to generate .po
files (SergeiKutanov, samdark)filter
property to ExistValidator
and UniqueValidator
to support adding additional filtering conditions (qiangxue)favicon.ico
and robots.txt
to default application templates (samdark)Widget::autoIdPrefix
to support prefixing automatically generated widget IDs (qiangxue)init
of advanced application now allows to specify answer for overwriting files via init --overwrite=n
(samdark)TableSchema::fullName
property (qiangxue)yii\web\User::loginRequired()
now returns the Response
object instead of exiting the application (qiangxue)QueryBuilder::buildLikeCondition()
will now escape special characters and use percentage characters by default (qiangxue)Html::activeCheckboxList()
and Html::activeRadioList()
will submit an empty string if no checkbox/radio is selected (qiangxue)Captcha::options
(qiangxue)yii\base\Controller::getActionParams()
(samdark)CheckboxColumn
now renders checkboxes whose values are the corresponding data key values (qiangxue)Response::sendFile()
and other file sending methods will not send the response (qiangxue)create_time
and update_time
to created_at
and updated_at
(creocoder)yii\web\Request::acceptTypes
and renamed yii\web\Request::acceptedContentTypes
to acceptableContentTypes
(qiangxue)yii\jui\Widget::clientEventsMap
to clientEventMap
(qiangxue)ActiveRecord::getPopulatedRelations()
to getRelatedRecords()
(qiangxue)attributeName
and className
to targetAttribute
and targetClass
for UniqueValidator
and ExistValidator
(qiangxue)yii\widgets\InputWidget::options
(qiangxue)urlCreator
and button creators for yii\gridview\ActionColumn
(qiangxue)4.6.*
.index.php
,
index-test.php
and yii
files to point to the new location of Yii.php
(qiangxue, cebe)-local
config not to expose it to VCS (samdark)yii\web\Request::acceptedLanguages
to acceptableLanguages
(qiangxue)Official extensions released in this version:
Elasticsearch integration: ActiveRecord and Query
Redis integration: ActiveRecord, Cache and Session
Sphinx integration: ActiveRecord and Query