Skip to content

Commit 0792736

Browse files
committed
release version 2.0.45
1 parent aa61a7b commit 0792736

File tree

6 files changed

+16
-18
lines changed

6 files changed

+16
-18
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.45-dev';
96+
return '2.0.45';
9797
}
9898

9999
/**

Diff for: framework/CHANGELOG.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
Yii Framework 2 Change Log
22
==========================
33

4-
2.0.45 under development
4+
2.0.45 February 11, 2022
55
------------------------
66

7-
- Enh #18821: Allow `yii\db\ExpressionInterface` as column in `yii\db\conditions\InBuilder` (ntesic)
8-
- Bug #19182: RBAC Migration failed when use oracle with oci8 (Murolike)
7+
- Bug #19004: Container::resolveCallableDependencies() unable to handle union and intersection types (sartor)
8+
- Bug #19041: Fix PHP 8.1 issues (longthanhtran, samdark, pamparam83, sartor, githubjeka)
9+
- Bug #19047: Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php (longthanhtran)
10+
- Bug #19130: Fix DbSession breaks in some case (longthanhtran)
911
- Bug #19138: Allow digits in language code (ntesic)
1012
- Bug #19148: Fix undefined array key errors in `yii\db\ActiveRelationTrait` (stevekr)
11-
- Bug #19041: Fix PHP 8.1 issues (longthanhtran, samdark, pamparam83, sartor, githubjeka)
12-
- Enh #19171: Added `$pagination` and `$sort` to `\yii\rest\IndexAction` for easy configuration (rhertogh)
13+
- Bug #19182: RBAC Migration failed when use oracle with oci8 (Murolike)
1314
- Bug #19187: Fix `yii\filters\PageCache` to store original headers names instead of normalized ones (bizley)
1415
- Bug #19191: Change `\Exception` to `\Throwable` in `BadRequestHttpException` and `HttpException` (Dmitrijlin)
1516
- Bug #19204: Support numbers in Inflector::camel2words (longthanhtran)
16-
- Bug #19004: Container::resolveCallableDependencies() unable to handle union and intersection types (sartor)
17-
- Bug #19047: Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php (longthanhtran)
18-
- Bug #19130: Fix DbSession breaks in some case (longthanhtran)
17+
- Enh #18821: Allow `yii\db\ExpressionInterface` as column in `yii\db\conditions\InBuilder` (ntesic)
18+
- Enh #19171: Added `$pagination` and `$sort` to `\yii\rest\IndexAction` for easy configuration (rhertogh)
1919

2020

2121
2.0.44 December 30, 2021

Diff for: framework/composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{
3030
"name": "Carsten Brandt",
3131
"email": "[email protected]",
32-
"homepage": "https://cebe.cc/",
32+
"homepage": "https://www.cebe.cc/",
3333
"role": "Core framework development"
3434
},
3535
{
@@ -57,8 +57,8 @@
5757
],
5858
"support": {
5959
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
60-
"forum": "https://www.yiiframework.com/forum/",
61-
"wiki": "https://www.yiiframework.com/wiki/",
60+
"forum": "https://forum.yiiframework.com/",
61+
"wiki": "https://www.yiiframework.com/wiki",
6262
"irc": "ircs://irc.libera.chat:6697/yii",
6363
"source": "https://github.com/yiisoft/yii2"
6464
},

Diff for: framework/helpers/mimeTypes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@
400400
'log' => 'text/plain',
401401
'lostxml' => 'application/lost+xml',
402402
'lrf' => 'application/octet-stream',
403+
0 => 'application/vnd.lotus-1-2-3',
403404
'lrm' => 'application/vnd.ms-lrm',
404405
'ltf' => 'application/vnd.frogans.ltf',
405406
'lvp' => 'audio/vnd.lucent.voice',
@@ -491,7 +492,6 @@
491492
'mseed' => 'application/vnd.fdsn.mseed',
492493
'mseq' => 'application/vnd.mseq',
493494
'msf' => 'application/vnd.epson.msf',
494-
0 => 'application/vnd.lotus-1-2-3',
495495
'msh' => 'model/mesh',
496496
'msi' => 'application/x-msdownload',
497497
'msl' => 'application/vnd.mobius.msl',

Diff for: framework/rest/IndexAction.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ class IndexAction extends Action
8787
* @since 2.0.13
8888
*/
8989
public $dataFilter;
90-
91-
9290
/**
9391
* @var array|Pagination|false The pagination to be used by [[prepareDataProvider()]].
9492
* If this is `false`, it means pagination is disabled.
@@ -97,7 +95,6 @@ class IndexAction extends Action
9795
* @since 2.0.45
9896
*/
9997
public $pagination = [];
100-
10198
/**
10299
* @var array|Sort|false The sorting to be used by [[prepareDataProvider()]].
103100
* If this is `false`, it means sorting is disabled.
@@ -107,6 +104,7 @@ class IndexAction extends Action
107104
*/
108105
public $sort = [];
109106

107+
110108
/**
111109
* @return ActiveDataProvider
112110
*/

Diff for: framework/web/Request.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
* @property string $baseUrl The relative URL for the application.
4040
* @property array|object $bodyParams The request parameters given in the request body. Note that the type of
4141
* this property differs in getter and setter. See [[getBodyParams()]] and [[setBodyParams()]] for details.
42-
* @property-read string $contentType Request content-type. Null is returned if this information is not
43-
* available.
42+
* @property-read string $contentType Request content-type. Empty string is returned if this information is
43+
* not available.
4444
* @property-read CookieCollection $cookies The cookie collection.
4545
* @property-read string $csrfToken The token used to perform CSRF validation.
4646
* @property-read string $csrfTokenFromHeader The CSRF token sent via [[CSRF_HEADER]] by browser. Null is

0 commit comments

Comments
 (0)