|
1 | 1 | Yii Framework 2 Change Log
|
2 | 2 | ==========================
|
3 | 3 |
|
4 |
| -2.0.48 under development |
5 |
| ------------------------- |
| 4 | +2.0.48 May 22, 2023 |
| 5 | +------------------- |
6 | 6 |
|
7 |
| -- Bug #19749: Add PHP 8.2 support (samdark, schmunk42, aldok10, DanaLuther) |
8 |
| -- Bug #19743: Non-associative array values in AR weren't considered dirty when reordered (samdark) |
9 |
| -- Bug #19807: Fix REST serializer not using `serializeModel()` when working with an array of models (zucha) |
10 |
| -- Enh #19766: Add support for PHP generators to JSON helper (vladis84) |
11 |
| -- Bug #19683: Updated `framework\mimeType.php` to the actual value. Fix typo in `build/controllers/MimeTypeController.php` (DeryabinSergey) |
12 |
| -- Bug #19705: Add binary and other data types to `$typeMap` list for MySQL (sohelahmed7) |
13 |
| -- Enh #19741: Added option to use a closure for `$variations` definition in `yii\filters\PageCache` (nadar) |
14 | 7 | - Bug #15376: Added $userId for RBAC roles cache (manchenkoff)
|
| 8 | +- Bug #17194: Fix unnecessary SQL updates in the database on attributes typecast via `yii\behaviors\AttributeTypecastBehavior` (aivchen) |
15 | 9 | - Bug #18867: Fixed multiple issues with `yii\grid\CheckboxColumn`: "check all" checkbox not being checked on page load when all data row checkboxes are initially checked; clicking checkboxes triggered "change" event for other checkboxes that do not change their state; "check all" checkbox not being checked when disabled checkboxes are present and clicking last non-checked data row checkbox (PowerGamer1)
|
16 | 10 | - Bug #19635: PHP 8.2 compatibility fix for `yii\validators\DateValidator` (PowerGamer1)
|
17 |
| -- Bug #17194: Fix unnecessary SQL updates in the database on attributes typecast via `yii\behaviors\AttributeTypecastBehavior` (aivchen) |
| 11 | +- Bug #19683: Updated `framework\mimeType.php` to the actual value. Fix typo in `build/controllers/MimeTypeController.php` (DeryabinSergey) |
18 | 12 | - Bug #19693: Fix db/Command not caching `NULL` result with scalar fetchMode (Arkeins)
|
19 |
| -- Enh #15376: Added cache usage for `yii\rbac\DbManager::getRolesByUser()` (manchenkoff) |
20 |
| -- Enh #9740: Usage of DI instead of new keyword in Schemas (manchenkoff) |
21 |
| -- Enh #19689: Remove empty elements from the `class` array in `yii\helpers\BaseHtml::renderTagAttributes()` to prevent unwanted spaces (MoritzLost) |
22 |
| -- Chg #19696: Change visibility of `yii\web\View::isPageEnded` to `protected` (lubosdz, samdark) |
| 13 | +- Bug #19705: Add binary and other data types to `$typeMap` list for MySQL (sohelahmed7) |
23 | 14 | - Bug #19712: Cast shell_exec() output to string for jsCompressor (impayru)
|
24 |
| -- Bug #19734: PHP 8.1 compatibility fix for `$query->orderBy(null)` (uaoleg) |
| 15 | +- Bug #19720: Fix "zh-HK" locale causing [error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category 'yii' doesn't exist (uaoleg) |
25 | 16 | - Bug #19731: Fix `yii\data\Sort` to generate a proper link when multisort is on and attribute has a default sort order set (bizley)
|
| 17 | +- Bug #19734: PHP 8.1 compatibility fix for `$query->orderBy(null)` (uaoleg) |
26 | 18 | - Bug #19735: Fix `yii\validators\NumberValidator` to use a programmable message for the value validation (bizley)
|
| 19 | +- Bug #19736: Fix `StringHelper::truncate(null, 10)` causes error `Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated` (uaoleg) |
| 20 | +- Bug #19743: Non-associative array values in AR weren't considered dirty when reordered (samdark) |
| 21 | +- Bug #19749: Add PHP 8.2 support (samdark, schmunk42, aldok10, DanaLuther) |
27 | 22 | - Bug #19770: Fix `yii\mutex\MysqlMutex` `keyPrefix` expression param binding (kamarton)
|
28 |
| -- Enh #19794: Add caching in `yii\web\Request` for `getUserIP()` and `getSecureForwardedHeaderTrustedParts()` (rhertogh) |
29 | 23 | - Bug #19795: Fix `yii\web\Response::redirect()` to prevent setting headers with URL containing new line character (bizley)
|
30 |
| -- Enh #19804: Remove the unnecessary call to `$this->oldAttributes` in `BaseActiveRecord::getDirtyAttributes()` (thiagotalma) |
| 24 | +- Bug #19807: Fix REST serializer not using `serializeModel()` when working with an array of models (zucha) |
31 | 25 | - Bug #19813: Fix `yii\base\DynamicModel` validation with validators that reference missing attributes (michaelarnauts)
|
32 |
| -- Enh #19816: Explicitly pass `$fallbackToMaster` as `true` to `getSlavePdo()` to ensure it isn't affected by child class with changed defaults (developedsoftware) |
33 | 26 | - Bug #19828: Fix "strtr(): Passing null to parameter #1 ($string) of type string is deprecated" (uaoleg)
|
34 |
| -- Bug #19720: Fix "zh-HK" locale causing [error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category 'yii' doesn't exist (uaoleg) |
35 |
| -- Bug #19736: Fix `StringHelper::truncate(null, 10)` causes error `Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated` (uaoleg) |
36 |
| -- Enh #19838: Added `yii\helpers\BaseFileHelper::getExtensionByMimeType()` to get the most common extension for a given MIME type (rhertogh) |
37 | 27 | - Bug #19837: Fixed processing of numeric file extensions in `yii\build\controllers\MimeTypeController::generateMimeTypesFile()` (rhertogh)
|
| 28 | +- Enh #9740: Usage of DI instead of new keyword in Schemas (manchenkoff) |
| 29 | +- Enh #15376: Added cache usage for `yii\rbac\DbManager::getRolesByUser()` (manchenkoff) |
| 30 | +- Enh #19689: Remove empty elements from the `class` array in `yii\helpers\BaseHtml::renderTagAttributes()` to prevent unwanted spaces (MoritzLost) |
| 31 | +- Enh #19741: Added option to use a closure for `$variations` definition in `yii\filters\PageCache` (nadar) |
| 32 | +- Enh #19766: Add support for PHP generators to JSON helper (vladis84) |
| 33 | +- Enh #19794: Add caching in `yii\web\Request` for `getUserIP()` and `getSecureForwardedHeaderTrustedParts()` (rhertogh) |
| 34 | +- Enh #19804: Remove the unnecessary call to `$this->oldAttributes` in `BaseActiveRecord::getDirtyAttributes()` (thiagotalma) |
| 35 | +- Enh #19816: Explicitly pass `$fallbackToMaster` as `true` to `getSlavePdo()` to ensure it isn't affected by child class with changed defaults (developedsoftware) |
| 36 | +- Enh #19838: Added `yii\helpers\BaseFileHelper::getExtensionByMimeType()` to get the most common extension for a given MIME type (rhertogh) |
| 37 | +- Chg #19696: Change visibility of `yii\web\View::isPageEnded` to `protected` (lubosdz, samdark) |
| 38 | + |
38 | 39 |
|
39 | 40 | 2.0.47 November 18, 2022
|
40 | 41 | ------------------------
|
|
0 commit comments