Skip to content

Commit

Permalink
release version 2.0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Feb 24, 2018
1 parent 7b9927c commit abb503c
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 20 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.15-dev';
return '2.0.14.1';
}

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

2.0.14.1 under development
2.0.14.1 February 24, 2018
--------------------------

- Enh #15716: Added `disableJsonSupport` to MySQL and PgSQL `ColumnSchema`, `disableArraySupport` and `deserializeArrayColumnToArrayExpression` to PgSQL `ColumnSchema` (silverfire)
- Bug #15728, #15731: Fixed BC break in `Query::select()` method (silverfire)
- Bug #15692: Fix ExistValidator with targetRelation ignores filter (developeruz)
- Bug #15693: Fixed `yii\filters\auth\HttpHeaderAuth` to work correctly when pattern is set but was not matched (bboure)
- Bug #15696: Fix magic getter for ActiveRecord (developeruz)
- Bug #15318: Fixed `session_name(): Cannot change session name when session is active` errors (bscheshirwork, samdark)
- Bug #15726: Fix ExistValidator is broken for NOSQL (developeruz)
- Enh #15716: Implemented `\Traversable` in `yii\db\ArrayExpression` (silverfire)
- Bug #15678: Fixed `resetForm()` method in `yii.activeForm.js` which used an undefined variable (Izumi-kun)
- Bug #15742: Updated `yii\helpers\BaseHtml::setActivePlaceholder()` to be consistent with `activeLabel()` (edwards-sj)
- Bug #15692: Fix ExistValidator with targetRelation ignores filter (developeruz)
- Bug #15692: Fix `yii\validators\ExistValidator` to respect filter when `targetRelation` is used (developeruz)
- Bug #15693: Fixed `yii\filters\auth\HttpHeaderAuth` to work correctly when pattern is set but was not matched (bboure)
- Bug #15696: Fix magic getter for ActiveRecord (developeruz)
- Bug #15696: Fix magic getter for `yii\db\ActiveRecord` (developeruz)
- Bug #15707: Fixed JSON retrieving from MySQL (silverfire)
- Bug #15708: Fixed `yii\db\Command::upsert()` for Cubrid/MSSQL/Oracle (sergeymakinen)
- Bug #15724: Changed shortcut in `yii\console\controllers\BaseMigrateController` for `comment` option from `-c` to `-C` due to conflict (Izumi-kun)
- Bug #15726: Fix ExistValidator is broken for NOSQL (developeruz)
- Bug #15728, #15731: Fixed BC break in `Query::select()` method (silverfire)
- Bug #15742: Updated `yii\helpers\BaseHtml::setActivePlaceholder()` to be consistent with `activeLabel()` (edwards-sj)
- Enh #15716: Added `disableJsonSupport` to MySQL and PgSQL `ColumnSchema`, `disableArraySupport` and `deserializeArrayColumnToArrayExpression` to PgSQL `ColumnSchema` (silverfire)
- Enh #15716: Implemented `\Traversable` in `yii\db\ArrayExpression` (silverfire)
- Enh #15760: Added `ArrayAccess` support as validated value in `yii\validators\EachValidator` (silverfire)
- Bug #15708: Fixed `yii\db\Command::upsert()` for Cubrid/MSSQL/Oracle (sergeymakinen)


2.0.14 February 18, 2018
Expand Down
2 changes: 0 additions & 2 deletions framework/behaviors/CacheableWidgetBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
* }
* ```
*
* @property Widget $owner
*
* @author Nikolay Oleynikov <[email protected]>
* @since 2.0.14
*/
Expand Down
1 change: 1 addition & 0 deletions framework/classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
'yii\db\mssql\TableSchema' => YII2_PATH . '/db/mssql/TableSchema.php',
'yii\db\mssql\conditions\InConditionBuilder' => YII2_PATH . '/db/mssql/conditions/InConditionBuilder.php',
'yii\db\mssql\conditions\LikeConditionBuilder' => YII2_PATH . '/db/mssql/conditions/LikeConditionBuilder.php',
'yii\db\mysql\ColumnSchema' => YII2_PATH . '/db/mysql/ColumnSchema.php',
'yii\db\mysql\ColumnSchemaBuilder' => YII2_PATH . '/db/mysql/ColumnSchemaBuilder.php',
'yii\db\mysql\JsonExpressionBuilder' => YII2_PATH . '/db/mysql/JsonExpressionBuilder.php',
'yii\db\mysql\QueryBuilder' => YII2_PATH . '/db/mysql/QueryBuilder.php',
Expand Down
4 changes: 2 additions & 2 deletions framework/db/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
* For more details and usage information on QueryBuilder, see the [guide article on query builders](guide:db-query-builder).
*
* @property string[] $expressionBuilders Array of builders that should be merged with the pre-defined ones
* in [[expressionBuilders]] property. This property is write-only.
* @property string[] $expressionBuilders Array of builders that should be merged with the pre-defined ones in
* [[expressionBuilders]] property. This property is write-only.
*
* @author Qiang Xue <[email protected]>
* @since 2.0
Expand Down
1 change: 1 addition & 0 deletions framework/db/mysql/ColumnSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class ColumnSchema extends \yii\db\ColumnSchema
*/
public $disableJsonSupport = false;


/**
* {@inheritdoc}
*/
Expand Down
1 change: 0 additions & 1 deletion framework/db/mysql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class Schema extends \yii\db\Schema implements ConstraintFinderInterface
* {@inheritdoc}
*/
public $columnSchemaClass = 'yii\db\mysql\ColumnSchema';

/**
* @var bool whether MySQL used is older than 5.1.
*/
Expand Down
4 changes: 1 addition & 3 deletions framework/db/pgsql/ColumnSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ColumnSchema extends \yii\db\ColumnSchema
* @var int the dimension of array. Defaults to 0, means this column is not an array.
*/
public $dimension = 0;

/**
* @var bool whether the column schema should OMIT using JSON support feature.
* You can use this property to make upgrade to Yii 2.0.14 easier.
Expand All @@ -32,7 +31,6 @@ class ColumnSchema extends \yii\db\ColumnSchema
* @deprecated Since 2.0.14.1 and will be removed in 2.1.
*/
public $disableJsonSupport = false;

/**
* @var bool whether the column schema should OMIT using PgSQL Arrays support feature.
* You can use this property to make upgrade to Yii 2.0.14 easier.
Expand All @@ -42,7 +40,6 @@ class ColumnSchema extends \yii\db\ColumnSchema
* @deprecated Since 2.0.14.1 and will be removed in 2.1.
*/
public $disableArraySupport = false;

/**
* @var bool whether the Array column value should be unserialized to an [[ArrayExpression]] object.
* You can use this property to make upgrade to Yii 2.0.14 easier.
Expand All @@ -53,6 +50,7 @@ class ColumnSchema extends \yii\db\ColumnSchema
*/
public $deserializeArrayColumnToArrayExpression = true;


/**
* {@inheritdoc}
*/
Expand Down
2 changes: 1 addition & 1 deletion framework/rbac/BaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @property Role[] $defaultRoleInstances Default roles. The array is indexed by the role names. This property
* is read-only.
* @property array $defaultRoles Default roles. Note that the type of this property differs in getter and
* @property string[] $defaultRoles Default roles. Note that the type of this property differs in getter and
* setter. See [[getDefaultRoles()]] and [[setDefaultRoles()]] for details.
*
* @author Qiang Xue <[email protected]>
Expand Down

0 comments on commit abb503c

Please sign in to comment.