From f5f98ff4df0e71f020151df52d9a83cc2439f82a Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 23 Nov 2025 15:55:55 +0300 Subject: [PATCH] Minor changelog fixes --- framework/CHANGELOG.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index eb8b731e94..4a1f9c27b6 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -8,8 +8,8 @@ Yii Framework 2 Change Log - Bug #20483: Fix `CompositeAuth` making bad assumptions on `AuthInterface` implementations (sammousa) - Bug #20432: Fix PHPStan/Psalm annotations for `ActiveQuery::asArray` (mspirkov) - Bug #20437: Fix PHPStan/Psalm annotations for `BaseArrayHelper::merge` (mspirkov) -- Enh #20434: Added PHPStan/Psalm annotations for `hasMany` and `hasOne` methods (mspirkov) -- Enh #20433: Added PHPStan/Psalm annotations for some controllers methods: `beforeAction`, `afterAction` and `bindActionParams` (mspirkov) +- Enh #20434: Add PHPStan/Psalm annotations for `hasMany` and `hasOne` methods (mspirkov) +- Enh #20433: Add PHPStan/Psalm annotations for some controllers methods: `beforeAction`, `afterAction` and `bindActionParams` (mspirkov) - Enh #20442: Add PHPStan/Psalm annotations for `yii\base\Controller` methods: `runAction`, `run`, `render`, `renderPartial` and `renderFile` (mspirkov) - Bug #20453: Fix PHPStan/Psalm types in `yii\web\View` (mspirkov) - Enh #20461: Add PHPStan/Psalm annotations for `yii\filters\auth\AuthInterface` (mspirkov) @@ -89,15 +89,15 @@ Yii Framework 2 Change Log 2.0.53 June 27, 2025 -------------------- -- Bug #8298: Loading fixtures does not update table sequence for Postgresql database (mtangoo) -- Bug #20329: pgsql: Column Schema doesn't recognize PG type cast (arkhamvm) +- Bug #8298: Loading fixtures does not update table sequence for PostgreSQL database (mtangoo) +- Bug #20329: pgsql: ColumnSchema doesn't recognize PG type cast (arkhamvm) - Bug #20347: Fix compatibility with PHP 8.4: remove usage of `session.use_trans_sid` and `session.use_only_cookies` (tehmaestro) - Bug #20348: `ErrorHandler::convertExceptionToError()` Passing `E_USER_ERROR` to `trigger_error()` is deprecated since PHP `8.4` (terabytesoftw) - Bug #20351: Fix behavior for `yii\web\Controller::bindActionParams` around union types (chriscpty) - Bug #20355: Fix SQL syntax for resetting sequence in `QueryBuilder` for `MSSQL` (terabytesoftw) - Bug #20371: Fix "Typed property must not be accessed before initialization" when calling `toArray()` on a model with typed properties without default value (uaoleg) - Bug #20373: Fixed the type of the first parameter `yii\base\Controller::bindInjectedParams()` (mspirkov) -- Bug #20387: Fixed the command generated to use router.php file in php built-in server (eseperio) +- Bug #20387: Fixed the generated command to use the router.php file in the PHP built-in server (eseperio) - Bug #20423: `strcmp()` Passing `null` to parameter `2` ($string2) of type string is deprecated (terabytesoftw) - Enh #20309: Add custom attributes support to style tags (nzwz) - Enh #20354: Add PHPStan/Psalm annotations for `Container` and `Instance` (mspirkov) @@ -111,7 +111,7 @@ Yii Framework 2 Change Log - Enh #20397: Add PHPStan/Psalm annotations for `ArrayHelper::merge` (samuelrajan747) - Enh #20400: Add PHPStan/Psalm annotations for `yii\web\User` (samuelrajan747) - Enh #20413: Add PHPStan/Psalm annotations for `Action`, `ActionEvent`, `Application`, `DynamicModel` and `InlineAction` (mspirkov) -- Enh #20416: Add `PHPStan`/`PSalm` annotation for `owner` property in `Behavior` class (terabytesoftw) +- Enh #20416: Add `PHPStan`/`Psalm` annotation for `owner` property in `Behavior` class (terabytesoftw) - Enh #20426: Add `PHPStan`/`Psalm` annotation for `controller` property in `Action` class (terabytesoftw) - Enh #20430: Update PHPStan/Psalm annotations for `ArrayHelper::merge` to handle array-key (samuelrajan747) @@ -136,14 +136,14 @@ Yii Framework 2 Change Log - Enh #20267: Fixed called class check in `Widget::end()` when widget configured using callable (rob006, jrajamaki) - Enh #20268: Minor optimisation in `\yii\helpers\BaseArrayHelper::map` (chriscpty) - Enh #20273: Remove unnecessary `paragonie/random_compat` dependency (timwolla) -- Enh #20279: Add to the `\yii\web\Request` `csrfHeader` property to configure a custom HTTP header for CSRF validation (olegbaturin) +- Enh #20279: Add to the `\yii\web\Request` `csrfHeader` property to configure a custom HTTP header for CSRF validation (olegbaturin) - Enh #20279: Add to the `\yii\web\Request` `csrfTokenSafeMethods` property to configure a custom safe HTTP methods list (olegbaturin) - Enh #20295: Add an ability to have wildcards in `yii\log\Target::$maskVars` array (xcopy) - Enh #20306: Add new `yii\helpers\ArrayHelper::flatten()` method (xcopy) -- Chg #20276: Removed autogenerated migration phpdoc (userator) +- Chg #20276: Removed autogenerated migration PHPDoc (userator) - New #20185: Add `BackedEnum` support to `AttributeTypecastBehavior` (briedis) - New #20279: Add to the `\yii\web\Request` CSRF validation by custom HTTP header (olegbaturin) -- New #20332: Added support for the '__class' key in `\yii\di\Instance:eunsure(['__class' => ...])` (LAV45) +- New #20332: Added support for the '__class' key in `\yii\di\Instance::ensure(['__class' => ...])` (LAV45) 2.0.51 July 18, 2024 @@ -152,7 +152,7 @@ Yii Framework 2 Change Log - Bug #16116: Codeception: oci does not support enabling/disabling integrity check (@terabytesoftw) - Bug #20147: Fix error handler compatibility with PHP 8.3 (samdark) - Bug #20191: Fix `ActiveRecord::getDirtyAttributes()` for JSON columns with multi-dimensional array values (brandonkelly) -- Bug #20195: Do not set non abstract values into `ColumnSchema->type` on MSSQL version less then 2017 (axeltomasson) +- Bug #20195: Do not set non-abstract values into `ColumnSchema->type` on MSSQL version less than 2017 (axeltomasson) - Bug #20211: Add acceptable parameters to `MaskedInput::init()` method (alxlnk) - Bug #20226: Revert all PR for "Data providers perform unnecessary COUNT queries that negatively affect performance" (@terabytesoftw) - Bug #20230: Fix getting ID in `\yii\filters\Cors::actions()` when attached to a module (timkelty)