|
1 | 1 | Yii Framework 2 Change Log |
2 | 2 | ========================== |
3 | 3 |
|
4 | | -2.0.46 under development |
5 | | ------------------------- |
| 4 | +2.0.46 August 18, 2022 |
| 5 | +---------------------- |
6 | 6 |
|
7 | | -- Bug #19467: Revert changes in `Inflector::camel2words()` introduced in #19204 (samdark) |
8 | | -- Bug #19471: Enable console commands on hosting with disabled `exec()` function (WinterSilence, lubosdz) |
9 | | -- Bug #19469: Fix a virtual relation not working because of new isset checks in `\yii\db\ActiveRelationTrait` (wvanheumen) |
10 | | -- Bug #19380: Fix PHP 8.1 passing non string to trim() in `yii\db\Query` (wa1kb0y) |
11 | | -- Bug #19272: Fix bug in dirty attributes check on multidimensional array (speedplli) |
12 | | -- Bug #19349: Fix PHP 8.1 error when attribute and label of `yii\grid\DataColumn` are empty (githubjeka) |
13 | | -- Bug #19243: Handle `finfo_open` for tar.xz as `application/octet-stream` on PHP 8.1 (longthanhtran) |
14 | 7 | - Bug #19235: Fix return type compatibility of `yii\web\SessionIterator` class methods for PHP 8.1 (virtual-designer) |
| 8 | +- Bug #19237: Fix OCI PHP 8.1 passing `null` to trim() (longthanhtran) |
| 9 | +- Bug #19243: Handle `finfo_open` for tar.xz as `application/octet-stream` on PHP 8.1 (longthanhtran) |
15 | 10 | - Bug #19256: Pass missed `$view` to user's callback in `yii\validators\InlineValidator::clientValidateAttribute()` (WinterSilence) |
16 | | -- Enh #19270: Replace deprecated `scss` converter in `yii\web\AssetConverter::$commands` (WinterSilence) |
17 | | -- Enh #19254: Support specifying custom characters for `yii.validation.trim()` and replace deprecated `jQuery.trim()` (WinterSilence) |
| 11 | +- Bug #19259: Fix `yii\log\FileTarget` locking and always rotate files only by copy (bizley, mikehaertl) |
| 12 | +- Bug #19272: Fix bug in dirty attributes check on multidimensional array (speedplli) |
18 | 13 | - Bug #19291: Reset errors and validators in `yii\base\Model::__clone()` (WinterSilence) |
19 | | -- Enh #19295: Add alias `text/rtf` for mime-type `application/rtf` (lesha724) |
20 | | -- Enh #19308: Add `yii\web\UploadedFile::$fullPath` represents 'full_path' key added in PHP 8.1 (WinterSilence) |
21 | 14 | - Bug #19303: Fix serialization in `yii\caching\Dependency::generateReusableHash()` (WinterSilence) |
22 | | -- Enh #19304: Add filtering validator `yii\validators\TrimValidator` (WinterSilence) |
23 | | -- Enh #19309: Optimize `yii\base\Model::attributes()` (WinterSilence) |
| 15 | +- Bug #19312: Fix PHP 8.1 error when passing null to `yii\helpers\BaseInflector` (WinterSilence) |
24 | 16 | - Bug #19322: Revert force setting value to empty string in case it's `null` in `yii\validators\FilterValidator::validateAttribute()` (bizley) |
25 | 17 | - Bug #19324: Fix `yii\helpers\BaseHtml::renderSelectOptions()` giving wrong selection for boolean attributes (adnandautovic) |
26 | | -- Bug #19329: Fix `yii\web\GroupUrlRule` to properly normalize prefix (bizley) |
27 | 18 | - Bug #19328: Passing null to parameter #1 ($string) of type string is deprecated in `yii\db\oci\Schema` (Arkeins) |
28 | | -- Enh #19318: Add support for typecasting PHP 8.1 enums (EtienneBruines) |
29 | | -- Bug #19237: Fix OCI PHP 8.1 passing `null` to trim() (longthanhtran) |
30 | | -- Bug #19312: Fix PHP 8.1 error when passing null to `yii\helpers\BaseInflector` (WinterSilence) |
| 19 | +- Bug #19329: Fix `yii\web\GroupUrlRule` to properly normalize prefix (bizley) |
| 20 | +- Bug #19349: Fix PHP 8.1 error when attribute and label of `yii\grid\DataColumn` are empty (githubjeka) |
31 | 21 | - Bug #19368: Fix PHP 8.1 error when `$fileMimeType` is `null` in `yii\validators\FileValidator::validateMimeType()` (bizley) |
32 | | -- Enh #19384: Normalize `setBodyParams()` and `getBodyParam()` in `yii\web\Request` (WinterSilence, albertborsos) |
| 22 | +- Bug #19380: Fix PHP 8.1 passing non string to trim() in `yii\db\Query` (wa1kb0y) |
33 | 23 | - Bug #19386: Fix recursive calling `yii\helpers\BaseArrayHelper::htmlDecode()` (WinterSilence) |
34 | | -- Bug #19407: Fix `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` to respect `skipOnError` option for target attributes (bizley) |
35 | | -- Bug #19418: Fix `yii\filters\auth\CompositeAuth` ignoring `only` and `except` options (lesha724) |
36 | | -- Enh #19401: Delay `exit(1)` in `yii\base\ErrorHandler::handleFatalError` (arrilot) |
| 24 | +- Bug #19400: Fix passing null in `yii\web\Response::redirect()` (bizley) |
37 | 25 | - Bug #19402: Add shutdown event and fix working directory in `yii\base\ErrorHandler` (WinterSilence) |
38 | | -- Enh #19416: Update and improve configurations for `yii\console\controllers\MessageController` (WinterSilence) |
39 | 26 | - Bug #19403: Fix types in `yii\web\SessionIterator` (WinterSilence) |
40 | | -- Enh #19420: Update list of JS callbacks in `yii\widgets\MaskedInput` (WinterSilence) |
41 | | -- Bug #19400: Fix passing null in `yii\web\Response::redirect()` (bizley) |
42 | | -- Enh #19437: Add support to specify request port by trusted proxies in `\yii\web\Request::getServerPort()` (rhertogh) |
| 27 | +- Bug #19407: Fix `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` to respect `skipOnError` option for target attributes (bizley) |
| 28 | +- Bug #19418: Fix `yii\filters\auth\CompositeAuth` ignoring `only` and `except` options (lesha724) |
43 | 29 | - Bug #19445: Fix caching in `yii\i18n\Formatter::getUnitMessage()` (WinterSilence) |
44 | 30 | - Bug #19454: Fix PDO exception code not properly passed to `yii\db\Exception` (Roguyt) |
| 31 | +- Bug #19462: Fix validator client options to encode HTML tags (bizley) |
| 32 | +- Bug #19467: Revert changes in `Inflector::camel2words()` introduced in #19204 (samdark) |
| 33 | +- Bug #19469: Fix a virtual relation not working because of new isset checks in `\yii\db\ActiveRelationTrait` (wvanheumen) |
| 34 | +- Bug #19471: Enable console commands on hosting with disabled `exec()` function (WinterSilence, lubosdz) |
45 | 35 | - Bug #19477: Cast shell_exec() output to string (schmunk42) |
46 | 36 | - Bug #19481: Exception is always empty in ErrorHandler when handling fatal error (Renkas) |
47 | | -- Bug #19462: Fix validator client options to encode HTML tags (bizley) |
48 | | -- Bug #19259: Fix `yii\log\FileTarget` locking and always rotate files only by copy (bizley, mikehaertl) |
| 37 | +- Enh #19254: Support specifying custom characters for `yii.validation.trim()` and replace deprecated `jQuery.trim()` (WinterSilence) |
| 38 | +- Enh #19270: Replace deprecated `scss` converter in `yii\web\AssetConverter::$commands` (WinterSilence) |
| 39 | +- Enh #19295: Add alias `text/rtf` for mime-type `application/rtf` (lesha724) |
| 40 | +- Enh #19304: Add filtering validator `yii\validators\TrimValidator` (WinterSilence) |
| 41 | +- Enh #19308: Add `yii\web\UploadedFile::$fullPath` represents 'full_path' key added in PHP 8.1 (WinterSilence) |
| 42 | +- Enh #19309: Optimize `yii\base\Model::attributes()` (WinterSilence) |
| 43 | +- Enh #19318: Add support for typecasting PHP 8.1 enums (EtienneBruines) |
| 44 | +- Enh #19384: Normalize `setBodyParams()` and `getBodyParam()` in `yii\web\Request` (WinterSilence, albertborsos) |
| 45 | +- Enh #19401: Delay `exit(1)` in `yii\base\ErrorHandler::handleFatalError` (arrilot) |
| 46 | +- Enh #19416: Update and improve configurations for `yii\console\controllers\MessageController` (WinterSilence) |
| 47 | +- Enh #19420: Update list of JS callbacks in `yii\widgets\MaskedInput` (WinterSilence) |
| 48 | +- Enh #19437: Add support to specify request port by trusted proxies in `\yii\web\Request::getServerPort()` (rhertogh) |
| 49 | + |
49 | 50 |
|
50 | 51 | 2.0.45 February 11, 2022 |
51 | 52 | ------------------------ |
|
0 commit comments