Skip to content

Commit 70f9ab8

Browse files
committed
release version 2.0.33
1 parent 605505b commit 70f9ab8

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

Diff for: framework/BaseYii.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class BaseYii
9393
*/
9494
public static function getVersion()
9595
{
96-
return '2.0.33-dev';
96+
return '2.0.33';
9797
}
9898

9999
/**

Diff for: framework/CHANGELOG.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
11
Yii Framework 2 Change Log
22
==========================
33

4-
2.0.33 under development
5-
------------------------
4+
2.0.33 March 24, 2020
5+
---------------------
66

7-
- Bug #17878: Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()` (dicrtarasov, samdark)
8-
- Enh #17929: Actions can now have bool typed params bound (alex-code)
9-
- Enh #17827: Add `StringValidator::$strict` that can be turned off to allow any scalars (adhayward, samdark)
10-
- Bug #16145: Fix `Html` helper `checkboxList()`, `radioList()`, `renderSelectOptions()`, `dropDownList()`, `listBox()` methods to work properly with traversable selection (samdark)
11-
- Bug #17797: Fix for `activeListInput` options (alex-code)
12-
- Bug #16092: Fix duplicate joins in usage of `joinWith` (germanow)
13-
- 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)
14-
- Bug #17859: Fix loading fixtures under Windows (samdark)
157
- Bug #11945: Fix Schema Builder MySQL column definition order (simialbi)
16-
- Bug #17886: Fix `yii\rest\Serializer` to serialize arrays (patacca)
8+
- Bug #13749: Fix Yii opens db connection even when hits query cache (shushenghong)
9+
- Bug #16092: Fix duplicate joins in usage of `joinWith` (germanow)
10+
- Bug #16145: Fix `Html` helper `checkboxList()`, `radioList()`, `renderSelectOptions()`, `dropDownList()`, `listBox()` methods to work properly with traversable selection (samdark)
1711
- Bug #16334: Add `\JsonSerializable` support to `ArrayableTrait` (germanow)
12+
- Bug #17667: Fix `CREATE INDEX` failure on SQLite when specifying schema (santilin, samdark)
13+
- 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)
14+
- Bug #17797: Fix for `activeListInput` options (alex-code)
1815
- Bug #17798: Avoid creating directory for stream log targets in `FileTarget` (wapmorgan)
19-
- Bug #17850: Update to `ReplaceArrayValue` config exception message (alex-code)
20-
- Bug #17843: Fix `yii\web\Session::setCookieParamsInternal` checked "samesite" parameter incorrectly (schevgeny)
2116
- Bug #17828: Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string (haveyaseen)
2217
- Bug #17829: `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels (rhertogh)
23-
- Enh #7622: Allow `yii\data\ArrayDataProvider` to control the sort flags for `sortModels` through `yii\data\Sort::sortFlags` property (askobara)
24-
- Bug #17667: Fix `CREATE INDEX` failure on SQLite when specifying schema (santilin, samdark)
25-
- Enh #16721: Use `Instance::ensure()` to initialize `UrlManager::$cache` (rob006)
18+
- Bug #17843: Fix `yii\web\Session::setCookieParamsInternal` checked "samesite" parameter incorrectly (schevgeny)
19+
- Bug #17850: Update to `ReplaceArrayValue` config exception message (alex-code)
20+
- Bug #17859: Fix loading fixtures under Windows (samdark)
2621
- Bug #17863: `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument (haruatari)
27-
- Bug #17881: `yii\db\Query::queryScalar()` wasn’t reverting the `select`, `orderBy`, `limit`, and `offset` params if an exception occurred (brandonkelly)
2822
- Bug #17875: Use `move_uploaded_file()` function instead of `copy()` and `unlink()` for saving uploaded files in case of POST request (sup-ham)
23+
- Bug #17878: Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()` (dicrtarasov, samdark)
24+
- Bug #17881: `yii\db\Query::queryScalar()` wasn’t reverting the `select`, `orderBy`, `limit`, and `offset` params if an exception occurred (brandonkelly)
2925
- Bug #17884: Fix 0 values in console Table rendered as empty string (mikehaertl)
30-
- Bug #13749: Fix Yii opens db connection even when hits query cache (shushenghong)
26+
- Bug #17886: Fix `yii\rest\Serializer` to serialize arrays (patacca)
3127
- Bug #17909: Reset DB schema, transaction, and driver name when the connection is closed (brandonkelly)
3228
- Bug #17920: Fix quoting for `Command::getRawSql` having `Expression` in params (alex-code)
29+
- Enh #7622: Allow `yii\data\ArrayDataProvider` to control the sort flags for `sortModels` through `yii\data\Sort::sortFlags` property (askobara)
30+
- Enh #16721: Use `Instance::ensure()` to initialize `UrlManager::$cache` (rob006)
31+
- Enh #17827: Add `StringValidator::$strict` that can be turned off to allow any scalars (adhayward, samdark)
32+
- Enh #17929: Actions can now have bool typed params bound (alex-code)
33+
3334

3435
2.0.32 January 21, 2020
3536
-----------------------

Diff for: framework/classes.php

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
'yii\db\mysql\QueryBuilder' => YII2_PATH . '/db/mysql/QueryBuilder.php',
188188
'yii\db\mysql\Schema' => YII2_PATH . '/db/mysql/Schema.php',
189189
'yii\db\oci\ColumnSchemaBuilder' => YII2_PATH . '/db/oci/ColumnSchemaBuilder.php',
190+
'yii\db\oci\Command' => YII2_PATH . '/db/oci/Command.php',
190191
'yii\db\oci\QueryBuilder' => YII2_PATH . '/db/oci/QueryBuilder.php',
191192
'yii\db\oci\Schema' => YII2_PATH . '/db/oci/Schema.php',
192193
'yii\db\oci\conditions\InConditionBuilder' => YII2_PATH . '/db/oci/conditions/InConditionBuilder.php',

Diff for: framework/data/Sort.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,14 @@ class Sort extends BaseObject
185185
* the `urlManager` application component will be used.
186186
*/
187187
public $urlManager;
188-
189188
/**
190189
* @var int Allow to control a value of the fourth parameter which will be
191190
* passed to [[ArrayHelper::multisort()]]
192191
* @since 2.0.33
193192
*/
194193
public $sortFlags = SORT_REGULAR;
195194

195+
196196
/**
197197
* Normalizes the [[attributes]] property.
198198
*/

Diff for: framework/db/Command.php

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class Command extends Component
9393
* @since 2.0.33
9494
*/
9595
protected $pendingParams = [];
96+
9697
/**
9798
* @var string the SQL statement that this command represents
9899
*/

Diff for: framework/validators/StringValidator.php

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class StringValidator extends Validator
7171
*/
7272
public $strict = true;
7373

74+
7475
/**
7576
* {@inheritdoc}
7677
*/

0 commit comments

Comments
 (0)