Skip to content

Commit

Permalink
prepare for 2.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Dec 7, 2014
1 parent 5834256 commit 84b42ab
Show file tree
Hide file tree
Showing 22 changed files with 143 additions and 28 deletions.
2 changes: 1 addition & 1 deletion apps/advanced/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/basic/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/benchmark/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"config": {
"vendor-dir": "protected/vendor"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*"
Expand Down
2 changes: 1 addition & 1 deletion extensions/apidoc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 apidoc extension Change Log
===========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. `setXyz()` (cebe)
Expand Down
2 changes: 1 addition & 1 deletion extensions/authclient/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 authclient extension Change Log
===============================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #6000: Fixed CCS for `yii\authclient\widgets\AuthChoice` does not loaded if `popupMode` disabled (klimov-paul)
Expand Down
4 changes: 2 additions & 2 deletions extensions/bootstrap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Yii Framework 2 bootstrap extension Change Log
==============================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
- Bug #6150: `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly (samdark)
- Enh #4146: Added `yii\bootstrap\ButtonDropdown::$containerOptions` (samdark)
- Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
- Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
- Enh #5799: `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button` (aleksanderd)
- Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)
Expand Down
2 changes: 1 addition & 1 deletion extensions/codeception/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 Codeception extension Change Log
================================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/composer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 composer extension Change Log
=============================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/debug/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 debug extension Change Log
==========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
Expand Down
2 changes: 1 addition & 1 deletion extensions/elasticsearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 elasticsearch extension Change Log
==================================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
Expand Down
2 changes: 1 addition & 1 deletion extensions/faker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 faker extension Change Log
==============================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/gii/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 gii extension Change Log
========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
Expand Down
2 changes: 1 addition & 1 deletion extensions/imagine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 imagine extension Change Log
================================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/jui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 jui extension Change Log
========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 mongodb extension Change Log
============================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #6026: Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty (klimov-paul)
Expand Down
2 changes: 1 addition & 1 deletion extensions/redis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 redis extension Change Log
==========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #4745: value of simple string returns was ignored by redis client and `true` is returned instead, now only `OK` will result in a `true` while all other values are returned as is (cebe)
Expand Down
2 changes: 1 addition & 1 deletion extensions/smarty/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 smarty extension Change Log
===========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5748: `{path` was generating absolute URLs instead of relative ones (samdark, motzel)
Expand Down
2 changes: 1 addition & 1 deletion extensions/sphinx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 sphinx extension Change Log
===========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
Expand Down
2 changes: 1 addition & 1 deletion extensions/swiftmailer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 swiftmailer extension Change Log
================================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion extensions/twig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework 2 twig extension Change Log
=========================================

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- no changes in this release.
Expand Down
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.1-dev';
return '2.0.1';
}

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

2.0.1 under development
2.0.1 December 07, 2014
-----------------------

- Bug #4471: `yii\caching\ApcCache::getValues()` now returns array in case of APC is installed but not enabled in CLI mode (samdark, cebe)
Expand All @@ -10,12 +10,12 @@ Yii Framework 2 Change Log
- Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
- Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
- Bug #5448: Date formatter was doing timezone conversion on date only values resulting in different date displayed than provided (cebe)
- Bug #5452: Errors occurring after the response is sent are not displayed (qiangxue)
- Bug #5452: Errors occurring after the response is sent are not displayed (qiangxue)
- Bug #5521: Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/' (klimov-paul)
- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
- Bug #5584: `yii\rbac\DbRbacManager` should not delete items when deleting a rule on a database not supporting cascade update (mdmunir)
- Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
- Bug #5619: `yii\log\Target` should not attempt to start session when there is none (klimov-paul, qiangxue)
- Bug #5619: `yii\log\Target` should not attempt to start session when there is none (klimov-paul, qiangxue)
- Bug #5657: `yii\caching\ApcCache::mset()` and `madd()` may cause warning in some APC setup (LAV45)
- Bug #5665: The `currentPage` meta data in the RESTful result should be 1-based, similar to that in HTTP headers (qiangxue)
- Bug #5682: The `asset` command would incorrectly combine CSS files when `UrlManager::linkAssets` is true (dmvslv)
Expand Down Expand Up @@ -60,11 +60,11 @@ Yii Framework 2 Change Log
- Enh #4643: Extra options specified in `yii\widgets\Breadcrumbs::links` will be treated as HTML attributes for the generated hyperlinks (qiangxue)
- Enh #4739: Better display of exceptions when the response format is set as "raw" format (qiangxue)
- Enh #4791: Added console output support and more colors for console commands (6pblcb, samdark, klimov-paul, Ragazzo)
- Enh #5005: Added support to suppress loading the same CSS files in AJAX responses (tof06, qiangxue)
- Enh #5005: Added support to suppress loading the same CSS files in AJAX responses (tof06, qiangxue)
- Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
- Enh #5367: Added `yii\grid\DataColumn::encodeLabel` (SDKiller)
- Enh #5480: Added defensive code to `yii\web\User::getIdentity()` to avoid potential infinite recursion (qiangxue)
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
- Enh #5503: Added support for `DateTimeImmutable` to Formatter (olegtsvetkov, cebe)
- Enh #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also
it is now default for `Json::encode()` (samdark)
Expand All @@ -88,10 +88,125 @@ Yii Framework 2 Change Log
- Enh: Added `yii\base\Controller::renderContent()` (qiangxue)
- Enh: `yii fixture` command now offers help if no arguments are provided instead of crashing (samdark)
- Chg #3630: `yii\db\Command::queryInternal()` is now protected (samdark)
- Chg #4277: `yii\grid\GridView` is no longer throwing an exception when results are empty and `columns` aren't defined (samdark)
- Chg #4277: `yii\grid\GridView` is no longer throwing an exception when results are empty and `columns` aren't defined (samdark)
- Chg #5508: Dropped the support for the `--append` option for the `fixture` command (qiangxue)
- Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)


