Skip to content

Commit 84b42ab

Browse files
committed
prepare for 2.0.1 release
1 parent 5834256 commit 84b42ab

File tree

22 files changed

+143
-28
lines changed

22 files changed

+143
-28
lines changed

Diff for: apps/advanced/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"irc": "irc://irc.freenode.net/yii",
1313
"source": "https://github.com/yiisoft/yii2"
1414
},
15-
"minimum-stability": "dev",
15+
"minimum-stability": "stable",
1616
"require": {
1717
"php": ">=5.4.0",
1818
"yiisoft/yii2": "*",

Diff for: apps/basic/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"irc": "irc://irc.freenode.net/yii",
1313
"source": "https://github.com/yiisoft/yii2"
1414
},
15-
"minimum-stability": "dev",
15+
"minimum-stability": "stable",
1616
"require": {
1717
"php": ">=5.4.0",
1818
"yiisoft/yii2": "*",

Diff for: apps/benchmark/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"config": {
1616
"vendor-dir": "protected/vendor"
1717
},
18-
"minimum-stability": "dev",
18+
"minimum-stability": "stable",
1919
"require": {
2020
"php": ">=5.4.0",
2121
"yiisoft/yii2": "*"

Diff for: extensions/apidoc/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 apidoc extension Change Log
22
===========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. `setXyz()` (cebe)

Diff for: extensions/authclient/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 authclient extension Change Log
22
===============================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

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

Diff for: extensions/bootstrap/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Yii Framework 2 bootstrap extension Change Log
22
==============================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

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

Diff for: extensions/codeception/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 Codeception extension Change Log
22
================================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/composer/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 composer extension Change Log
22
=============================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/debug/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 debug extension Change Log
22
==========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)

Diff for: extensions/elasticsearch/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 elasticsearch extension Change Log
22
==================================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)

Diff for: extensions/faker/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 faker extension Change Log
22
==============================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/gii/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 gii extension Change Log
22
========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)

Diff for: extensions/imagine/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 imagine extension Change Log
22
================================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/jui/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 jui extension Change Log
22
========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/mongodb/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 mongodb extension Change Log
22
============================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #6026: Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty (klimov-paul)

Diff for: extensions/redis/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 redis extension Change Log
22
==========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- 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)

Diff for: extensions/smarty/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 smarty extension Change Log
22
===========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

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

Diff for: extensions/sphinx/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 sphinx extension Change Log
22
===========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)

Diff for: extensions/swiftmailer/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 swiftmailer extension Change Log
22
================================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: extensions/twig/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 twig extension Change Log
22
=========================================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

77
- no changes in this release.

Diff for: framework/BaseYii.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class BaseYii
9393
*/
9494
public static function getVersion()
9595
{
96-
return '2.0.1-dev';
96+
return '2.0.1';
9797
}
9898

9999
/**

Diff for: framework/CHANGELOG.md

+121-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 Change Log
22
==========================
33

4-
2.0.1 under development
4+
2.0.1 December 07, 2014
55
-----------------------
66

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

95+
96+
### Apidoc Extension (yii2-apidoc)
97+
98+
- Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. `setXyz()` (cebe)
99+
- Bug #5899: Incorrect class listed as `definedBy` reference for properties (cebe)
100+
- Bug: Guide and API renderer now work with relative paths/URLs (cebe)
101+
- Enh: Guide generator now skips `images` directory if it does not exist instead of throwing an error (cebe)
102+
- Enh: Made `--guidePrefix` option available as a command line option (cebe)
103+
104+
105+
### Authclient Extension (yii2-authclient)
106+
107+
- Bug #6000: Fixed CCS for `yii\authclient\widgets\AuthChoice` does not loaded if `popupMode` disabled (klimov-paul)
108+
109+
110+
### Bootstrap Extension (yii2-bootstrap)
111+
112+
- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
113+
- Bug #6150: `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly (samdark)
114+
- Enh #4146: Added `yii\bootstrap\ButtonDropdown::$containerOptions` (samdark)
115+
- Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
116+
- Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)
117+
- Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
118+
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
119+
- Enh #5799: `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button` (aleksanderd)
120+
- Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)
121+
122+
123+
### Codeception Extension (yii2-codeception)
124+
125+
- no changes in this release.
126+
127+
128+
### Composer Extension (yii2-composer)
129+
130+
- no changes in this release.
131+
132+
133+
### Debug Extension (yii2-debug)
134+
135+
- Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
136+
- Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
137+
- Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
138+
- Enh #6113: Improved configuration and request UI (schmunk42)
139+
- Enh: Made `DefaultController::getManifest()` more robust against corrupt files (cebe)
140+
141+
142+
### Elasticsearch Extension (yii2-elasticsearch)
143+
144+
- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
145+
- Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
146+
- Enh #5758: Allow passing custom options to `ActiveRecord::update()` and `::delete()` including support for routing needed for updating records with parent relation (cebe)
147+
- Enh: Add support for optimistic locking (cebe)
148+
149+
150+
### Faker Extension (yii2-faker)
151+
152+
- no changes in this release.
153+
154+
155+
### Gii Extension (yii2-gii)
156+
157+
- Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
158+
- Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
159+
- Bug #6367: Added `yii\gii\generators\crud\Generator` to support customizing view path for the generated CRUD controller (qiangxue)
160+
- Bug: Gii console command help information does not contain global options (qiangxue)
161+
- Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)
162+
163+
164+
### Imagine Extension (yii2-imagine)
165+
166+
- no changes in this release.
167+
168+
169+
### Jui Extension (yii2-jui)
170+
171+
- no changes in this release.
172+
173+
174+
### Mongodb Extension (yii2-mongodb)
175+
176+
- Bug #6026: Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty (klimov-paul)
177+
- Enh #3855: Added debug toolbar panel for MongoDB (klimov-paul)
178+
- Enh #5592: Added support for 'findAndModify' operation at `yii\mongodb\Query` and `yii\mongodb\ActiveQuery` (klimov-paul)
179+
180+
181+
### Redis Extension (yii2-redis)
182+
183+
- 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)
184+
- Enh #3714: Added support for connecting to redis server using a unix socket (savvot, robregonm)
185+
186+
187+
### Smarty Extension (yii2-smarty)
188+
189+
- Bug #5748: `{path` was generating absolute URLs instead of relative ones (samdark, motzel)
190+
191+
192+
### Sphinx Extension (yii2-sphinx)
193+
194+
- Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
195+
- Bug #5634: Fixed `yii\sphinx\QueryBuilder` does not support comparison operators (>,<,>= etc) in where specification (klimov-paul)
196+
- Bug #6164: Added missing support for `yii\db\Exression` to QueryBuilder `LIKE` conditions (cebe)
197+
- Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
198+
199+
200+
### Swiftmailer Extension (yii2-swiftmailer)
201+
202+
- no changes in this release.
203+
204+
205+
### Twig Extension (yii2-twig)
206+
207+
- no changes in this release.
208+
209+
95210
2.0.0 October 12, 2014
96211
----------------------
97212

0 commit comments

Comments
 (0)