Skip to content

Commit

Permalink
release version 2.0.45
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Feb 11, 2022
1 parent aa61a7b commit 0792736
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion framework/BaseYii.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class BaseYii
*/
public static function getVersion()
{
return '2.0.45-dev';
return '2.0.45';
}

/**
Expand Down
16 changes: 8 additions & 8 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Yii Framework 2 Change Log
==========================

2.0.45 under development
2.0.45 February 11, 2022
------------------------

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


2.0.44 December 30, 2021
Expand Down
6 changes: 3 additions & 3 deletions framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{
"name": "Carsten Brandt",
"email": "mail@cebe.cc",
"homepage": "https://cebe.cc/",
"homepage": "https://www.cebe.cc/",
"role": "Core framework development"
},
{
Expand Down Expand Up @@ -57,8 +57,8 @@
],
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"forum": "https://forum.yiiframework.com/",
"wiki": "https://www.yiiframework.com/wiki",
"irc": "ircs://irc.libera.chat:6697/yii",
"source": "https://github.com/yiisoft/yii2"
},
Expand Down
2 changes: 1 addition & 1 deletion framework/helpers/mimeTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
'log' => 'text/plain',
'lostxml' => 'application/lost+xml',
'lrf' => 'application/octet-stream',
0 => 'application/vnd.lotus-1-2-3',
'lrm' => 'application/vnd.ms-lrm',
'ltf' => 'application/vnd.frogans.ltf',
'lvp' => 'audio/vnd.lucent.voice',
Expand Down Expand Up @@ -491,7 +492,6 @@
'mseed' => 'application/vnd.fdsn.mseed',
'mseq' => 'application/vnd.mseq',
'msf' => 'application/vnd.epson.msf',
0 => 'application/vnd.lotus-1-2-3',
'msh' => 'model/mesh',
'msi' => 'application/x-msdownload',
'msl' => 'application/vnd.mobius.msl',
Expand Down
4 changes: 1 addition & 3 deletions framework/rest/IndexAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ class IndexAction extends Action
* @since 2.0.13
*/
public $dataFilter;


/**
* @var array|Pagination|false The pagination to be used by [[prepareDataProvider()]].
* If this is `false`, it means pagination is disabled.
Expand All @@ -97,7 +95,6 @@ class IndexAction extends Action
* @since 2.0.45
*/
public $pagination = [];

/**
* @var array|Sort|false The sorting to be used by [[prepareDataProvider()]].
* If this is `false`, it means sorting is disabled.
Expand All @@ -107,6 +104,7 @@ class IndexAction extends Action
*/
public $sort = [];


/**
* @return ActiveDataProvider
*/
Expand Down
4 changes: 2 additions & 2 deletions framework/web/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
* @property string $baseUrl The relative URL for the application.
* @property array|object $bodyParams The request parameters given in the request body. Note that the type of
* this property differs in getter and setter. See [[getBodyParams()]] and [[setBodyParams()]] for details.
* @property-read string $contentType Request content-type. Null is returned if this information is not
* available.
* @property-read string $contentType Request content-type. Empty string is returned if this information is
* not available.
* @property-read CookieCollection $cookies The cookie collection.
* @property-read string $csrfToken The token used to perform CSRF validation.
* @property-read string $csrfTokenFromHeader The CSRF token sent via [[CSRF_HEADER]] by browser. Null is
Expand Down

0 comments on commit 0792736

Please sign in to comment.