Browse Source

release version 2.0.45

tags/2.0.45^0 2.0.45
Alexander Makarov 3 years ago
parent
commit
0792736b35
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      framework/BaseYii.php
  2. 16
      framework/CHANGELOG.md
  3. 6
      framework/composer.json
  4. 2
      framework/helpers/mimeTypes.php
  5. 4
      framework/rest/IndexAction.php
  6. 4
      framework/web/Request.php

2
framework/BaseYii.php

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

16
framework/CHANGELOG.md

@ -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

6
framework/composer.json

@ -29,7 +29,7 @@
{
"name": "Carsten Brandt",
"email": "mail@cebe.cc",
"homepage": "https://cebe.cc/",
"homepage": "https://www.cebe.cc/",
"role": "Core framework development"
},
{
@ -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"
},

2
framework/helpers/mimeTypes.php

@ -400,6 +400,7 @@ return [
'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',
@ -491,7 +492,6 @@ return [
'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',

4
framework/rest/IndexAction.php

@ -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.
@ -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.
@ -107,6 +104,7 @@ class IndexAction extends Action
*/
public $sort = [];
/**
* @return ActiveDataProvider
*/

4
framework/web/Request.php

@ -39,8 +39,8 @@ use yii\validators\IpValidator;
* @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

Loading…
Cancel
Save