Skip to content

Commit

Permalink
prepare for 2.0.0-rc release.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Sep 28, 2014
1 parent 8305453 commit d2b864d
Show file tree
Hide file tree
Showing 35 changed files with 66 additions and 82 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": "RC",
"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": "RC",
"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": "RC",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*"
Expand Down
1 change: 0 additions & 1 deletion docs/guide/widget-bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ convenient way to include bootstrap assets in your pages with a single line adde
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset', // this line
// 'yii\bootstrap\BootstrapThemeAsset' // uncomment to apply bootstrap 2 style to bootstrap 3
];
```

Expand Down
4 changes: 2 additions & 2 deletions extensions/apidoc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 apidoc extension Change Log
===========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- no changes in this release.

Expand Down
4 changes: 2 additions & 2 deletions extensions/authclient/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 authclient extension Change Log
===============================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul)
- Bug #4490: `yii\authclient\widgets\AuthChoice` does not preserve initial settings while opening popup (klimov-paul)
Expand Down
27 changes: 0 additions & 27 deletions extensions/bootstrap/BootstrapThemeAsset.php

This file was deleted.

4 changes: 2 additions & 2 deletions extensions/bootstrap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 bootstrap extension Change Log
==============================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
- Bug #3740: Fixed duplicate error message when client validation is enabled (tadaszelvys)
Expand Down
4 changes: 2 additions & 2 deletions extensions/codeception/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 Codeception extension Change Log
================================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- no changes in this release.

Expand Down
4 changes: 2 additions & 2 deletions extensions/composer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 composer extension Change Log
=============================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #3438: Fixed support for non-lowercase package names (cebe)
- Chg: Added `yii\composer\Installer::postCreateProject()` and modified the syntax of calling installer methods in composer.json (qiangxue)
Expand Down
4 changes: 2 additions & 2 deletions extensions/debug/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 debug extension Change Log
==========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
- Bug #3956: Debug toolbar was affecting flash message removal (samdark)
Expand Down
4 changes: 2 additions & 2 deletions extensions/elasticsearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 elasticsearch extension Change Log
==================================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #3587: Fixed an issue with storing empty records (cebe)
- Bug #4187: Elasticsearch dynamic scripting is disabled in 1.2.0, so do not use it in query builder (cebe)
Expand Down
4 changes: 2 additions & 2 deletions extensions/faker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 faker extension Change Log
==============================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

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

Expand Down
8 changes: 5 additions & 3 deletions extensions/faker/FixtureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@
* //list all templates under specified template path
* yii fixture/templates --templatePath='@app/path/to/my/custom/templates'
* ~~~
*
*
* You also can create your own data providers for custom tables fields, see Faker library guide for more info (https://github.com/fzaninotto/Faker);
* After you created custom provider, for example:
*
* ~~~
* class Book extends \Faker\Provider\Base
* {
*
*
* public function title($nbWords = 5)
* {
* $sentence = $this->generator->sentence($nbWords);
* return mb_substr($sentence, 0, mb_strlen($sentence) - 1);
* }
*
*
* }
* ~~~
*
Expand All @@ -131,6 +131,8 @@
* ],
* ~~~
*
* @property \Faker\Generator $generator This property is read-only.
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0.0
*/
Expand Down
4 changes: 2 additions & 2 deletions extensions/gii/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 gii extension Change Log
========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
- Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)
Expand Down
4 changes: 2 additions & 2 deletions extensions/imagine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 imagine extension Change Log
================================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- no changes in this release.

Expand Down
4 changes: 2 additions & 2 deletions extensions/jui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 jui extension Change Log
========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Chg #1551: Jui datepicker has a new property `$dateFormat` which is used to set the clientOption `dateFormat`.
The new property does not use the datepicker formatting synax anymore but uses the same as the `yii\i18n\Formatter`
Expand Down
4 changes: 2 additions & 2 deletions extensions/mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 mongodb extension Change Log
============================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #2337: `yii\mongodb\Collection::buildLikeCondition()` fixed to escape regular expression (klimov-paul)
- Bug #3385: Fixed "The 'connected' property is deprecated" (samdark)
Expand Down
4 changes: 2 additions & 2 deletions extensions/redis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 redis extension Change Log
==========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #1311: Fixed storage and finding of `null` and boolean values (samdark, cebe)
- Enh #3520: Added `unlinkAll()`-method to active record to remove all records of a model relation (NmDimas, samdark, cebe)
Expand Down
4 changes: 2 additions & 2 deletions extensions/smarty/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 smarty extension Change Log
===========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Enh #4619 (samdark, hwmaier)
- New functions:
Expand Down
4 changes: 2 additions & 2 deletions extensions/sphinx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 sphinx extension Change Log
===========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #3668: Escaping of the special characters at 'MATCH' statement added (klimov-paul)
- Bug #4018: AR relation eager loading does not work with db models (klimov-paul)
Expand Down
4 changes: 2 additions & 2 deletions extensions/swiftmailer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 swiftmailer extension Change Log
================================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- no changes in this release.

Expand Down
4 changes: 2 additions & 2 deletions extensions/twig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 twig extension Change Log
=========================================

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #2925: Fixed throwing exception when accessing AR property with null value (samdark)
- Bug #3767: Fixed repeated adding of extensions when using config. One may now pass extension instances as well (grachov)
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.0-dev';
return '2.0.0-rc';
}

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

2.0.0-rc under development
--------------------------
2.0.0-rc September 27, 2014
---------------------------

- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
- Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)
Expand Down
6 changes: 6 additions & 0 deletions framework/classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'yii\base\InvalidConfigException' => YII2_PATH . '/base/InvalidConfigException.php',
'yii\base\InvalidParamException' => YII2_PATH . '/base/InvalidParamException.php',
'yii\base\InvalidRouteException' => YII2_PATH . '/base/InvalidRouteException.php',
'yii\base\InvalidValueException' => YII2_PATH . '/base/InvalidValueException.php',
'yii\base\Model' => YII2_PATH . '/base/Model.php',
'yii\base\ModelEvent' => YII2_PATH . '/base/ModelEvent.php',
'yii\base\Module' => YII2_PATH . '/base/Module.php',
Expand All @@ -56,6 +57,7 @@
'yii\behaviors\SluggableBehavior' => YII2_PATH . '/behaviors/SluggableBehavior.php',
'yii\behaviors\TimestampBehavior' => YII2_PATH . '/behaviors/TimestampBehavior.php',
'yii\caching\ApcCache' => YII2_PATH . '/caching/ApcCache.php',
'yii\caching\ArrayCache' => YII2_PATH . '/caching/ArrayCache.php',
'yii\caching\Cache' => YII2_PATH . '/caching/Cache.php',
'yii\caching\ChainedDependency' => YII2_PATH . '/caching/ChainedDependency.php',
'yii\caching\DbCache' => YII2_PATH . '/caching/DbCache.php',
Expand Down Expand Up @@ -152,6 +154,7 @@
'yii\helpers\BaseArrayHelper' => YII2_PATH . '/helpers/BaseArrayHelper.php',
'yii\helpers\BaseConsole' => YII2_PATH . '/helpers/BaseConsole.php',
'yii\helpers\BaseFileHelper' => YII2_PATH . '/helpers/BaseFileHelper.php',
'yii\helpers\BaseFormatConverter' => YII2_PATH . '/helpers/BaseFormatConverter.php',
'yii\helpers\BaseHtml' => YII2_PATH . '/helpers/BaseHtml.php',
'yii\helpers\BaseHtmlPurifier' => YII2_PATH . '/helpers/BaseHtmlPurifier.php',
'yii\helpers\BaseInflector' => YII2_PATH . '/helpers/BaseInflector.php',
Expand All @@ -162,6 +165,7 @@
'yii\helpers\BaseVarDumper' => YII2_PATH . '/helpers/BaseVarDumper.php',
'yii\helpers\Console' => YII2_PATH . '/helpers/Console.php',
'yii\helpers\FileHelper' => YII2_PATH . '/helpers/FileHelper.php',
'yii\helpers\FormatConverter' => YII2_PATH . '/helpers/FormatConverter.php',
'yii\helpers\Html' => YII2_PATH . '/helpers/Html.php',
'yii\helpers\HtmlPurifier' => YII2_PATH . '/helpers/HtmlPurifier.php',
'yii\helpers\Inflector' => YII2_PATH . '/helpers/Inflector.php',
Expand Down Expand Up @@ -219,6 +223,7 @@
'yii\rest\UrlRule' => YII2_PATH . '/rest/UrlRule.php',
'yii\rest\ViewAction' => YII2_PATH . '/rest/ViewAction.php',
'yii\test\ActiveFixture' => YII2_PATH . '/test/ActiveFixture.php',
'yii\test\ArrayFixture' => YII2_PATH . '/test/ArrayFixture.php',
'yii\test\BaseActiveFixture' => YII2_PATH . '/test/BaseActiveFixture.php',
'yii\test\DbFixture' => YII2_PATH . '/test/DbFixture.php',
'yii\test\Fixture' => YII2_PATH . '/test/Fixture.php',
Expand Down Expand Up @@ -280,6 +285,7 @@
'yii\web\RequestParserInterface' => YII2_PATH . '/web/RequestParserInterface.php',
'yii\web\Response' => YII2_PATH . '/web/Response.php',
'yii\web\ResponseFormatterInterface' => YII2_PATH . '/web/ResponseFormatterInterface.php',
'yii\web\ServerErrorHttpException' => YII2_PATH . '/web/ServerErrorHttpException.php',
'yii\web\Session' => YII2_PATH . '/web/Session.php',
'yii\web\SessionIterator' => YII2_PATH . '/web/SessionIterator.php',
'yii\web\TooManyRequestsHttpException' => YII2_PATH . '/web/TooManyRequestsHttpException.php',
Expand Down
3 changes: 3 additions & 0 deletions framework/console/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* where `<route>` is a route to a controller action and the params will be populated as properties of a command.
* See [[options()]] for details.
*
* @property string $help This property is read-only.
* @property string $helpSummary This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
Expand Down
6 changes: 3 additions & 3 deletions framework/console/controllers/CacheController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
* ~~~
* #see list of available components to flush
* yii cache
*
*
* #flush particular components specified by their names
* yii cache/flush first second third
*
*
* #flush all cache components that can be found in the system
* yii cache/flush-all
* ~~~
*
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0
Expand Down
4 changes: 2 additions & 2 deletions framework/console/controllers/FixtureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
*
* #append fixtures to already loaded
* yii fixture User --append
*
*
* #load fixtures with different namespace.
* yii fixture/load User --namespace=alias\my\custom\namespace\goes\here
* ~~~
*
* The `unload` sub-command can be used similarly to unload fixtures.
*
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0
*/
Expand Down
Loading

0 comments on commit d2b864d

Please sign in to comment.