Skip to content

Commit d2b864d

Browse files
committed
prepare for 2.0.0-rc release.
1 parent 8305453 commit d2b864d

35 files changed

+66
-82
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": "RC",
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": "RC",
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": "RC",
1919
"require": {
2020
"php": ">=5.4.0",
2121
"yiisoft/yii2": "*"

Diff for: docs/guide/widget-bootstrap.md

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ convenient way to include bootstrap assets in your pages with a single line adde
2424
public $depends = [
2525
'yii\web\YiiAsset',
2626
'yii\bootstrap\BootstrapAsset', // this line
27-
// 'yii\bootstrap\BootstrapThemeAsset' // uncomment to apply bootstrap 2 style to bootstrap 3
2827
];
2928
```
3029

Diff for: extensions/apidoc/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- no changes in this release.
88

Diff for: extensions/authclient/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul)
88
- Bug #4490: `yii\authclient\widgets\AuthChoice` does not preserve initial settings while opening popup (klimov-paul)

Diff for: extensions/bootstrap/BootstrapThemeAsset.php

-27
This file was deleted.

Diff for: extensions/bootstrap/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
88
- Bug #3740: Fixed duplicate error message when client validation is enabled (tadaszelvys)

Diff for: extensions/codeception/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- no changes in this release.
88

Diff for: extensions/composer/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #3438: Fixed support for non-lowercase package names (cebe)
88
- Chg: Added `yii\composer\Installer::postCreateProject()` and modified the syntax of calling installer methods in composer.json (qiangxue)

Diff for: extensions/debug/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
88
- Bug #3956: Debug toolbar was affecting flash message removal (samdark)

Diff for: extensions/elasticsearch/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #3587: Fixed an issue with storing empty records (cebe)
88
- Bug #4187: Elasticsearch dynamic scripting is disabled in 1.2.0, so do not use it in query builder (cebe)

Diff for: extensions/faker/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Chg #4622: Simplified the way of creating a Faker fixture template file (qiangxue)
88

Diff for: extensions/faker/FixtureController.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,20 @@
101101
* //list all templates under specified template path
102102
* yii fixture/templates --templatePath='@app/path/to/my/custom/templates'
103103
* ~~~
104-
*
104+
*
105105
* You also can create your own data providers for custom tables fields, see Faker library guide for more info (https://github.com/fzaninotto/Faker);
106106
* After you created custom provider, for example:
107107
*
108108
* ~~~
109109
* class Book extends \Faker\Provider\Base
110110
* {
111-
*
111+
*
112112
* public function title($nbWords = 5)
113113
* {
114114
* $sentence = $this->generator->sentence($nbWords);
115115
* return mb_substr($sentence, 0, mb_strlen($sentence) - 1);
116116
* }
117-
*
117+
*
118118
* }
119119
* ~~~
120120
*
@@ -131,6 +131,8 @@
131131
* ],
132132
* ~~~
133133
*
134+
* @property \Faker\Generator $generator This property is read-only.
135+
*
134136
* @author Mark Jebri <[email protected]>
135137
* @since 2.0.0
136138
*/

Diff for: extensions/gii/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
88
- Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)

Diff for: extensions/imagine/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- no changes in this release.
88

Diff for: extensions/jui/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Chg #1551: Jui datepicker has a new property `$dateFormat` which is used to set the clientOption `dateFormat`.
88
The new property does not use the datepicker formatting synax anymore but uses the same as the `yii\i18n\Formatter`

Diff for: extensions/mongodb/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #2337: `yii\mongodb\Collection::buildLikeCondition()` fixed to escape regular expression (klimov-paul)
88
- Bug #3385: Fixed "The 'connected' property is deprecated" (samdark)

Diff for: extensions/redis/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #1311: Fixed storage and finding of `null` and boolean values (samdark, cebe)
88
- Enh #3520: Added `unlinkAll()`-method to active record to remove all records of a model relation (NmDimas, samdark, cebe)

Diff for: extensions/smarty/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Enh #4619 (samdark, hwmaier)
88
- New functions:

Diff for: extensions/sphinx/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #3668: Escaping of the special characters at 'MATCH' statement added (klimov-paul)
88
- Bug #4018: AR relation eager loading does not work with db models (klimov-paul)

Diff for: extensions/swiftmailer/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- no changes in this release.
88

Diff for: extensions/twig/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #2925: Fixed throwing exception when accessing AR property with null value (samdark)
88
- Bug #3767: Fixed repeated adding of extensions when using config. One may now pass extension instances as well (grachov)

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.0-dev';
96+
return '2.0.0-rc';
9797
}
9898

9999
/**

Diff for: framework/CHANGELOG.md

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

4-
2.0.0-rc under development
5-
--------------------------
4+
2.0.0-rc September 27, 2014
5+
---------------------------
66

77
- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
88
- Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)

Diff for: framework/classes.php

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
'yii\base\InvalidConfigException' => YII2_PATH . '/base/InvalidConfigException.php',
3434
'yii\base\InvalidParamException' => YII2_PATH . '/base/InvalidParamException.php',
3535
'yii\base\InvalidRouteException' => YII2_PATH . '/base/InvalidRouteException.php',
36+
'yii\base\InvalidValueException' => YII2_PATH . '/base/InvalidValueException.php',
3637
'yii\base\Model' => YII2_PATH . '/base/Model.php',
3738
'yii\base\ModelEvent' => YII2_PATH . '/base/ModelEvent.php',
3839
'yii\base\Module' => YII2_PATH . '/base/Module.php',
@@ -56,6 +57,7 @@
5657
'yii\behaviors\SluggableBehavior' => YII2_PATH . '/behaviors/SluggableBehavior.php',
5758
'yii\behaviors\TimestampBehavior' => YII2_PATH . '/behaviors/TimestampBehavior.php',
5859
'yii\caching\ApcCache' => YII2_PATH . '/caching/ApcCache.php',
60+
'yii\caching\ArrayCache' => YII2_PATH . '/caching/ArrayCache.php',
5961
'yii\caching\Cache' => YII2_PATH . '/caching/Cache.php',
6062
'yii\caching\ChainedDependency' => YII2_PATH . '/caching/ChainedDependency.php',
6163
'yii\caching\DbCache' => YII2_PATH . '/caching/DbCache.php',
@@ -152,6 +154,7 @@
152154
'yii\helpers\BaseArrayHelper' => YII2_PATH . '/helpers/BaseArrayHelper.php',
153155
'yii\helpers\BaseConsole' => YII2_PATH . '/helpers/BaseConsole.php',
154156
'yii\helpers\BaseFileHelper' => YII2_PATH . '/helpers/BaseFileHelper.php',
157+
'yii\helpers\BaseFormatConverter' => YII2_PATH . '/helpers/BaseFormatConverter.php',
155158
'yii\helpers\BaseHtml' => YII2_PATH . '/helpers/BaseHtml.php',
156159
'yii\helpers\BaseHtmlPurifier' => YII2_PATH . '/helpers/BaseHtmlPurifier.php',
157160
'yii\helpers\BaseInflector' => YII2_PATH . '/helpers/BaseInflector.php',
@@ -162,6 +165,7 @@
162165
'yii\helpers\BaseVarDumper' => YII2_PATH . '/helpers/BaseVarDumper.php',
163166
'yii\helpers\Console' => YII2_PATH . '/helpers/Console.php',
164167
'yii\helpers\FileHelper' => YII2_PATH . '/helpers/FileHelper.php',
168+
'yii\helpers\FormatConverter' => YII2_PATH . '/helpers/FormatConverter.php',
165169
'yii\helpers\Html' => YII2_PATH . '/helpers/Html.php',
166170
'yii\helpers\HtmlPurifier' => YII2_PATH . '/helpers/HtmlPurifier.php',
167171
'yii\helpers\Inflector' => YII2_PATH . '/helpers/Inflector.php',
@@ -219,6 +223,7 @@
219223
'yii\rest\UrlRule' => YII2_PATH . '/rest/UrlRule.php',
220224
'yii\rest\ViewAction' => YII2_PATH . '/rest/ViewAction.php',
221225
'yii\test\ActiveFixture' => YII2_PATH . '/test/ActiveFixture.php',
226+
'yii\test\ArrayFixture' => YII2_PATH . '/test/ArrayFixture.php',
222227
'yii\test\BaseActiveFixture' => YII2_PATH . '/test/BaseActiveFixture.php',
223228
'yii\test\DbFixture' => YII2_PATH . '/test/DbFixture.php',
224229
'yii\test\Fixture' => YII2_PATH . '/test/Fixture.php',
@@ -280,6 +285,7 @@
280285
'yii\web\RequestParserInterface' => YII2_PATH . '/web/RequestParserInterface.php',
281286
'yii\web\Response' => YII2_PATH . '/web/Response.php',
282287
'yii\web\ResponseFormatterInterface' => YII2_PATH . '/web/ResponseFormatterInterface.php',
288+
'yii\web\ServerErrorHttpException' => YII2_PATH . '/web/ServerErrorHttpException.php',
283289
'yii\web\Session' => YII2_PATH . '/web/Session.php',
284290
'yii\web\SessionIterator' => YII2_PATH . '/web/SessionIterator.php',
285291
'yii\web\TooManyRequestsHttpException' => YII2_PATH . '/web/TooManyRequestsHttpException.php',

Diff for: framework/console/Controller.php

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
* where `<route>` is a route to a controller action and the params will be populated as properties of a command.
2828
* See [[options()]] for details.
2929
*
30+
* @property string $help This property is read-only.
31+
* @property string $helpSummary This property is read-only.
32+
*
3033
* @author Qiang Xue <[email protected]>
3134
* @since 2.0
3235
*/

Diff for: framework/console/controllers/CacheController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
* ~~~
2020
* #see list of available components to flush
2121
* yii cache
22-
*
22+
*
2323
* #flush particular components specified by their names
2424
* yii cache/flush first second third
25-
*
25+
*
2626
* #flush all cache components that can be found in the system
2727
* yii cache/flush-all
2828
* ~~~
29-
*
29+
*
3030
* @author Alexander Makarov <[email protected]>
3131
* @author Mark Jebri <[email protected]>
3232
* @since 2.0

Diff for: framework/console/controllers/FixtureController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
*
3333
* #append fixtures to already loaded
3434
* yii fixture User --append
35-
*
35+
*
3636
* #load fixtures with different namespace.
3737
* yii fixture/load User --namespace=alias\my\custom\namespace\goes\here
3838
* ~~~
3939
*
4040
* The `unload` sub-command can be used similarly to unload fixtures.
41-
*
41+
*
4242
* @author Mark Jebri <[email protected]>
4343
* @since 2.0
4444
*/

0 commit comments

Comments
 (0)