mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 03:01:21 +08:00
prepare for 2.0.0-rc release.
This commit is contained in:
@@ -93,7 +93,7 @@ class BaseYii
|
||||
*/
|
||||
public static function getVersion()
|
||||
{
|
||||
return '2.0.0-dev';
|
||||
return '2.0.0-rc';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -33,6 +33,7 @@ return [
|
||||
'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',
|
||||
@@ -56,6 +57,7 @@ return [
|
||||
'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',
|
||||
@@ -152,6 +154,7 @@ return [
|
||||
'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',
|
||||
@@ -162,6 +165,7 @@ return [
|
||||
'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',
|
||||
@@ -219,6 +223,7 @@ return [
|
||||
'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',
|
||||
@@ -280,6 +285,7 @@ return [
|
||||
'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',
|
||||
|
||||
@@ -27,6 +27,9 @@ use yii\helpers\Console;
|
||||
* 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
|
||||
*/
|
||||
|
||||
@@ -19,14 +19,14 @@ use yii\console\Exception;
|
||||
* ~~~
|
||||
* #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
|
||||
|
||||
@@ -32,13 +32,13 @@ use yii\test\FixtureTrait;
|
||||
*
|
||||
* #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
|
||||
*/
|
||||
|
||||
@@ -118,8 +118,6 @@ use yii\caching\Cache;
|
||||
* read-only.
|
||||
* @property QueryBuilder $queryBuilder The query builder for the current DB connection. This property is
|
||||
* read-only.
|
||||
* @property array $queryCacheInfo The current query cache information, or null if query cache is not enabled.
|
||||
* This property is read-only.
|
||||
* @property Schema $schema The schema information for the database opened by this connection. This property
|
||||
* is read-only.
|
||||
* @property Connection $slave The currently active slave connection. Null is returned if there is slave
|
||||
|
||||
@@ -19,8 +19,8 @@ use yii\helpers\HtmlPurifier;
|
||||
use yii\helpers\Html;
|
||||
|
||||
/**
|
||||
* Formatter provides a set of commonly used data formatting methods.
|
||||
*
|
||||
* Formatter provides a set of commonly used data formatting methods.
|
||||
*
|
||||
* The formatting methods provided by Formatter are all named in the form of `asXyz()`.
|
||||
* The behavior of some of them may be configured via the properties of Formatter. For example,
|
||||
* by configuring [[dateFormat]], one may control how [[asDate()]] formats the value into a date string.
|
||||
|
||||
@@ -13,7 +13,7 @@ use yii\base\InvalidConfigException;
|
||||
|
||||
/**
|
||||
* ArrayFixture represents arbitrary fixture that can be loaded from PHP files.
|
||||
*
|
||||
*
|
||||
* @author Mark Jebri <mark.github@yandex.ru>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
@@ -31,6 +31,9 @@ use yii\helpers\Url;
|
||||
* ]
|
||||
* ```
|
||||
*
|
||||
* @property AssetConverterInterface $converter The asset converter. Note that the type of this property
|
||||
* differs in getter and setter. See [[getConverter()]] and [[setConverter()]] for details.
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
@@ -65,7 +65,6 @@ use yii\helpers\StringHelper;
|
||||
* @property string $queryString Part of the request URL that is after the question mark. This property is
|
||||
* read-only.
|
||||
* @property string $rawBody The request body. This property is read-only.
|
||||
* @property string $rawCsrfToken The random token for CSRF validation. This property is read-only.
|
||||
* @property string $referrer URL referrer, null if not present. This property is read-only.
|
||||
* @property string $scriptFile The entry script file path.
|
||||
* @property string $scriptUrl The relative URL of the entry script.
|
||||
|
||||
@@ -35,6 +35,7 @@ use yii\helpers\StringHelper;
|
||||
* ~~~
|
||||
*
|
||||
* @property CookieCollection $cookies The cookie collection. This property is read-only.
|
||||
* @property string $downloadHeaders The attachment file name. This property is write-only.
|
||||
* @property HeaderCollection $headers The header collection. This property is read-only.
|
||||
* @property boolean $isClientError Whether this response indicates a client error. This property is
|
||||
* read-only.
|
||||
|
||||
Reference in New Issue
Block a user