Browse Source

release version 2.0.21

tags/2.0.21^0 2.0.21
Alexander Makarov 5 years ago
parent
commit
f3d1534125
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      framework/BaseYii.php
  2. 14
      framework/CHANGELOG.md
  3. 2
      framework/web/Cookie.php

2
framework/BaseYii.php

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

14
framework/CHANGELOG.md

@ -1,19 +1,19 @@
Yii Framework 2 Change Log
==========================
2.0.21 under development
------------------------
2.0.21 June 18, 2019
--------------------
- Bug #16565: Added missing parts of the context message in `\yii\log\Target::collect` (alexkart)
- Bug #17070: Striped invalid character from fallback file name in `Content-Disposition` header when using `\yii\web\Response::sendFile` (alexkart)
- Bug #17332: Trigger 'change' for checkboxes in GridView (andrii-borysov-me)
- Bug #17341: Fixed error from yii.activeForm.js in strict mode (mikehaertl)
- Bug #17341: Allowed callable objects to be set to `\yii\filters\AccessRule::$roleParams` (alexkart)
- Bug #17356: MSSQL Schema was not detecting string field size (ricarnevale, sdlins)
- Enh #17344: Improved performance of `yii\db\Connection::addSelect()` (brandonkelly)
- Enh #17345: Improved performance of `yii\db\Connection::quoteColumnName()` (brandonkelly)
- Enh #17348: Improved performance of `yii\db\Connection::quoteTableName()` (brandonkelly)
- Enh #17353: Added `sameSite` support for `yii\web\Cookie` and `yii\web\Session::cookieParams` (rhertogh)
- Bug #17356: MSSQL Schema was not detecting string field size (ricarnevale, sdlins)
- Bug #17341: Allowed callable objects to be set to `\yii\filters\AccessRule::$roleParams` (alexkart)
- Bug #17070: Striped invalid character from fallback file name in `Content-Disposition` header when using `\yii\web\Response::sendFile` (alexkart)
- Bug #16565: Added missing parts of the context message in `\yii\log\Target::collect` (alexkart)
- Bug #17332: Trigger 'change' for checkboxes in GridView (andrii-borysov-me)
2.0.20 June 04, 2019

2
framework/web/Cookie.php

@ -67,7 +67,7 @@ class Cookie extends \yii\base\BaseObject
public $httpOnly = true;
/**
* @var string SameSite prevents the browser from sending this cookie along with cross-site requests.
* Please note that this feature is only supported since PHP 7.3.0
* Please note that this feature is only supported since PHP 7.3.0
* For better security, an exception will be thrown if `sameSite` is set while using an unsupported version of PHP.
* To use this feature across different PHP versions check the version first. E.g.
* ```php

Loading…
Cancel
Save