release version 2.0.33

This commit is contained in:
Alexander Makarov
2020-03-24 23:03:06 +03:00
parent 605505b255
commit 70f9ab858b
6 changed files with 24 additions and 20 deletions

View File

@ -93,7 +93,7 @@ class BaseYii
*/ */
public static function getVersion() public static function getVersion()
{ {
return '2.0.33-dev'; return '2.0.33';
} }
/** /**

View File

@ -1,35 +1,36 @@
Yii Framework 2 Change Log Yii Framework 2 Change Log
========================== ==========================
2.0.33 under development 2.0.33 March 24, 2020
------------------------ ---------------------
- Bug #17878: Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()` (dicrtarasov, samdark)
- Enh #17929: Actions can now have bool typed params bound (alex-code)
- Enh #17827: Add `StringValidator::$strict` that can be turned off to allow any scalars (adhayward, samdark)
- Bug #16145: Fix `Html` helper `checkboxList()`, `radioList()`, `renderSelectOptions()`, `dropDownList()`, `listBox()` methods to work properly with traversable selection (samdark)
- Bug #17797: Fix for `activeListInput` options (alex-code)
- Bug #16092: Fix duplicate joins in usage of `joinWith` (germanow)
- Bug #17679: Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string (vinpel, 243083df)
- Bug #17859: Fix loading fixtures under Windows (samdark)
- Bug #11945: Fix Schema Builder MySQL column definition order (simialbi) - Bug #11945: Fix Schema Builder MySQL column definition order (simialbi)
- Bug #17886: Fix `yii\rest\Serializer` to serialize arrays (patacca) - Bug #13749: Fix Yii opens db connection even when hits query cache (shushenghong)
- Bug #16092: Fix duplicate joins in usage of `joinWith` (germanow)
- Bug #16145: Fix `Html` helper `checkboxList()`, `radioList()`, `renderSelectOptions()`, `dropDownList()`, `listBox()` methods to work properly with traversable selection (samdark)
- Bug #16334: Add `\JsonSerializable` support to `ArrayableTrait` (germanow) - Bug #16334: Add `\JsonSerializable` support to `ArrayableTrait` (germanow)
- Bug #17667: Fix `CREATE INDEX` failure on SQLite when specifying schema (santilin, samdark)
- Bug #17679: Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string (vinpel, 243083df)
- Bug #17797: Fix for `activeListInput` options (alex-code)
- Bug #17798: Avoid creating directory for stream log targets in `FileTarget` (wapmorgan) - Bug #17798: Avoid creating directory for stream log targets in `FileTarget` (wapmorgan)
- Bug #17850: Update to `ReplaceArrayValue` config exception message (alex-code)
- Bug #17843: Fix `yii\web\Session::setCookieParamsInternal` checked "samesite" parameter incorrectly (schevgeny)
- Bug #17828: Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string (haveyaseen) - Bug #17828: Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string (haveyaseen)
- Bug #17829: `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels (rhertogh) - Bug #17829: `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels (rhertogh)
- Enh #7622: Allow `yii\data\ArrayDataProvider` to control the sort flags for `sortModels` through `yii\data\Sort::sortFlags` property (askobara) - Bug #17843: Fix `yii\web\Session::setCookieParamsInternal` checked "samesite" parameter incorrectly (schevgeny)
- Bug #17667: Fix `CREATE INDEX` failure on SQLite when specifying schema (santilin, samdark) - Bug #17850: Update to `ReplaceArrayValue` config exception message (alex-code)
- Enh #16721: Use `Instance::ensure()` to initialize `UrlManager::$cache` (rob006) - Bug #17859: Fix loading fixtures under Windows (samdark)
- Bug #17863: `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument (haruatari) - Bug #17863: `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument (haruatari)
- Bug #17881: `yii\db\Query::queryScalar()` wasnt reverting the `select`, `orderBy`, `limit`, and `offset` params if an exception occurred (brandonkelly)
- Bug #17875: Use `move_uploaded_file()` function instead of `copy()` and `unlink()` for saving uploaded files in case of POST request (sup-ham) - Bug #17875: Use `move_uploaded_file()` function instead of `copy()` and `unlink()` for saving uploaded files in case of POST request (sup-ham)
- Bug #17878: Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()` (dicrtarasov, samdark)
- Bug #17881: `yii\db\Query::queryScalar()` wasnt reverting the `select`, `orderBy`, `limit`, and `offset` params if an exception occurred (brandonkelly)
- Bug #17884: Fix 0 values in console Table rendered as empty string (mikehaertl) - Bug #17884: Fix 0 values in console Table rendered as empty string (mikehaertl)
- Bug #13749: Fix Yii opens db connection even when hits query cache (shushenghong) - Bug #17886: Fix `yii\rest\Serializer` to serialize arrays (patacca)
- Bug #17909: Reset DB schema, transaction, and driver name when the connection is closed (brandonkelly) - Bug #17909: Reset DB schema, transaction, and driver name when the connection is closed (brandonkelly)
- Bug #17920: Fix quoting for `Command::getRawSql` having `Expression` in params (alex-code) - Bug #17920: Fix quoting for `Command::getRawSql` having `Expression` in params (alex-code)
- Enh #7622: Allow `yii\data\ArrayDataProvider` to control the sort flags for `sortModels` through `yii\data\Sort::sortFlags` property (askobara)
- Enh #16721: Use `Instance::ensure()` to initialize `UrlManager::$cache` (rob006)
- Enh #17827: Add `StringValidator::$strict` that can be turned off to allow any scalars (adhayward, samdark)
- Enh #17929: Actions can now have bool typed params bound (alex-code)
2.0.32 January 21, 2020 2.0.32 January 21, 2020
----------------------- -----------------------

View File

@ -187,6 +187,7 @@ return [
'yii\db\mysql\QueryBuilder' => YII2_PATH . '/db/mysql/QueryBuilder.php', 'yii\db\mysql\QueryBuilder' => YII2_PATH . '/db/mysql/QueryBuilder.php',
'yii\db\mysql\Schema' => YII2_PATH . '/db/mysql/Schema.php', 'yii\db\mysql\Schema' => YII2_PATH . '/db/mysql/Schema.php',
'yii\db\oci\ColumnSchemaBuilder' => YII2_PATH . '/db/oci/ColumnSchemaBuilder.php', 'yii\db\oci\ColumnSchemaBuilder' => YII2_PATH . '/db/oci/ColumnSchemaBuilder.php',
'yii\db\oci\Command' => YII2_PATH . '/db/oci/Command.php',
'yii\db\oci\QueryBuilder' => YII2_PATH . '/db/oci/QueryBuilder.php', 'yii\db\oci\QueryBuilder' => YII2_PATH . '/db/oci/QueryBuilder.php',
'yii\db\oci\Schema' => YII2_PATH . '/db/oci/Schema.php', 'yii\db\oci\Schema' => YII2_PATH . '/db/oci/Schema.php',
'yii\db\oci\conditions\InConditionBuilder' => YII2_PATH . '/db/oci/conditions/InConditionBuilder.php', 'yii\db\oci\conditions\InConditionBuilder' => YII2_PATH . '/db/oci/conditions/InConditionBuilder.php',

View File

@ -185,7 +185,6 @@ class Sort extends BaseObject
* the `urlManager` application component will be used. * the `urlManager` application component will be used.
*/ */
public $urlManager; public $urlManager;
/** /**
* @var int Allow to control a value of the fourth parameter which will be * @var int Allow to control a value of the fourth parameter which will be
* passed to [[ArrayHelper::multisort()]] * passed to [[ArrayHelper::multisort()]]
@ -193,6 +192,7 @@ class Sort extends BaseObject
*/ */
public $sortFlags = SORT_REGULAR; public $sortFlags = SORT_REGULAR;
/** /**
* Normalizes the [[attributes]] property. * Normalizes the [[attributes]] property.
*/ */

View File

@ -93,6 +93,7 @@ class Command extends Component
* @since 2.0.33 * @since 2.0.33
*/ */
protected $pendingParams = []; protected $pendingParams = [];
/** /**
* @var string the SQL statement that this command represents * @var string the SQL statement that this command represents
*/ */

View File

@ -71,6 +71,7 @@ class StringValidator extends Validator
*/ */
public $strict = true; public $strict = true;
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */