CHANGELOG.md 5.07 KB
Newer Older
1 2 3
Yii Framework 2 Change Log
==========================

Qiang Xue committed
4 5 6
2.0.0 beta under development
----------------------------

7
- Bug #1446: Logging while logs are processed causes infinite loop (qiangxue)
Qiang Xue committed
8
- Bug #1497: Localized view files are not correctly returned (mintao)
9
- Bug #1500: Log messages exported to files are not separated by newlines (omnilight, qiangxue)
10
- Bug #1504: Debug toolbar isn't loaded successfully in some environments when xdebug is enabled (qiangxue)
11
- Bug #1509: The SQL for creating Postgres RBAC tables is incorrect (qiangxue)
12
- Bug #1545: It was not possible to execute db Query twice, params where missing (cebe)
13
- Bug #1550: fixed the issue that JUI input widgets did not property input IDs.
14
- Bug #1654: Fixed the issue that a new message source object is generated for every new message being translated (qiangxue)
15
- Bug #1582: Error messages shown via client-side validation should not be double encoded (qiangxue)
16
- Bug #1591: StringValidator is accessing undefined property (qiangxue)
17
- Bug #1597: Added `enableAutoLogin` to basic and advanced application templates so "remember me" now works properly (samdark)
18
- Bug: Fixed `Call to a member function registerAssetFiles() on a non-object` in case of wrong `sourcePath` for an asset bundle (samdark)
19
- Bug: Fixed incorrect event name for `yii\jui\Spinner` (samdark)
20
- Bug: Json::encode() did not handle objects that implement JsonSerializable interface correctly (cebe)
21
- Bug: Fixed issue with tabular input on ActiveField::radio() and ActiveField::checkbox() (jom)
22
- Enh #797: Added support for validating multiple columns by `UniqueValidator` and `ExistValidator` (qiangxue)
23
- Enh #1293: Replaced Console::showProgress() with a better approach. See Console::startProgress() for details (cebe)
24 25
- Enh #1406: DB Schema support for Oracle Database (p0larbeer, qiangxue)
- Enh #1437: Added ListView::viewParams (qiangxue)
26
- Enh #1469: ActiveRecord::find() now works with default conditions (default scope) applied by createQuery (cebe)
27
- Enh #1499: Added `ActionColumn::controller` property to support customizing the controller for handling GridView actions (qiangxue)
28
- Enh #1523: Query conditions now allow to use the NOT operator (cebe)
Alexander Makarov committed
29
- Enh #1552: It is now possible to use multiple bootstrap NavBar in a single page (Alex-Code)
30
- Enh #1572: Added `yii\web\Controller::createAbsoluteUrl()` (samdark)
31
- Enh #1579: throw exception when the given AR relation name does not match in a case sensitive manner (qiangxue)
32
- Enh #1581: Added `ActiveQuery::joinWith()` and `ActiveQuery::innerJoinWith()` to support joining with relations (qiangxue)
Qiang Xue committed
33
- Enh #1601: Added support for tagName and encodeLabel parameters in ButtonDropdown (omnilight)
34
- Enh #1611: Added `BaseActiveRecord::markAttributeDirty()` (qiangxue)
35
- Enh #1634: Use masked CSRF tokens to prevent BREACH exploits (qiangxue)
36
- Enh #1641: Added `BaseActiveRecord::updateAttributes()` (qiangxue)
Mark committed
37
- Enh #1646: Added postgresql `QueryBuilder::checkIntegrity` and `QueryBuilder::resetSequence` (Ragazzo)
38
- Enh #1645: Added `Connection::$pdoClass` property (Ragazzo)
39
- Enh: Added `favicon.ico` and `robots.txt` to defauly application templates (samdark)
40
- Enh: Added `Widget::autoIdPrefix` to support prefixing automatically generated widget IDs (qiangxue)
41
- Enh: Support for file aliases in console command 'message' (omnilight)
42 43
- Enh: Sort and Pagination can now create absolute URLs (cebe)
- Chg #1610: `Html::activeCheckboxList()` and `Html::activeRadioList()` will submit an empty string if no checkbox/radio is selected (qiangxue)
44
- Chg #1643: Added default value for `Captcha::options` (qiangxue)
45
- Chg: Renamed `yii\jui\Widget::clientEventsMap` to `clientEventMap` (qiangxue)
46
- Chg: Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()` (qiangxue)
47
- Chg: Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator` (qiangxue)
48
- Chg: Added `yii\widgets\InputWidget::options` (qiangxue)
49
- Chg: Changed the signature of `urlCreator` and button creators for `yii\gridview\ActionColumn` (qiangxue)
Qiang Xue committed
50
- New #1438: [MongoDB integration](https://github.com/yiisoft/yii2-mongodb) ActiveRecord and Query (klimov-paul)
51
- New #1393: [Codeception testing framework integration](https://github.com/yiisoft/yii2-codeception) (Ragazzo)
Qiang Xue committed
52 53

2.0.0 alpha, December 1, 2013
54
---------------------------
55

56
- Initial release.
57 58 59 60 61 62 63 64 65
- Official extensions released in this version:
  - [Twitter bootstrap 3.0](https://github.com/yiisoft/yii2-bootstrap)
  - [Jquery UI](https://github.com/yiisoft/yii2-jui)

  - [Debug Toolbar](https://github.com/yiisoft/yii2-debug)
  - [Gii code generator](https://github.com/yiisoft/yii2-gii)

  - [Elasticsearch integration](https://github.com/yiisoft/yii2-elasticsearch): ActiveRecord and Query
  - [Redis integration](https://github.com/yiisoft/yii2-redis): ActiveRecord, Cache and Session
Carsten Brandt committed
66
  - [Sphinx integration](https://github.com/yiisoft/yii2-sphinx): ActiveRecord and Query
67 68 69 70 71

  - [Swiftmailer](https://github.com/yiisoft/yii2-swiftmailer)

  - [Smarty View Renderer](https://github.com/yiisoft/yii2-smarty)
  - [Twig View Renderer](https://github.com/yiisoft/yii2-twig)