### Apidoc Extension (yii2-apidoc)

- Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. `setXyz()` (cebe)
- Bug #5899: Incorrect class listed as `definedBy` reference for properties (cebe)
- Bug: Guide and API renderer now work with relative paths/URLs (cebe)
- Enh: Guide generator now skips `images` directory if it does not exist instead of throwing an error (cebe)
- Enh: Made `--guidePrefix` option available as a command line option (cebe)


### Authclient Extension (yii2-authclient)

- Bug #6000: Fixed CCS for `yii\authclient\widgets\AuthChoice` does not loaded if `popupMode` disabled (klimov-paul)


### Bootstrap Extension (yii2-bootstrap)

- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
- Bug #6150: `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly (samdark)
- Enh #4146: Added `yii\bootstrap\ButtonDropdown::$containerOptions` (samdark)
- Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
- Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
- Enh #5799: `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button` (aleksanderd)
- Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)


### Codeception Extension (yii2-codeception)

- no changes in this release.


### Composer Extension (yii2-composer)

- no changes in this release.


### Debug Extension (yii2-debug)

- Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
- Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
- Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
- Enh #6113: Improved configuration and request UI (schmunk42)
- Enh: Made `DefaultController::getManifest()` more robust against corrupt files (cebe)


### Elasticsearch Extension (yii2-elasticsearch)

- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
- Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
- Enh #5758: Allow passing custom options to `ActiveRecord::update()` and `::delete()` including support for routing needed for updating records with parent relation (cebe)
- Enh: Add support for optimistic locking (cebe)


### Faker Extension (yii2-faker)

- no changes in this release.


### Gii Extension (yii2-gii)

- Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
- Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
- Bug #6367: Added `yii\gii\generators\crud\Generator` to support customizing view path for the generated CRUD controller (qiangxue)
- Bug: Gii console command help information does not contain global options (qiangxue)
- Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)


### Imagine Extension (yii2-imagine)

- no changes in this release.


### Jui Extension (yii2-jui)

- no changes in this release.


### Mongodb Extension (yii2-mongodb)

- Bug #6026: Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty (klimov-paul)
- Enh #3855: Added debug toolbar panel for MongoDB (klimov-paul)
- Enh #5592: Added support for 'findAndModify' operation at `yii\mongodb\Query` and `yii\mongodb\ActiveQuery` (klimov-paul)


### Redis Extension (yii2-redis)

- Bug #4745: value of simple string returns was ignored by redis client and `true` is returned instead, now only `OK` will result in a `true` while all other values are returned as is (cebe)
- Enh #3714: Added support for connecting to redis server using a unix socket (savvot, robregonm)


### Smarty Extension (yii2-smarty)

- Bug #5748: `{path` was generating absolute URLs instead of relative ones (samdark, motzel)


### Sphinx Extension (yii2-sphinx)

- Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
- Bug #5634: Fixed `yii\sphinx\QueryBuilder` does not support comparison operators (>,<,>= etc) in where specification (klimov-paul)
- Bug #6164: Added missing support for `yii\db\Exression` to QueryBuilder `LIKE` conditions (cebe)
- Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)


### Swiftmailer Extension (yii2-swiftmailer)

- no changes in this release.


### Twig Extension (yii2-twig)

- no changes in this release.


2.0.0 October 12, 2014
----------------------

Expand Down

0 comments on commit 84b42ab

Please sign in to comment.