From 540a9011af08ab9843a50e4d14141724a4610b9b Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Mon, 9 Aug 2021 20:38:43 +0300 Subject: [PATCH] release version 2.0.43 --- framework/BaseYii.php | 2 +- framework/CHANGELOG.md | 26 +++++++++++++------------- framework/db/ColumnSchemaBuilder.php | 4 +--- framework/web/User.php | 2 +- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/framework/BaseYii.php b/framework/BaseYii.php index 6a69773fdb1..4a5302a0fa0 100644 --- a/framework/BaseYii.php +++ b/framework/BaseYii.php @@ -93,7 +93,7 @@ class BaseYii */ public static function getVersion() { - return '2.0.43-dev'; + return '2.0.43'; } /** diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 5d11942148b..eaf515e26df 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -1,32 +1,32 @@ Yii Framework 2 Change Log ========================== -2.0.43 under development ------------------------- +2.0.43 August 09, 2021 +---------------------- -- Enh #18817: Use `paragonie/random_compat` for random bytes and int generation (samdark) - Bug #14663: Do not convert int to string if database type of column is numeric (egorrishe) +- Bug #18274: Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval (bizley) +- Bug #18648: Fix `yii\web\Request` to properly handle HTTP Basic Auth headers (olegbaturin) - Bug #18650: Refactor `framework/assets/yii.activeForm.js` arrow function into traditional function for IE11 compatibility (marcovtwout) +- Bug #18678: Fix `yii\caching\DbCache` to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection (aidanbek) - Bug #18749: Fix `yii\web\ErrorHandler::encodeHtml()` to support strings with invalid UTF symbols (vjik) -- Enh #18724: Allow jQuery 3.6 to be installed (marcovtwout) +- Bug #18756: Fix `\yii\validators\ExistValidator::queryValueExists` to validate against an array of unique values (DrDeath72) +- Bug #18807: Fix replacing source whitespaces and optimize code of `yii\helpers\BaseStringHelper::mb_ucwords()` (WinterSilence) +- Enh #18274: Add `profilingAware` option to `yii\log\Logger` to prevent breaking the profiling block messages pair when flushing them (bizley) - Enh #18628: Add strings "software", and "hardware" to `$specials` array in `yii\helpers\BaseInflector` (kjusupov) - Enh #18653: Add method `yii\helpers\BaseHtml::getInputIdByName()` (WinterSilence) +- Enh #18656: Add ability for `yii serve`'s `--router` param to take an alias (markhuot) - Enh #18669: Change visibility of `yii\web\User::checkRedirectAcceptable()` to `public` (rhertogh) +- Enh #18674: Add more user-friendly exception messages for `yii\i18n\Formatter` (bizley) - Enh #18676: Add method `yii\helpers\BaseFileHelper::changeOwnership()` and `newFileMode`/`newFileOwnership` properties to `yii\console\controllers\BaseMigrateController` (rhertogh) -- Bug #18678: Fix `yii\caching\DbCache` to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection (aidanbek) - Enh #18695: Add `yii\web\Cookie::SAME_SITE_NONE` constant (rhertogh) -- Enh #18712: Add `scheme` option for `$options` argument for `yii\i18n\Formatter::asUrl()` (bizley) - Enh #18707: Change the base error handler to not expose `$_SERVER` details unless `YII_DEBUG` is enabled (coolgoose) -- Bug #18648: Fix `yii\web\Request` to properly handle HTTP Basic Auth headers (olegbaturin) +- Enh #18712: Add `scheme` option for `$options` argument for `yii\i18n\Formatter::asUrl()` (bizley) +- Enh #18724: Allow jQuery 3.6 to be installed (marcovtwout) - Enh #18726: Add `yii\helpers\Json::$prettyPrint` (rhertogh) - Enh #18734: Add `yii\validators\EmailValidator::$enableLocalIDN` (brandonkelly) -- Bug #18756: Fix `\yii\validators\ExistValidator::queryValueExists` to validate against an array of unique values (DrDeath72) -- Enh #18656: Add ability for `yii serve`'s `--router` param to take an alias (markhuot) -- Enh #18274: Add `profilingAware` option to `yii\log\Logger` to prevent breaking the profiling block messages pair when flushing them (bizley) - Enh #18789: Add JSONP support in `yii\web\JsonParser::parse()` (WinterSilence) -- Bug #18274: Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval (bizley) -- Bug #18807: Fix replacing source whitespaces and optimize code of `yii\helpers\BaseStringHelper::mb_ucwords()` (WinterSilence) -- Enh #18674: Add more user-friendly exception messages for `yii\i18n\Formatter` (bizley) +- Enh #18817: Use `paragonie/random_compat` for random bytes and int generation (samdark) 2.0.42.1 May 06, 2021 diff --git a/framework/db/ColumnSchemaBuilder.php b/framework/db/ColumnSchemaBuilder.php index 23e18de91bf..b9616148da2 100644 --- a/framework/db/ColumnSchemaBuilder.php +++ b/framework/db/ColumnSchemaBuilder.php @@ -16,7 +16,7 @@ * * See [[SchemaBuilderTrait]] for more detailed description and usage examples. * - * @property array $categoryMap mapping of abstract column types (keys) to type categories (values). (since version 2.0.8) + * @property array $categoryMap Mapping of abstract column types (keys) to type categories (values). * * @author Vasenin Matvey * @since 2.0.6 @@ -108,8 +108,6 @@ class ColumnSchemaBuilder extends BaseObject Schema::TYPE_BOOLEAN => self::CATEGORY_NUMERIC, Schema::TYPE_MONEY => self::CATEGORY_NUMERIC, ]; - - /** * @var \yii\db\Connection the current database connection. It is used mainly to escape strings * safely when building the final column schema string. diff --git a/framework/web/User.php b/framework/web/User.php index e586eb366e4..1aa791b6f67 100644 --- a/framework/web/User.php +++ b/framework/web/User.php @@ -99,7 +99,7 @@ class User extends Component */ public $identityCookie = ['name' => '_identity', 'httpOnly' => true]; /** - * @var int the number of seconds in which the user will be logged out automatically if the user + * @var int the number of seconds in which the user will be logged out automatically if the user * remains inactive. If this property is not set, the user will be logged out after * the current session expires (c.f. [[Session::timeout]]). * Note that this will not work if [[enableAutoLogin]] is `true`.