diff --git a/apps/advanced/composer.json b/apps/advanced/composer.json index 14487e3ccb1..fd1c5894550 100644 --- a/apps/advanced/composer.json +++ b/apps/advanced/composer.json @@ -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": "*", diff --git a/apps/basic/composer.json b/apps/basic/composer.json index 56756ec817e..faf0732a11e 100644 --- a/apps/basic/composer.json +++ b/apps/basic/composer.json @@ -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": "*", diff --git a/apps/benchmark/composer.json b/apps/benchmark/composer.json index c8ed58953a0..81f3eedb2a9 100644 --- a/apps/benchmark/composer.json +++ b/apps/benchmark/composer.json @@ -15,7 +15,7 @@ "config": { "vendor-dir": "protected/vendor" }, - "minimum-stability": "dev", + "minimum-stability": "stable", "require": { "php": ">=5.4.0", "yiisoft/yii2": "*" diff --git a/extensions/apidoc/CHANGELOG.md b/extensions/apidoc/CHANGELOG.md index 2413804026a..c379555c2ad 100644 --- a/extensions/apidoc/CHANGELOG.md +++ b/extensions/apidoc/CHANGELOG.md @@ -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) diff --git a/extensions/authclient/CHANGELOG.md b/extensions/authclient/CHANGELOG.md index c3ad3bbd5ee..46b22958ccd 100644 --- a/extensions/authclient/CHANGELOG.md +++ b/extensions/authclient/CHANGELOG.md @@ -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) diff --git a/extensions/bootstrap/CHANGELOG.md b/extensions/bootstrap/CHANGELOG.md index 6a18237ba47..3b69afa8ae7 100644 --- a/extensions/bootstrap/CHANGELOG.md +++ b/extensions/bootstrap/CHANGELOG.md @@ -1,7 +1,7 @@ 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) @@ -9,7 +9,7 @@ Yii Framework 2 bootstrap extension Change Log - 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) diff --git a/extensions/codeception/CHANGELOG.md b/extensions/codeception/CHANGELOG.md index 679a645bde3..e9ff73f4f16 100644 --- a/extensions/codeception/CHANGELOG.md +++ b/extensions/codeception/CHANGELOG.md @@ -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. diff --git a/extensions/composer/CHANGELOG.md b/extensions/composer/CHANGELOG.md index 1571ac260b9..2dc5f86459c 100644 --- a/extensions/composer/CHANGELOG.md +++ b/extensions/composer/CHANGELOG.md @@ -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. diff --git a/extensions/debug/CHANGELOG.md b/extensions/debug/CHANGELOG.md index 9efdef6924e..2690df0b80d 100644 --- a/extensions/debug/CHANGELOG.md +++ b/extensions/debug/CHANGELOG.md @@ -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) diff --git a/extensions/elasticsearch/CHANGELOG.md b/extensions/elasticsearch/CHANGELOG.md index 9659a08da75..4669052f857 100644 --- a/extensions/elasticsearch/CHANGELOG.md +++ b/extensions/elasticsearch/CHANGELOG.md @@ -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) diff --git a/extensions/faker/CHANGELOG.md b/extensions/faker/CHANGELOG.md index e6f08090064..f91b2d3be16 100644 --- a/extensions/faker/CHANGELOG.md +++ b/extensions/faker/CHANGELOG.md @@ -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. diff --git a/extensions/gii/CHANGELOG.md b/extensions/gii/CHANGELOG.md index c581413c209..d6bc7fb7d5f 100644 --- a/extensions/gii/CHANGELOG.md +++ b/extensions/gii/CHANGELOG.md @@ -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) diff --git a/extensions/imagine/CHANGELOG.md b/extensions/imagine/CHANGELOG.md index c13516a878c..982b3877882 100644 --- a/extensions/imagine/CHANGELOG.md +++ b/extensions/imagine/CHANGELOG.md @@ -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. diff --git a/extensions/jui/CHANGELOG.md b/extensions/jui/CHANGELOG.md index 438e6155dda..9831db1285a 100644 --- a/extensions/jui/CHANGELOG.md +++ b/extensions/jui/CHANGELOG.md @@ -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. diff --git a/extensions/mongodb/CHANGELOG.md b/extensions/mongodb/CHANGELOG.md index 86c48461c70..30ca3934b93 100644 --- a/extensions/mongodb/CHANGELOG.md +++ b/extensions/mongodb/CHANGELOG.md @@ -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) diff --git a/extensions/redis/CHANGELOG.md b/extensions/redis/CHANGELOG.md index 24faebfc4e5..bfeecf37a83 100644 --- a/extensions/redis/CHANGELOG.md +++ b/extensions/redis/CHANGELOG.md @@ -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) diff --git a/extensions/smarty/CHANGELOG.md b/extensions/smarty/CHANGELOG.md index f438980cb7b..e2f19b5b53a 100644 --- a/extensions/smarty/CHANGELOG.md +++ b/extensions/smarty/CHANGELOG.md @@ -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) diff --git a/extensions/sphinx/CHANGELOG.md b/extensions/sphinx/CHANGELOG.md index ab30363c868..57ba5ad4210 100644 --- a/extensions/sphinx/CHANGELOG.md +++ b/extensions/sphinx/CHANGELOG.md @@ -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) diff --git a/extensions/swiftmailer/CHANGELOG.md b/extensions/swiftmailer/CHANGELOG.md index f6c6569a9b2..9825c4656d8 100644 --- a/extensions/swiftmailer/CHANGELOG.md +++ b/extensions/swiftmailer/CHANGELOG.md @@ -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. diff --git a/extensions/twig/CHANGELOG.md b/extensions/twig/CHANGELOG.md index 8cb954c559b..c9f635c538f 100644 --- a/extensions/twig/CHANGELOG.md +++ b/extensions/twig/CHANGELOG.md @@ -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. diff --git a/framework/BaseYii.php b/framework/BaseYii.php index a4d24ec0261..1f1efba1983 100644 --- a/framework/BaseYii.php +++ b/framework/BaseYii.php @@ -93,7 +93,7 @@ class BaseYii */ public static function getVersion() { - return '2.0.1-dev'; + return '2.0.1'; } /** diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index e63319d7267..28202be246d 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -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) @@ -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) @@ -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) @@ -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 ----------------------