octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Added CHANGELOG and UPGRADE notes
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
parent
7bd694dccb
commit
6144ca8167
octicon-diff(16/tw-mr-1) 2 changed files with 5 additions and 0 deletions
@@ -4,6 +4,7 @@ Yii Framework 2 Change Log
|
|||||||
2.0.14 under development
|
2.0.14 under development
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
- Bug #9342: Fixed `yii\db\ActiveQueryTrait` to apply `indexBy` after relations population in order to prevent excess queries (sammousa, silverfire)
|
||||||
- Enh #13425: Added caching of dynamically added URL rules with `yii\web\UrlManager::addRules()` (scriptcube, silverfire)
|
- Enh #13425: Added caching of dynamically added URL rules with `yii\web\UrlManager::addRules()` (scriptcube, silverfire)
|
||||||
- Bug #15644: Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero (berosoboy)
|
- Bug #15644: Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero (berosoboy)
|
||||||
- Enh #14538: Added `yii\behaviors\AttributeTypecastBehavior::typecastAfterFind` property (littlefuntik, silverfire)
|
- Enh #14538: Added `yii\behaviors\AttributeTypecastBehavior::typecastAfterFind` property (littlefuntik, silverfire)
|
||||||
|
|||||||
@@ -72,6 +72,10 @@ space to customization. In case you rely on that property or override any of def
|
|||||||
special [guide article](http://www.yiiframework.com/doc-2.0/guide-db-query-builder.html#adding-custom-conditions-and-expressions)
|
special [guide article](http://www.yiiframework.com/doc-2.0/guide-db-query-builder.html#adding-custom-conditions-and-expressions)
|
||||||
to update your code.
|
to update your code.
|
||||||
|
|
||||||
|
* Protected method `yii\db\ActiveQueryTrait::createModels()` does not apply indexes as defined in `indexBy` property anymore.
|
||||||
|
In case you override default ActiveQuery implementation and relied on that behavior, call `yii\db\Query::populate()`
|
||||||
|
method instead to index query results according to the `indexBy` parameter.
|
||||||
|
|
||||||
* Log targets (like `yii\log\EmailTarget`) are now throwing `yii\log\LogRuntimeException` in case log can not be properly exported.
|
* Log targets (like `yii\log\EmailTarget`) are now throwing `yii\log\LogRuntimeException` in case log can not be properly exported.
|
||||||
|
|
||||||
Upgrade from Yii 2.0.12
|
Upgrade from Yii 2.0.12
|
||||||
|
|||||||
Reference in New Issue
Block a user