|
1 | 1 | Yii Framework 2 Change Log |
2 | 2 | ========================== |
3 | 3 |
|
4 | | -2.0.44 under development |
| 4 | +2.0.44 December 30, 2021 |
5 | 5 | ------------------------ |
6 | 6 |
|
| 7 | +- Bug #17119: Fix `yii\caching\Cache::multiSet()` to use `yii\caching\Cache::$defaultDuration` when no duration is passed (OscarBarrett) |
| 8 | +- Bug #18646: Remove stale identity data from session if `IdentityInterface::findIdentity()` returns `null` (mikehaertl) |
7 | 9 | - Bug #18660: Fix database migration template does not work with namespaced migrations when migration name does not include namespace (iridance) |
8 | | -- Enh #13105: Add yiiActiveForm `validate_only` property for skipping form auto-submission (ptolomaues) |
9 | | -- Enh #18967: Use proper attribute names for tabular data in `yii\widgets\ActiveField::addAriaAttributes()` (AnkIF) |
10 | 10 | - Bug #18798: Fix `StringHelper::dirname()` when passing string with a trailing slash (perlexed) |
11 | | -- Enh #18328: Raise warning when trying to register a file after `View::endPage()` has been called (perlexed) |
12 | | -- Enh #18812: Add error messages and optimize "error" methods in `yii\helpers\BaseJson` (WinterSilence, samdark) |
13 | | -- Chg #18823: Rollback changes from #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()` (WinterSilence) |
14 | | -- Enh #18826: Add ability to turn the sorting off for a clicked column in GridView with multisort (ditibal) |
15 | | -- Bug #18646: Remove stale identity data from session if `IdentityInterface::findIdentity()` returns `null` (mikehaertl) |
16 | 11 | - Bug #18832: Fix `Inflector::camel2words()` adding extra spaces (brandonkelly) |
17 | | -- Enh #18762: Add `yii\helpers\Json::$keepObjectType` and `yii\web\JsonResponseFormatter::$keepObjectType` in order to avoid changing zero-indexed objects to array in `yii\helpers\Json::encode()` (zebraf1) |
18 | | -- Enh #18783: Add support for URI namespaced tags in `XmlResponseFormatter` (WinterSilence, samdark) |
19 | | -- Enh #18783: Add `XmlResponseFormatter::$objectTagToLowercase` option to lowercase object tags (WinterSilence, samdark) |
20 | | -- Bug #18845: Fix duplicating `id` in `MigrateController::addDefaultPrimaryKey()` (WinterSilence, samdark) |
21 | | -- Bug #17119: Fix `yii\caching\Cache::multiSet()` to use `yii\caching\Cache::$defaultDuration` when no duration is passed (OscarBarrett) |
22 | 12 | - Bug #18842: Fix `yii\base\Controller::bindInjectedParams()` to not throw error when argument of `ReflectionUnionType` type is passed (bizley) |
23 | | -- Enh #18858: Reduce memory usage in `yii\base\View::afterRender` method (LeoOnTheEarth) |
| 13 | +- Bug #18845: Fix duplicating `id` in `MigrateController::addDefaultPrimaryKey()` (WinterSilence, samdark) |
24 | 14 | - Bug #18880: Fix `yii\helpers\ArrayHelper::toArray()` for `DateTime` objects in PHP >= 7.4 (rhertogh) |
25 | 15 | - Bug #18883: Fix `yii\web\HeaderCollection::fromArray()` now ensures lower case keys (rhertogh) |
26 | | -- Enh #18899: Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values` (AlexGx) |
27 | 16 | - Bug #18898: Fix `yii\helpers\Inflector::camel2words()` to work with words ending with 0 (michaelarnauts) |
28 | | -- Enh #18904: Improve Captcha client-side validation (hexkir) |
29 | | -- Bug #18913: Add filename validation for `MessageSource::getMessageFilePath()` (uaoleg) |
30 | 17 | - Bug #18909: Fix bug with binding default action parameters for controllers (bizley) |
| 18 | +- Bug #18913: Add filename validation for `MessageSource::getMessageFilePath()` (uaoleg) |
31 | 19 | - Bug #18955: Check `yiisoft/yii2-swiftmailer` before using as default mailer in `yii\base\Application` (WinterSilence) |
32 | 20 | - Bug #18988: Fix default value of `yii\console\controllers\MessageController::$translator` (WinterSilence) |
33 | | -- Enh #19005: Add `yii\base\Module::setControllerPath()` (WinterSilence) |
34 | 21 | - Bug #18993: Load defaults by `attributes()` in `yii\db\ActiveRecord::loadDefaultValues()` (WinterSilence) |
35 | 22 | - Bug #19021: Fix return type in PhpDoc `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()` (WinterSilence, rhertogh) |
36 | | -- Bug #19031: Fix displaying console help for parameters with declared types (WinterSilence) |
37 | 23 | - Bug #19030: Add DI container usage to `yii\base\Widget::end()` (papppeter) |
| 24 | +- Bug #19031: Fix displaying console help for parameters with declared types (WinterSilence) |
38 | 25 | - Bug #19096: Fix `Request::getIsConsoleRequest()` may return erroneously when testing a Web application in Codeception (WinterSilence) |
| 26 | +- Enh #13105: Add yiiActiveForm `validate_only` property for skipping form auto-submission (ptolomaues) |
| 27 | +- Enh #18328: Raise warning when trying to register a file after `View::endPage()` has been called (perlexed) |
| 28 | +- Enh #18762: Add `yii\helpers\Json::$keepObjectType` and `yii\web\JsonResponseFormatter::$keepObjectType` in order to avoid changing zero-indexed objects to array in `yii\helpers\Json::encode()` (zebraf1) |
| 29 | +- Enh #18783: Add support for URI namespaced tags in `XmlResponseFormatter` (WinterSilence, samdark) |
| 30 | +- Enh #18783: Add `XmlResponseFormatter::$objectTagToLowercase` option to lowercase object tags (WinterSilence, samdark) |
| 31 | +- Enh #18812: Add error messages and optimize "error" methods in `yii\helpers\BaseJson` (WinterSilence, samdark) |
| 32 | +- Enh #18826: Add ability to turn the sorting off for a clicked column in GridView with multisort (ditibal) |
| 33 | +- Enh #18858: Reduce memory usage in `yii\base\View::afterRender` method (LeoOnTheEarth) |
| 34 | +- Enh #18899: Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values` (AlexGx) |
| 35 | +- Enh #18904: Improve Captcha client-side validation (hexkir) |
| 36 | +- Enh #18967: Use proper attribute names for tabular data in `yii\widgets\ActiveField::addAriaAttributes()` (AnkIF) |
| 37 | +- Enh #19005: Add `yii\base\Module::setControllerPath()` (WinterSilence) |
39 | 38 | - Enh #19098: Add `yii\helper\BaseHtml::$normalizeClassAttribute` to fix duplicate classes (WinterSilence) |
40 | 39 | - Enh #19108: Optimize `Component::hasEventHandlers()` and `Component::trigger()` (WinterSilence) |
| 40 | +- Chg #18823: Rollback changes from #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()` (WinterSilence) |
41 | 41 |
|
42 | 42 |
|
43 | 43 | 2.0.43 August 09, 2021 |
|
0 commit comments