No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

CHANGELOG.md 148KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610
  1. Yii Framework 2 Change Log
  2. ==========================
  3. 2.0.10 October 20, 2016
  4. -----------------------
  5. - Bug #7670: Added `yii\web\UrlNormalizer` for normalizing requests with and without trailing slashes (rob006, cronfy, klimov-paul)
  6. - Bug #7670: Added `UrlNormalizer` for normalizing requests with and without trailing slashes (rob006, cronfy, klimov-paul)
  7. - Bug #9027: Fixed descendant class of `yii\web\UploadedFile` returns parent instances in case invoked after it (andrewnester)
  8. - Bug #9101: Fixed `yii\web\View` to respect `yii\web\AssetManager::appendTimstamp` property (githubjeka, silverfire)
  9. - Bug #9277: Fixed `yii\console\controllers\AssetController` looses custom options of 'target' bundles (petrabarus, klimov-paul)
  10. - Bug #9561: Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes (klimov-paul, Ni-san)
  11. - Bug #10358: Fixed race condition in `yii.js` AJAX prefilter (silverfire)
  12. - Bug #10563: Fixed forming `Content-Disposition` header for file downloads (samdark)
  13. - Bug #10567: Fixed `yii\console\controllers\AssetController` looses bundle override configuration, which makes it external one (klimov-paul)
  14. - Bug #10587: Latest used controller instance was not available in `Response::EVENT_AFTER_SEND` handler (samdark, andrewnester)
  15. - Bug #10681: Reverted fix of beforeValidate event calling in `yii.activeForm.js` (silverfire)
  16. - Bug #11347: Fixed `yii\widgets\Pjax::registerClientScript()` to pass custom `container` to the PJAX JS plugin (silverfire)
  17. - Bug #11352: Fixed `updateInputs()` method in `yii.activeForm.js` to prevent reading property of undefined (silverfire)
  18. - Bug #11461: Fixed migration tool error when create migrate with comma in `defaultValue` (pana1990, s-o-f)
  19. - Bug #11541: Fixed default MySQL integer display width for unsigned primary key (h311ion, rob006, cebe)
  20. - Bug #11715: Fixed JS validation when the same model's attribute file input is listed more than once on the same page (uaoleg)
  21. - Bug #11726: `yii\web\DbSession` was echoing database errors in production mode (samdark, pastuhov, deadkrolik)
  22. - Bug #11907: Fixed `yii\helpers\Console::getScreenSize()` on Windows was giving out width and height swapped (Spell6inder, samdark, cebe)
  23. - Bug #11912: Fixed PostgreSQL Schema to support negative default values for integer/float/decimal columns (nsknewbie)
  24. - Bug #11921: Fixed URL decoding in `yii.getQueryParams()` to handle `+` (plus) character properly (silverfire)
  25. - Bug #11922: Fixed `yii\log\FileTarget` does not apply `fileMode` for rotated via copy files (klimov-paul)
  26. - Bug #11947: Fixed `gridData` initialization in `yii.gridView.js` (pavlm)
  27. - Bug #11949: Fixed `yii\widgets\ActiveField::end()` generates close tag when it's `option['tag']` is `null` (egorio)
  28. - Bug #11977: Fixed `yii\rest\Serializer::serialize()` serializes DataProvider incorrectly, if models keys do not compose integer sequence (dcb9, klimov-paul)
  29. - Bug #11990: Fixed `yii\db\BaseActiveRecord::refresh()` may set incorrect `oldAttributes` values at some cases (only-victor)
  30. - Bug #12009: Do not render `for` field label attribute for active form `RadioList` and `CheckboxList` (shevchik87, samdark)
  31. - Bug #12030: Fixed `yii\base\Model::offsetExists()` throws an exception on un-existing field (klimov-paul)
  32. - Bug #12037: Fixed 2.0.7 regression in memcahe/memcached cache backend (samdark)
  33. - Bug #12043: Fixed `yii\helpers\Json::encode()` encodes empty array returned by `JsonSerializable::jsonSerialize()` as object (klimov-paul)
  34. - Bug #12053: `./yii migrate/create` was generating wrong code when using `bigPrimaryKey` (VojtechH, samdark)
  35. - Bug #12068: Added missing `LEVEL_PROFILE` for the syslog target (Mak-Di)
  36. - Bug #12100: Fixed `yii\filters\HttpCache` was sending an empty Pragma header (sergeymakinen)
  37. - Bug #12107: Fixed REST Serializer to validate input for 'expand' and 'fields' parameter, which crashed on array input (njspok, cebe)
  38. - Bug #12143: Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model (klimov-paul)
  39. - Bug #12152: Fixed BC break for `yii\validators\UniqueValidator` custom message when validating multiple attributes (rob006)
  40. - Bug #12293: Fixed MSSQL `yii\db\mssql\Schema::resolveTableNames()` when using linked database tables (hAppywAy)
  41. - Bug #12331: Fixed bug with incorrect currency formatter output, when `$thousandSeparator` was explicitly set (cebe)
  42. - Bug #12423: Fixed migration tool problem of creating fields with brackets in comment (pana1990)
  43. - Bug #12428: Fixed `yii\db\mysql\QueryBuilder` causes warning when insert default rows into a table without primary key (DrmagicE)
  44. - Bug #12431: Fix bug when lock file was not removed after `yii\mutex\FileMutex::release()` (rob006)
  45. - Bug #12446: Disable slaves when execute migrations to resolve master-slave replication no-sync (lichunqiang)
  46. - Bug #12463: Fixed `yii\web\Request::getBodyParams()` does not pass full 'content-type' value to `yii\web\RequestParserInterface::parse()` (klimov-paul)
  47. - Bug #12537: Fixes issues with spaces in `StringHelper:truncateHtml` (Alex-Code)
  48. - Bug #12554: Fixed `yii\validators\UniqueValidator` error of getting first model indexed by field (DrDeath72)
  49. - Bug #12599: Fixed casting of `binary()` type for MSSQL (silverfire)
  50. - Bug #12605: Make 'safe' validator work on write-only properties (arthibald, CeBe)
  51. - Bug #12629: Fixed `yii\widgets\ActiveField::widget()` to call `adjustLabelFor()` for `InputWidget` descendants (coderlex)
  52. - Bug #12649: Fixed consistency of `indexBy` handling for `yii\db\Query::column()` (silverfire)
  53. - Enh #384: Added ability to run migration from several locations via `yii\console\controllers\BaseMigrateController::$migrationNamespaces` (klimov-paul)
  54. - Enh #6996: Added `yii\web\MultipartFormDataParser`, which allows proper processing of 'multipart/form-data' encoded non POST requests (klimov-paul)
  55. - Enh #8719: Add support for HTML5 attributes on submitbutton (formaction/formmethod...) for ActiveForm (VirtualRJ)
  56. - Enh #9469: Added support for namespaced migrations via `yii\console\controllers\BaseMigrateController::migrationNamespaces` (klimov-paul)
  57. - Enh #9708: Added `yii\console\controllers\AssetController::deleteSource` option allowing deletion of the source asset files after compression (pana1990, klimov-paul)
  58. - Enh #9989: ActiveForm now respects formtarget, formmethod and formenctype attributes of submit button (AnatolyRugalev)
  59. - Enh #10243: Added `yii\data\Sort::setAttributeOrders()` method allowing manual setup of current sort (klimov-paul)
  60. - Enh #10583: Do not silence session errors in debug mode (samdark)
  61. - Enh #11096: Added support for PSR-2 style migration naming for namespaced migrations (klimov-paul)
  62. - Enh #11245: Added `yii\rbac\ManagerInterface::getChildRoles()` method, allowing finding child roles for the given one (githubjeka)
  63. - Enh #11275: Added possibility of unset or force replace former value in `yii\helpers\ArrayHelper::merge()` (mdmunir, rob006)
  64. - Enh #11309: Added `yii\web\Request::getHostName()` method that returns hostname of current request (rob006)
  65. - Enh #11494: `yii.reloadableScripts` now support wildcards with `*` character (silverfire)
  66. - Enh #11658: Added argument to `yii\grid\ActionColumn::urlCreator` callback, which holds reference to the column instance (klimov-paul)
  67. - Enh #11804: Added `yii\behaviors\AttributeTypecastBehavior` for maintaining of strict ActiveRecord attribute types (klimov-paul)
  68. - Enh #11835: Fixed `\yii\db\mssql\QueryBuilder::$typeMap[TYPE_TEXT]` - `NTEXT` data type was deprecated in MSSQL (githubjeka)
  69. - Enh #11844: Added the ability to customize HTML attributes of label and value tags in `\yii\widgets\DetailView` (githubjeka)
  70. - Enh #11950: Improve `yii\helpers\BaseArrayHelper::keyExists()` speed (egorio)
  71. - Enh #11979: Added `yii\mutex\OracleMutex` which implements mutex "lock" mechanism via Oracle locks (zlakomanoff)
  72. - Enh #12028: Add -h|--help option to console command to display help information (pana1990)
  73. - Enh #12038: Introduced `yii\base\ViewNotFoundException` which is thrown when views file doesn't exists, used it in `ViewAction` (samdark)
  74. - Enh #12048: Improved message extraction command performance (samdark)
  75. - Enh #12073: Added the ability to suppress the generation of input hint when it is specified through `yii\base\Model::attributeHints()` (PowerGamer1)
  76. - Enh #12082: Used `jQuery.on(` instead of event method to ensure forwards compatibility (newerton)
  77. - Enh #12099: `yii\filters\HttpCache` no longer returns 304 HTTP code when callbacks return null (sergeymakinen)
  78. - Enh #12193: Added the ability to suppress the generation of duplicate error messages in `yii\helpers\Html::errorSummary()`. Added the ability to display error messages beyond the first error for each model attribute (PowerGamer1)
  79. - Enh #12198: Added `time` and `datetime` validator short names (nkovacs)
  80. - Enh #12230: Allows BaseHtml::activeListInput to override the field value (RangelReale)
  81. - Enh #12296: Added value validation to `yii\log\Target::setLevels()` (Mak-Di)
  82. - Enh #12376: Added parameter to `yii.activeForm.js` `validate()` method to be able to force validation (DrDeath72)
  83. - Enh #12382: Changed `yii\widgets\MaskedInput` to use `jQuery` instead of `$` to prevent conflicts (samdark)
  84. - Enh #12440: Added `yii\base\Event::offAll()` method allowing clear all registered class-level event handlers (klimov-paul)
  85. - Enh #12499: When AJAX validation in enabled, `yii.activeForm.js` will run it forcefully on form submit to display all possible errors (silverfire)
  86. - Enh #12580: Make `yii.js` comply with strict and non-strict javascript mode to allow concatenation with external code (mikehaertl)
  87. - Enh #12664: Added support for wildcards for `optional` at `yii\filters\auth\AuthMethod` (mg-code)
  88. - Enh #12744: Added `afterInit` event to `yii.activeForm.js` (werew01f)
  89. - Enh: Method `yii\console\controllers\AssetController::getAssetManager()` automatically enables `yii\web\AssetManager::forceCopy` in case it is not explicitly specified (pana1990, klimov-paul)
  90. 2.0.9 July 11, 2016
  91. -------------------
  92. - Bug #6347: `inverseOf()` not working for dynamic relational queries (laszlovl)
  93. - Bug #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL (ricpelo)
  94. - Bug #9950: Updated `yii\grid\DataColumn::getHeaderCellLabel()` to extract attribute label from the `filterModel` of Grid (silverfire)
  95. - Bug #10613: Fixed PostgreSQL Schema to return correct column names for unique indexes that have mixed case column names (cebe)
  96. - Bug #10681: Fixed active form `beforeValidate` wasn't triggered in some cases (lynicidn)
  97. - Bug #11252: Use strict comparison on `ActiveRecord::hasAttribute()` to avoid cases where it returns true when a number is passed to it (Faryshta)
  98. - Bug #11322: Fixed incorrect error message in `yii\validators\UniqueValidator` for composite `targetAttribute` (PowerGamer1, silverfire, cebe)
  99. - Bug #11429: Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()` not to log error when source and language is same, but locales are different (silverfire)
  100. - Bug #11459: Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini (cartmanchen)
  101. - Bug #11498: Fixed inability to save serialized object into PostgreSQL binary column (klimov-paul)
  102. - Bug #11507: Fixed `yii\validators\EachValidator::validateAttribute()` does not respect `skipOnEmpty` rule parameter (webdevsega)
  103. - Bug #11523: Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*` (silverfire)
  104. - Bug #11527: Fixed `bigPrimaryKey()` for SQLite (dynasource)
  105. - Bug #11528: Fixed `yii\i18n\MessageFormatter` construction exception caught for PHP 7 compatibility (subdee, cebe)
  106. - Bug #11532: Fixed casting of empty char value to `null` resulting in integrity constraint violation for not null columns (samdark)
  107. - Bug #11536: Fixed regression introduced in 2.0.8, where scalar value was not allowed in `QueryBuilder` `IN` condition anymore (cebe)
  108. - Bug #11549: Fixed `yii\helpers\ArrayHelper::getValue()` to work properly with float keys (zsounder, AnikanovD)
  109. - Bug #11561: Fixed DI container throwing exceptions for optional dependencies (SamMousa)
  110. - Bug #11571: Fixed `yii\db\ColumnSchemaBuilder` to work with custom column types (andrey-mokhov, silverfire)
  111. - Bug #11662: Fixed `schema-oci.sql` for RBAC (jonny7)
  112. - Bug #11672: Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method (SamMousa)
  113. - Bug #11686: `yii\helpers\ArrayHelper::isIn()` comparison did not work in strict mode (taobig)
  114. - Bug #11693: Handle `yii\db\QueryBuilder::batchInsert()` calls with no data to insert (rob006)
  115. - Bug #11723: Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0" (tanakahisateru)
  116. - Bug #11735: Fixed `yii\web\UploadedFile` to return `null` when there's no file uploaded (brummm)
  117. - Bug #11739: Fixed `yii\helpers\ArrayHelper::index()` losing precision for float keys (AnikanovD)
  118. - Bug #11774: Fixed incorrect recusuive symlinks check in `yii\helpers\FileHelper` (AnikanovD)
  119. - Bug #11822: Fixed exception on non-string value provided as CSRF token (cebe)
  120. - Bug #11847: Fixed `yii\widgets\Pjax` to properly respond with partials when custom selector is used for container (pigochu, samdark)
  121. - Bug #11863: Fixed usage of `mb_substr()` with PHP < 5.4.8 where length of NULL was treated the same as 0 (samdark)
  122. - Bug #11865: Fixed setting `selected` for dropdown list using options (samdark)
  123. - Bug #11878: Fixed i18n gettext fallback language message loading (stevekr)
  124. - Bug #11896: Fix for DROP TRIGGER in migrations from RBAC. (barradas-alberto)
  125. - Enh #8795: Refactored `yii\web\User::loginByCookie()` in order to make it easier to override (maine-mike, silverfire)
  126. - Enh #9574: Implicit run `yii\db\ColumnSchemaBuilder::null()` when default value is set to `null`. (rob006)
  127. - Enh #9948: `yii\rbac\PhpManager` now invalidates script file cache performed by 'OPCache' or 'APC' on file saving (klimov-paul)
  128. - Enh #10422: Added `null` method on `yii\db\ColumnSchemaBuilder` to explicitly set column nullability (nevermnd)
  129. - Enh #11168: `yii\helpers\BaseHtml` now uses abstracted `booleanInput()` and `activeBooleanInput()` methods to render `radio()`, `checkbox()`, `activeRadio()` and `activeCheckbox()` (cesarnicola)
  130. - Enh #11195: Added ability to append custom string to schema builder column definition (df2, samdark)
  131. - Enh #11212: Added headers to PO file in `yii\i18n\GettextPoFile::save()` (stevekr)
  132. - Enh #11414: Files specified as `null` in `yii\web\AssetBundle` won't be registered (Razzwan)
  133. - Enh #11428: Speedup SQL query in `yii\db\oci\Schema::findColumns()` (SSiwek)
  134. - Enh #11432: Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response` (dasmfm)
  135. - Enh #11438: Configurable `yii\helpers\Markdown` default flavor (mdmunir)
  136. - Enh #11462: Added support of filtering rules to `yii\log\Target::logVar` (HaruAtari)
  137. - Enh #11462: Added `yii\helpers\BaseArrayHelper::filter()` method (HaruAtari)
  138. - Enh #11484: Speed up `yii\db\oci\Schema::loadTableSchema()` for Oracle DBMS (SSiwek)
  139. - Enh #11490: Added `yii\data\ArrayDataProvider::$modelClass` property to specify a model used to provide column labels even when data array is empty (PowerGamer1)
  140. - Enh #11591: Added support for wildcards for `only` and `except` at `yii\base\ActionFilter` (klimov-paul)
  141. - Enh #11679: Extracted `yii\rbac\CheckAccessInterface` from `yii\rbac\ManagerInterface` (SamMousa, samdark, mdomba)
  142. - Enh #11725: Added indexes on message tables (OndrejVasicek)
  143. - Enh #11729: Added `yii\grid\CheckboxColumn::$cssClass` property to specify a class added to checkbox input (thiagotalma)
  144. - Enh #11808: `_table` and `_column` suffixes are now required when generating migration (rob006)
  145. - Enh #11850: Introduced `yii\widgets\Pjax::$submitEvent` to be able to customize event triggering PJAX form submit (Bvanleeuwen)
  146. - Enh #11857: `yii\filters\AccessRule::$verbs` can now be configured in upper and lowercase (DrDeath72, samdark)
  147. - Chg #11364: Updated jQuery dependency to include versions `1.12.*` (cebe)
  148. - Chg #11683: Fixed fixture command to work with short syntax. `yii fixture "*, -User"` should be used instead of `yii fixture "*" -User` (Faryshta, samdark)
  149. 2.0.8 April 28, 2016
  150. --------------------
  151. - Bug #7627: Fixed `yii\widgets\ActiveField` to handle inputs AJAX validation with changed ID properly (dizeee)
  152. - Bug #7717: Fixed the bug that `$properties` parameter in `ArrayHelper::toArray()` was not passed to recursive calls (quantum13)
  153. - Bug #9074: Fixed JS call `$('#grid').yiiGridView('getSelectedRows')` when `GridView::$showHeader` is set to false (NekitoSP, silverfire)
  154. - Bug #9851: Fixed partial commit / rollback in nested transactions (sammousa)
  155. - Bug #9935: Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator (klimov-paul)
  156. - Bug #10201: Fixed bug in ActiveRecord, where relational data could not be fetched in case with composite key and join with IN condition (PaulVanSchayck, airmoi, joe-meyer, cebe)
  157. - Bug #10235: Fixed `yii\console\Application::runAction()` to not to corrupt response object (hiqsol)
  158. - Bug #10480: Fixed removing old identity cookie when loggin in as another user without logging out first (maine-mike)
  159. - Bug #10617: Fixed `yii\web\Request::getBodyParams()` returned `null` instead of empty array if request body is empty and content type is application/json (samdark)
  160. - Bug #10784: Fixed `yii\grid\CheckboxColumn` to set correct value when `yii\grid\CheckboxColumn::$checkboxOptions` closure is used (nukkumatti)
  161. - Bug #10850: Fixed unable to use 'definitions' and 'aliases' at `yii\widgets\MaskedInput` (rahimov, klimov-paul)
  162. - Bug #10884: Fixed `yii\i18n\MessageFormatter` for formatting messages when not all parameters are given (laxity7, cebe)
  163. - Bug #10935: Fixed cache key collision in `yii\web\UrlManager::createUrl()` (sammousa)
  164. - Bug #10946: Fixed parameters binding to the SQL query in `yii\db\mysqlSchema::findConstraints()` (silverfire)
  165. - Bug #10969: Fixed generator migration tool with decimal params in column (pana1990)
  166. - Bug #10974: `yii.js` - fixed error in ajaxPrefilter event handler, caused by blocked frame (maximal)
  167. - Bug #11012: Fixed `yii\web\UploadedFile::getBaseName()` to work with UTF-8 file names (hiscaler, silverfire)
  168. - Bug #11026: Fixed `yii\helpers\StringHelper::truncateWords()` to count words properly for non-English text (samdark, tol17)
  169. - Bug #11038: Fixed handling of intervals of 0 seconds in `yii\i18n\Formatter::asDuration()` (VirtualRJ)
  170. - Bug #11040: Check parameter 'recursive' and disable recursive copying with option 'recursive' => false in method BaseFileHelper::copyDirectory (Ni-san)
  171. - Bug #11052: Fixed `HtmlPurifier` configuration sequence (samdark)
  172. - Bug #11066: `yii.js` - fixed `getQueryParams()` function to handle URLs with anchors correctly (DrDeath72)
  173. - Bug #11088: Fixed bug with column name not being quoted correctly, when a quoted table name or a table name in prefix syntax was used (cebe, edgardmessias, Ni-san)
  174. - Bug #11093: Fixed `yii\db\QueryBuilder::buildAndCondition()` to add query params passed directly by `yii\db\Expression` (CedricYii, silverfire)
  175. - Bug #11125: Fixed `JSON_ERROR_SYNTAX` for `json_decode(null)` in PHP 7 (fps01)
  176. - Bug #11132: Fixed `yii\widgets\FragmentCache` not handling empty content correctly in all cases (kidol)
  177. - Bug #11188: Fixed wrong index usage in `CaptchaAction` when calling `imagefilledrectangle` (alsopub)
  178. - Bug #11196: Fixed VarDumper throws PHP Fatal when dumping `__PHP_Incomplete_Class` (DamianZ)
  179. - Bug #11220: NumberValidator now handles objects properly (samdark)
  180. - Bug #11221: Boolean validator generates incorrect error message (azaikin, githubjeka)
  181. - Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)
  182. - Bug #11228: `yii.activeForm.js` - AJAX validation will not be triggered if client side validation failed (silverfire)
  183. - Bug #11262: Enabled use of yii2 inside of PHAR packaged console applications (hiqsol)
  184. - Bug #11270: Fixed `yii\db\BaseActiveRecord::link()` method in order to support closure in `indexBy` for relations declaration (iushev)
  185. - Bug #11280: Descendants of `yii\console\controllers\BaseMigrateController`, like the one for MongoDB, unable to create new migration (klimov-paul)
  186. - Bug #11333: Avoid serializing PHP 7 errors (zuozp8)
  187. - Bug #11425: Fixed namespace conflict with Markdown helper and Console helper (cebe, mdmunir)
  188. - Bug: SQlite querybuilder did not create primary key with bigint for `TYPE_BIGPK` (cebe)
  189. - Enh #5469: Add mimetype validation by mask in FileValidator (kirsenn, samdark, silverfire)
  190. - Enh #7177, #10165: Added support for validating datetime and time values using intl short format to `DateValidator` (VirtualRJ, cebe)
  191. - Enh #8145, #8139, #10234 #11153: `yii\validators\Validator::$attributes` property now supports `!attribute` notation to validate attribute, but do not mark it as safe (mdmunir)
  192. - Enh #8148: Implemented ability to add comment on table and column in migration (vaseninm, silverfire)
  193. - Enh #8505: `yii\db\Query` now contains a andFilterCompare() method that allows filtering using operators in the query value (lennartvdd)
  194. - Enh #8602: `yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format (klimov-paul)
  195. - Enh #8639: Improve ActiveRecord to not create new instances of classes when objects are available (cebe)
  196. - Enh #8779: Automatically set `enctype` form option when using file input field (pana1990, arogachev)
  197. - Enh #9340: Adds `after()` and `first()` column schema builder modifiers (df2)
  198. - Enh #9425: `yii\db\Query::exists()` now uses SQL standard `EXISTS()` query via new `yii\db\QueryBuilder::selectExists()` method to improving performance in some cases (PowerGamer1)
  199. - Enh #9562: Adds `char` datatype to framework (df2)
  200. - Enh #9604: `yii\db\BaseActiveRecord` now triggers event `EVENT_AFTER_REFRESH` after a record is refreshed (raoul2000)
  201. - Enh #9893: `yii.js` handleAction enhanced to support for data-form attribute, so links can trigger specific forms (SamMousa)
  202. - Enh #10309: Extracted `yii\web\UrlManager` rule cache key into `$cacheKey` protected property (lordthorzonus)
  203. - Enh #10322: ActiveForm now respects `formtarget` attribute of submit button (AnatolyRugalev)
  204. - Enh #10451: Check of existence of `$_SERVER` in `yii\web\Request` before using it (quantum13)
  205. - Enh #10475: Extracted `getUrlFromCache()` and `setRuleToCache()` protected methods from `yii\web\UrlManager::createUrl()` (dmdark)
  206. - Enh #10487: `yii\helpers\BaseArrayHelper::index()` got a third parameter `$groupBy` to group the input array by the key in one or more dimensions (quantum13, silverfire, samdark)
  207. - Enh #10610: Added `BaseUrl::$urlManager` to be able to set URL manager used for creating URLs (samdark)
  208. - Enh #10631: Split getting label and rendering cell in `yii\grid\DataColumn::renderHeaderCellContent()` to make code simpler (t-kanstantsin, samdark)
  209. - Enh #10710: `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory (wallysalami, cebe, samdark)
  210. - Enh #10764: `yii\helpers\Html::tag()` and `::beginTag()` return content without any HTML when the `$tag` attribute is `false` or `null` (pana1990)
  211. - Enh #10840: Added `yii\console\Controller::optionAliases()` method to support aliases for commands (pana1990)
  212. - Enh #10889: Allows unsigned primary key column definitions (df2)
  213. - Enh #10908: Added Dependency Injection for Closure configuration (SamMousa)
  214. - Enh #10910: Fixed Captcha client side validation after image refresh, when controller is under module (silverfire)
  215. - Enh #10921: `__toString()` of column schema builder now adapts to column types (df2)
  216. - Enh #10931: Removed hard dependency of `yii\di\Container` on `Yii::$app` (SamMousa)
  217. - Enh #10937: `yii\web\User` will now confirm the request accepts an HTML response before redirecting to the login page. Added optional `$checkAcceptHeader` to `yii\web\User::loginRequired()` (sammousa)
  218. - Enh #10941: Added `yii\helpers\ArrayHelper::isTraversable()`, added support for traversable selections for dropdownList, radioList and checkboxList in `yii\helpers\Html` (sammousa)
  219. - Enh #10954: `yii\db\QueryBuilder` now accepts `Traversable` objects for `in` condition (SamMousa, silverfire)
  220. - Enh #10967: Simplified Javascript on the exception debug page (SamMousa)
  221. - Enh #10976: `yii\helpers\Inflector::transliterate()` now uses `strtr` instead of `str_replace` (DrDeath72)
  222. - Enh #11002: `yii\behaviors\AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified (Faryshta)
  223. - Enh #11056: Allow setting a custom logger configuration for `yii\log\Dispatcher` in configuration (bionoren, cebe)
  224. - Enh #11058: `yii\web\User::loginRequired()` now does not set return URL when request method is not GET (dawei101, silverfire)
  225. - Enh #11110: Added migrations for DB session (mdmunir)
  226. - Enh #11137: Added weak ETag support to `yii\filters\HttpCache`. It could be turned on via setting `$weakEtag` to `true` (particleflux)
  227. - Enh #11139: `yii\validators\EachValidator` injects specific attribute value in error message parameters (silverfire)
  228. - Enh #11166: migrate command new option `useTablePrefix` (Faryshta)
  229. - Enh #11187: migrate command now generates phpdoc for table migrations (Faryshta)
  230. - Enh #11207: migrate command can create foreign keys. (Faryshta)
  231. - Enh #11254: Added ability to attach RBAC rule using class name (mdmunir)
  232. - Enh #11285: `yii\base\Security` enhancements (tom--, samdark)
  233. - Avoid reading more bytes than needed from `/dev/urandom` and `/dev/random`.
  234. - Pefer `/dev/random` to `/dev/urandom` when running on FreeBSD.
  235. - Better RNG performance.
  236. - Enh #11336: Allow resettting `$hostInfo`, `$scriptUrl`, and `$pathInfo` in `yii\web\Request` and `$baseUrl`, and `$hostInfo` in `yii\web\UrlManager` to `null`, to make Yii determine the value again (cebe)
  237. - Enh: Added `yii\helpers\StringHelper::countWords()` that given a string returns number of words in it (samdark)
  238. - Chg #9854: Added `ActiveRecordInterface::populateRelation()` to respect the methods called by the implementation (SamMousa)
  239. - Chg #10726: Added `yii\rbac\ManagerInterface::canAddChild()` (dkhlystov, samdark)
  240. - Chg #10921: Inverts responsibility of database specific column schema builder classes (df2)
  241. - Chg #11071: `yii\helpers\BaseArrayHelper::isIn()` and `isTraversable()` since now throw `yii\base\InvalidParamException` instead of `InvalidArgumentException` (nukkumatti)
  242. - Chg #11283: `yii\db\ActiveRecord::unlink()` is not setting FK to `null` before deleting itself anymore (samdark)
  243. - Chg: HTMLPurifier dependency updated to `~4.6` (samdark)
  244. - New #8920: Added `yii\mutex\PgsqlMutex` which implements mutex "lock" mechanism via PgSQL locks (nineinchnick, CSharpRU)
  245. 2.0.7 February 14, 2016
  246. -----------------------
  247. - Bug #6351: Find MySQL FK constraints from `information_schema` tables instead of `SHOW CREATE TABLE` to improve reliability (nineinchnick)
  248. - Bug #6363, #8301, #8582, #9566: Fixed data methods and PJAX issues when used together (derekisbusy)
  249. - Bug #6876: Fixed RBAC migration MSSQL cascade problem (thejahweh)
  250. - Bug #7627: Fixed `yii\widgets\ActiveField` to handle inputs validation with changed ID properly (dynasource, cebe)
  251. - Bug #7806: Fixed `yii\grid\CheckboxColumn` fixed `_all` checkbox column name generation (cebe, silverfire)
  252. - Bug #7964: Fixed i18n message sources to load fallback messages in a smarter way (silverfire)
  253. - Bug #8348: Fixed `yii\helpers\BaseArrayHelper` fixed PHP Fatal Error: Nesting level too deep - recursive dependency? (andrewnester)
  254. - Bug #8466: Fixed `yii\validators\FileValidator` to display error for `tooBig` and `tooSmall` with formatted unit (silverfire)
  255. - Bug #8573: Fixed incorrect data type mapping for NUMBER to INTEGER or DECIMAL in Oracle (vbelogai)
  256. - Bug #8723: Fixed `yii\helpers\VarDumper::export()` unable to export circle referenced objects with `Closure` (klimov-paul)
  257. - Bug #9061: Fixed `yii.activeForm.js`: input onBlur event forces field validation (githubjeka)
  258. - Bug #9108: Negative number resulted in no formatting when using `yii\i18n\Formatter::asSize()` or `yii\i18n\Formatter::asShortSize()` (nxnx, cebe)
  259. - Bug #9288: Fixed `yii\helpers\FileHelper::createDirectory()` directory creation to be concurrency friendly (dynasource)
  260. - Bug #9314: Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user (hesna)
  261. - Bug #9323: Fixed `yii\console\controllers\MessageController` not using database connection specified in config (raccoon69, samdark)
  262. - Bug #9333: Fixed `yii\web\AssetManager` to publish bundles using symlink with nested directories in `hash` (silverfire)
  263. - Bug #9415: Fixed regression in 2.0.6 where on Oracle DB `PDO::ATTR_CASE = PDO::CASE_LOWER` did not work anymore (cebe)
  264. - Bug #9442: Fixed `yii\db\Migration::renameTable()` caused fatal error when using SQLite driver (fetus-hina)
  265. - Bug #9452: Fixed `yii\db\Query::where()` does not add params from directly passed `yii\db\Expression` (klimov-paul)
  266. - Bug #9454: Fixed MSSQL MARS wasn't working with transactions (daliran)
  267. - Bug #9583: Server response on invalid JSON request included a wrong message about "Internal Server Error" with status 500 (cebe)
  268. - Bug #9591: Fixed `yii.validation.js` code so it is compressable by YUICompressor (samdark, hofrob)
  269. - Bug #9596: Fixed `yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash'])` losing hash (alchimik, samdark)
  270. - Bug #9670: Fixed PJAX redirect in IE. `yii\web\Response::redirect()` - added check for `X-Ie-Redirect-Compatibility` header (silverfire)
  271. - Bug #9678: `yii\i18n\I18N::format()` wasn't able to handle named placeholder in "selectordinal" (samdark)
  272. - Bug #9681: `yii\helpers\Json::encode()` was erroring under CYGWIN (samdark)
  273. - Bug #9689: Hidden input on `Html::activeFileInput()` had the wrong name if a name was explicitly given (graphcon, cebe)
  274. - Bug #9707: Fixed Memcache duration which exceeds 30 days (vernik91)
  275. - Bug #9714: Fixed `yii\rbac\PhpManager::updateItem()` unable to save users assignments (rezident1307)
  276. - Bug #9754: Fixed `yii\web\Request` error when path info is empty (dynasource)
  277. - Bug #9790: Fixed `yii\db\sqlite\QueryBuilder` to generate proper SQL for UNION (romeOz, samdark)
  278. - Bug #9791: Fixed endless loop on file creation for non-existing device letters on windows (lukos, cebe)
  279. - Bug #9874: Fixed outputting exception stacktrace in non-debug mode when `Response::FORMAT_RAW` is used (nainoon)
  280. - Bug #9883: Passing a single `yii\db\Expression` to `Query::select()` or `::addSelect()` was not handled correctly in all cases (cebe)
  281. - Bug #9911: Fixed `yii\helpers\BaseStringHelper::explode()` code so it doesn't remove items equal to 0 when `skip_empty` is true (silverfire, kidol)
  282. - Bug #9924: Fixed `yii.js` handleAction corrupted parameter values containing quote (") character (silverfire)
  283. - Bug #9984: Fixed wrong captcha color in case Imagick is used (DrDeath72)
  284. - Bug #9999: Fixed `yii\web\UrlRule` to allow route parameter names with `-`, `_`, `.`characters (silverfire)
  285. - Bug #10029: Fixed `yii\widgets\MaskedInput` not working with PJAX (martrix78, samdark)
  286. - Bug #10052: Fixed `yii\i18n\Formatter` to work with huge numbers on 32-bit arch (necrox87, silverfire)
  287. - Bug #10101: Fixed assignments saving on role removing in `yii\rbac\PhpManager` (rezident1307)
  288. - Bug #10142: Fixed `yii\validators\EmailValidator` to check the length of email properly (silverfire)
  289. - Bug #10218: Fixed Flash messages not showing after logging out a user (andrewnester)
  290. - Bug #10263: Fixed `yii\validators\UniqueValidator` to work properly when model is not instance of `targetClass` (bupy7, githubjeka, silverfire)
  291. - Bug #10278: Fixed `yii\helpers\BaseJson` support \SimpleXMLElement data (SilverFire, LAV45)
  292. - Bug #10302: Fixed JS function `yii.getQueryParams`, which parsed array variables incorrectly (servocoder, silverfire)
  293. - Bug #10363: Fixed fallback float and integer formatting (AnatolyRugalev, silverfire)
  294. - Bug #10385: Fixed `yii\validators\CaptchaValidator` passed incorrect hashKey to JS validator when `captchaAction` begins with `/` (silverfire)
  295. - Bug #10467: Fixed `yii\di\Instance::ensure()` to work with minimum settings (LAV45)
  296. - Bug #10541: Fixed division by zero issue in `Console` helper progress bar (youmad)
  297. - Bug #10580: Fixed `yii\grid\GridView::guessColumns()` to work with numeric column names (silverfire)
  298. - Bug #10625: Fixed `activeForm.js` - when submit doesn't reload page, submit button value simulation with hidden input did not work (andrewnester)
  299. - Bug #10629: Fixed `yii\helpers\BaseStringHelper` - BaseStringHelper::truncateHtml adds suffix regardless of the string length (andrewnester)
  300. - Bug #10692: Fixed default value extraction in PostgreSQL Schema for null values (wallysalami, gabrielhomsi)
  301. - Bug #10739: Fixed `yii\web\UrlManager::parseRequest()` to treat request URL with more than one slash at the end as invalid (andrewnester)
  302. - Bug #10751: Fixed `yii\validators\UrlValidator` pattern to improve matching (silverfire)
  303. - Bug #10760: `yii\widgets\DetailView::normalizeAttributes()` fixed for arrayable models (boehsermoe)
  304. - Bug #10825: Fixed `yii\validators\EachValidator` does not respect `skipOnEmpty` rule parameter (klimov-paul)
  305. - Bug: Fixed generation of canonical URLs for `ViewAction` pages (samdark)
  306. - Bug: Fixed `mb_*` functions calls to use `UTF-8` or `Yii::$app->charset` (silverfire)
  307. - Enh #2377: Allow specifying a table alias when joining relations via `joinWith()` (cebe, nainoon)
  308. - Enh #3506: Added `yii\validators\IpValidator` to perform validation of IP addresses and subnets (SilverFire, samdark)
  309. - Enh #4972: Added `yii\db\ActiveQuery::alias()` to allow specifying a table alias for the model table without having to know the name (cebe, stepanselyuk)
  310. - Enh #5146: Added `yii\i18n\Formatter::asDuration()` method (nineinchnick, SilverFire)
  311. - Enh #5902: `yii\widgets\Pjax::options` now support special option `tag` to specify tag of container (Alex-Code)
  312. - Enh #6162, #9198: Added parameter visibleButtons for `yii\grid\ActionColumn` (fornit1917, silverfire)
  313. - Enh #7341: Client validation now skips disabled inputs (SamMousa)
  314. - Enh #7405: Added `yii\filters\auth\AuthMethod::optional` for optional authentification in all child classes (SilverFire)
  315. - Enh #7566: Improved `yii\validators\CompareValidator` default messages (slinstj)
  316. - Enh #7581: Added ability to specify range using anonymous function in `RangeValidator` (RomeroMsk)
  317. - Enh #7674: Added `yii\db\Connection::commandClass` to configure a command class that will be used by the connection (sammousa, silverfire, cebe)
  318. - Enh #8284: Added `yii\captcha\CaptchaAction::$imageLibrary` property allowing to set image rendering library (AnatolyRugalev)
  319. - Enh #8329: Added support of options for `message` console command (vchenin)
  320. - Enh #8613: `yii\widgets\FragmentCache` will not store empty content anymore which fixes some problems related to `yii\filters\PageCache` (kidol)
  321. - Enh #8649: Added total applied migrations to final report (vernik91)
  322. - Enh #8687: Added support for non-gregorian calendars, e.g. persian, taiwan, islamic to `yii\i18n\Formatter` (cebe, z-avanes, hooman-pro)
  323. - Enh #8824: Allow passing a `yii\db\Expression` to `Query::groupBy()` (cebe)
  324. - Enh #8995: `yii\validators\FileValidator::maxFiles` can be set to `0` to allow unlimited count of files (PowerGamer1, silverfire)
  325. - Enh #9282: Improved JSON error handling to support PHP 5.5 error codes (freezy-sk)
  326. - Enh #9337: Added `yii\db\ColumnSchemaBuilder::defaultExpression()` to support DB Expression as default value (kotchuprik)
  327. - Enh #9412: `yii\web\Response::sendHeaders()` does now set the status header last which negates certain magic PHP behavior regarding the `header()` function (nd4c, kidol)
  328. - Enh #9443: Added `unsigned()` to `ColumnSchemaBuilder` (samdark)
  329. - Enh #9465: ./yii migrate/create now generates code based on migration name and --fields (pana1990)
  330. - Enh #9573: Added `yii\rbac\ManagerInterface::getUserIdsByRole()` and implementations (samdark)
  331. - Enh #9635: Added default CSS class for `yii\grid\ActionColumn` header (arogachev, dynasource)
  332. - Enh #9643: Added migrations for DB cache (mdmunir)
  333. - Enh #9711: Added `yii\widgets\LinkPager::$pageCssClass` that allows to set default page class (ShNURoK42)
  334. - Enh #9733: Added Unprocessable Entity HTTP Exception (janfrs)
  335. - Enh #9762: Added `yii\web\JsonResponseFormatter::$encodeOptions` and `::$prettyPrint` for better JSON output formatting (cebe)
  336. - Enh #9783: jQuery inputmask dependency updated to `~3.2.2` (samdark)
  337. - Enh #9785: Added ability to invoke callback with dependency resolution to DI container (mdmunir, SamMousa)
  338. - Enh #9869: Allow path alias for SQLite database files in DSN config (ASlatius)
  339. - Enh #9901: Default `Cache.SerializerPermissions` configuration option for `HTMLPurifier` is set to `0775` (klimov-paul)
  340. - Enh #10056: Allowed any callable to be passed to `yii\grid\ActionColumn::$urlCreator` (freezy-sk)
  341. - Enh #10061: `yii\helpers\BaseInflector::transliterate()` is now public. Introduced different levels of transliteration strictness (silverfire)
  342. - Enh #10078: Added `csrf` option to `Html::beginForm()` to allow disabling the hidden csrf field generation (machour)
  343. - Enh #10086: `yii\base\Controller::viewPath` is now configurable (Sibilino)
  344. - Enh #10098: Changed `yii.confirm` context to the event's target DOM element which is triggered by clickable or changeable elements (lichunqiang)
  345. - Enh #10108: Added support for events in interfaces (omnilight)
  346. - Enh #10118: Allow easy extension of slug generation in `yii\behaviors\SluggableBehavior` (cebe, hesna, silverfire)
  347. - Enh #10149: Made `yii\db\Connection` serializable (Sam Mousa)
  348. - Enh #10154: Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::isIn()` and `ArrayHelper::isSubset()` (Sam Mousa)
  349. - Enh #10158: Added the possibility to specify CSS and Javascript options per file in `yii\web\AssetBundle` (machour)
  350. - Enh #10170: `Yii::powered()` now uses `Yii::t()` (SamMousa)
  351. - Enh #10217: Support for selecting multiple filter values with the same name was added to `yii.gridView.js` (omnilight, silverfire)
  352. - Enh #10255: Added Yii warning to session initialization if session was already started (AnatolyRugalev)
  353. - Enh #10264: Generation of HTML tags in Yii's JavaScript now uses jQuery style (silverfire)
  354. - Enh #10267: `yii.js` - added original event passing to `pjaxOptions` for links with `data-method` and `data-pjax` (servocoder, silverfire)
  355. - Enh #10319: `yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()` (klimov-paul)
  356. - Enh #10359: Support wildcard category name in `yii/console/controllers/MessageController` (rmrevin)
  357. - Enh #10390: Added ability to disable outer tag for `yii\helpers\BaseHtml::radiolist()`, `::checkboxList()` (TianJinRong, githubjeka, silverfire)
  358. - Enh #10535: Allow passing a `yii\db\Expression` to `yii\db\Query::orderBy()` and `yii\db\Query::groupBy()` (andrewnester, cebe)
  359. - Enh #10545: `yii\web\XMLResponseFormatter` changed to format models in a proper way (andrewnester)
  360. - Enh #10783: Added migration and unit-tests for `yii\i18n\DbMessageSource` (silverfire)
  361. - Enh #10797: Cleaned up requirements checker CSS (muhammadcahya)
  362. - Enh: Added last resort measure for `yii\helpers\FileHelper::removeDirectory()` fail to unlink symlinks under Windows (samdark)
  363. - Enh: `yii\behaviors\AttributeBehavior::getValue()` now respects the callable in array format (silverfire)
  364. - Chg #6419: Added `yii\web\ErrorHandler::displayVars` make list of displayed vars customizable. `$_ENV` and `$_SERVER` are not displayed by default anymore (silverfire)
  365. - Chg #9369: `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured (creocoder)
  366. - Chg #9411: `DetailView` now automatically sets container tag ID in case it's not specified (samdark)
  367. - Chg #9528: `Traversable` objects are now formatted as arrays in `yii\web\XmlResponseFormatter` to support SPL objects and Generators (MaXL-ru)
  368. - Chg #9878, #9879, #9880: Make `yii\base\Security` use `random_bytes()`, LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer `password_hash()` over `crypt()` (tom--)
  369. - Chg #9953: `yii\behaviors\TimestampBehavior::getValue()` changed to make value processing consistent with `AttributeBehavior::getValue()` (silverfire)
  370. - Chg #10296: Methods mset, mget and madd of `yii\caching\Cache` have been marked as deprecated (trejder, githubjeka)
  371. - Chg: ApcCache is now able to handle PHP 7 APCu (samdark)
  372. - Chg: `yii\behaviors\BlameableBehavior::getValue()` changed to make value processing consistent with `yii\behaviors\AttributeBehavior::getValue()` (silverfire)
  373. - New #10083: Added wrapper for PHP webserver (samdark)
  374. - New: Added new requirement: ICU Data version >= 49.1 (SilverFire)
  375. 2.0.6 August 05, 2015
  376. ---------------------
  377. - Bug #4763: Fixed display issue with overlapping call stack item on exception display page (cebe)
  378. - Bug #7305: Logging of Exception objects resulted in failure of the logger i.e. no logs being written (cebe)
  379. - Bug #7374: Use proper INSERT syntax with default values when no values are specified (nineinchnick)
  380. - Bug #7707: Client-side `trim` validator now passes the trimmed value to subsequent validators (nkovacs)
  381. - Bug #7764: `yii\helpers\ArrayHelper::toArray()` wasn't passing `$recursive` to `yii\base\Arrayable::toArray()` (brandonkelly)
  382. - Bug #8161: Fixed active form `data-method` submit bug when client validation is used (vbelogai)
  383. - Bug #8322: `yii\behaviors\TimestampBehavior::touch()` now throws an exception if owner is new record (klimov-paul)
  384. - Bug #8451: `yii\i18n\Formatter` did not allow negative unix timestamps as input for date formatting (cebe)
  385. - Bug #8483: Sequence name in `Schema::getLastInsertId()` was not properly quoted (nineinchnick)
  386. - Bug #8506: Cleaning of output buffer in `Widget::run()` conflicts with `Pjax` widget which did the cleanup itself (cebe, joester89)
  387. - Bug #8544: Fixed `yii\db\ActiveRecord` does not update attribute specified at `optimisticLock()` after save (klimov-paul)
  388. - Bug #8549: Fixed `yii\caching\FileCache` doesn't lock cache files when reading (iworker)
  389. - Bug #8551: `yii\pgsql\QueryBuilder::batchInsert()` may cause "undefined index" error (arkhamvm)
  390. - Bug #8585: Fixed `yii\helpers\Html::activeTextarea()` does not allow value overriding via options (klimov-paul)
  391. - Bug #8592: Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':') (klimov-paul)
  392. - Bug #8593: Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set (klimov-paul)
  393. - Bug #8595: Fixed `yii\rbac\DbManager::checkAccessFromCache()` to check against auth items loaded in cache recursively (achretien, qiangxue)
  394. - Bug #8606: Fixed `yii\web\Response::xSendFile()` does not reset format (vyants)
  395. - Bug #8627: Fixed `yii\db\Migration` produces incorrect results due to table schema caching (klimov-paul)
  396. - Bug #8661: Fixed `yii.activeForm.js` scrolling to top (nkovacs)
  397. - Bug #8684: Formatter ignored explicit decimal number settings when a default value is configured (leandrogehlen, cebe)
  398. - Bug #8772: `yii\db\ActiveQuery` failed removing duplicate records after join when the resultset did not contain the pk values e.g. after grouping (cebe)
  399. - Bug #8844: Added a workaround for an oracle bug when fetching information about table constraints and filtering by `CONSTRAINT_TYPE` (nidgetgod)
  400. - Bug #8900: Fixed determining active menu item with url-alias in route `yii\widgets\Menu::isItemActive()` (demi)
  401. - Bug #9006: Fixed bit column always returning true using certain version of PDO MySQL (stratoss, RusAlex, mj4444ru, samdark)
  402. - Bug #9046: Fixed problem with endless error loop when an error occurred after sending a stream or file download response to the user (cebe)
  403. - Bug #9059: Fixed PHP Notice in error handler view (dynasource, andrewnester, samdark)
  404. - Bug #9063: Workaround for MySQL losing table case when adding index (sebathi)
  405. - Bug #9076: Fixed `yii\filters\PageCache` not using the configured duration and dependency when caching the response data (kidol)
  406. - Bug #9091: `yii\web\UrlManager::createUrl()` did not create correct url when defaults were used, internal cache is now skipped in certain situations (cebe)
  407. - Bug #9127, #9128: Fixed MSSQL `yii\helpers\mssql\QueryBuilder::renameColumn()` and `yii\helpers\mssql\QueryBuilder::renameTable()` escaping (sitawit)
  408. - Bug #9161: Fixed `yii\web\Request` ignore `queryParams` when resolve request (zetamen)
  409. - Bug: Fixed string comparison in `yii\db\BaseActiveRecord::unlink()` which may result in wrong comparison result for hash valued primary keys starting with `0e` (cebe)
  410. - Bug: Pass correct action name to `yii\console\Controller::options()` when default action was requested (cebe)
  411. - Bug: Automatic garbage collection in `yii\caching\FileCache` was not triggered (kidol)
  412. - Bug: Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type (samdark)
  413. - Enh #3335: Implemented `yii\db\ColumnSchemaBuilder` (pana1990, vaseninm, samdark, cebe)
  414. - Enh #5991: Added `updateMessages()` to `yii.activeForm.js` to support manually updating ActiveForm messages (nkovacs)
  415. - Enh #6043: Specification for 'class' and 'style' in array format added to `yii\helpers\Html` (klimov-paul)
  416. - Enh #6853: Console application will now register PHP constants for `STDIN`, `STDOUT`, and `STDERR` itself if they are not defined (cebe)
  417. - Enh #7169: `yii\widgets\ActiveField` now uses corresponding methods for default parts rendering (klimov-paul)
  418. - Enh #7259: Added `errorAttributes` parameter to ActiveForm `afterValidate` event. Made scrolling to first error optional (nkovacs)
  419. - Enh #8070: `yii\console\controllers\MessageController` now sorts created messages, even if there is no new one, while saving to PHP file (klimov-paul)
  420. - Enh #8286: `yii\console\controllers\MessageController` improved allowing extraction of nested translator calls (klimov-paul)
  421. - Enh #8373: Check also `post_max_size` parameter in `yii\validators\FileValidator::getSizeLimit()` (maxxer)
  422. - Enh #8415: `yii\helpers\Html` allows correct rendering of conditional comments containing `!IE` (salaros, klimov-paul)
  423. - Enh #8444: Added `yii\widgets\LinkPager::$linkOptions` to allow configuring HTML attributes of the `a` tags (zinzinday)
  424. - Enh #8486: Added support to automatically set the `maxlength` attribute for `Html::activeTextArea()` and `Html::activePassword()` (klimov-paul)
  425. - Enh #8566: Added support for 'only' and 'except' options for `yii\web\AssetManager::publish()` (klimov-paul)
  426. - Enh #8574: Added `yii\console\controllers\MessageController` support .pot file creation (pgaultier)
  427. - Enh #8625: Added `markUnused` option to `yii\console\controllers\MessageController` (marius7383)
  428. - Enh #8670: Added support for saving extra fields in session table for `yii\web\DbSession` (klimov-paul)
  429. - Enh #8671: Extracted `yii\helpers\Html::escapeJsRegularExpression()` method from `yii\validators\RegularExpressionValidator` (silverfire, klimov-paul, samdark, qiangxue)
  430. - Enh #8903: PostgreSQL `yii\db\pgsql\QueryBuilder::createIndex()` can now specify the index method to use (LAV45)
  431. - Enh #8933: Yii is now able to properly handle HHVM fatal errors (dieend, samdark)
  432. - Enh #9011: Allow `yii\widgets\MaskedInput` to produce an input tag of a custom type (TriAnMan)
  433. - Enh #9038: Write warning to log in case `FileCache` fails to write into file (foccy)
  434. - Enh #9072: `yii\web\ErrorAction` displays 404 error instead of blank page on direct access (klimov-paul)
  435. - Enh #9149: Print directory migrationPath in a `yii migrate` command error. (RusAlex)
  436. - Enh #9177: Added password hash cost setting to Security component (freezy-sk)
  437. - Enh #9239: Better handling of `Json` errors (grzegorzkurtyka, samdark)
  438. - Enh #9246: Added `yii\web\UrlRule::getParamRules()` (df2)
  439. - Enh #9249: Added `hashCallback` in `yii\web\AssetManager` to allow custom hash generation for asset directory (petrabarus)
  440. - Enh #9263: Avoid extra DB query in RBAC DbManager in case auth item name is empty (samdark)
  441. - Enh #9268: Improved display of boolean parameters in logged SQL queries (arkhamvm, samdark)
  442. - Enh: Improved Console helper progress bar ETA time estimation, updated only once per second to avoid flapping (cebe)
  443. - Chg #6354: `yii\base\ErrorHandler::logException()` will now log the whole exception object instead of only its string representation (cebe)
  444. - Chg #8556: Extracted `yii\web\User::getAuthManager()` method (samdark)
  445. - Chg #9181: `yii\helpers\BaseStringHelper::truncateHtml()` is now using `runtime` directory for `HTMLPurifier` cache (webdevsega)
  446. 2.0.5 July 11, 2015
  447. -------------------
  448. - Bug #9070 (CVE-2015-5467): Fixed `ViewAction::resolveViewName()` not to accept `/../` and `/./` (thejahweh, samdark)
  449. 2.0.4 May 10, 2015
  450. ------------------
  451. - Bug #5042: Use `RETURNING` for inserts for pgsql and oci to support PKs with a custom default value expression (nineinchnick, klimov-paul)
  452. - Bug #6234: Fixed wrong table schema information for MSSQL when using multiple schemas (nineinchnick)
  453. - Bug #6642: Fixed the bug that using confirmation dialog via `data-confirm` in an `yii\widgets\ActiveForm` may cause the dialog to appear twice (pana1990, qiangxue)
  454. - Bug #6871: Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue (qiangxue)
  455. - Bug #7036: Fixed `yii\helpers\Html::dropDownList()` overrides label specified at 'groups' option (aktec, klimov-paul)
  456. - Bug #7473: Fixed `yii\console\controllers\AssetController` does not create missing folders for the target bundles (schmunk42, klimov-paul)
  457. - Bug #7894: Fixed incorrect URL config processing at `yii\web\Application::handleRequest()` and `yii\widgets\Menu::items` if route element is not a first one (nkovacs, klimov-paul)
  458. - Bug #7529: Fixed `yii\web\Response::sendContentAsFile()` that was broken in 2.0.3 (samdark)
  459. - Bug #7603: Fixed escape characters in `FormatConverter` to work with unicode characters (maddoger, cebe)
  460. - Bug #7656: Fixed `yii\rbac\DbManager::getRolesByUser()` and `yii\rbac\PhpManager::getRolesByUser()` to return roles only (samdark)
  461. - Bug #7757: Fix fetching tables schema for oci and mysql when `PDO::ATTR_CASE` is set (nineinchnick)
  462. - Bug #7761: Fixed formatting one digit month in date formatter using ICU format `L` (nkovacs)
  463. - Bug #7775: Added more strict check on controller IDs when they are being used to create controller instances on Windows (Bhoft, qiangxue)
  464. - Bug #7831: Add order when fetching database table names and constraints (nineinchnick)
  465. - Bug #7846: Fixed `yii\base\Model` does not recognize scenario declared by rules using 'except' (klimov-paul)
  466. - Bug #7847: `yii\db\ColumnSchema` was typecasting numerics to strings with incorrect decimal separator for some locales (nineinchnick)
  467. - Bug #7861: Fixed `yii\helpers\VarDumper::export()` fails to export object containing `Closure` (klimov-paul)
  468. - Bug #7867: Fixed `findUniqueIndexes()` not to perform any processing on unique index on function for pgsql (nineinchnick)
  469. - Bug #7868: Fixed fetching columns definition and composite foreign keys for oci (nineinchnick)
  470. - Bug #7868: Removed column's autoIncrement detection from oci (nineinchnick)
  471. - Bug #7868: Fixed creating raw sql (for logging) by skipping object and resource params (nineinchnick)
  472. - Bug #7868: Fixed `yii\db\Schema::getLastInsertID()`` by quoting sequence name (nineinchnick)
  473. - Bug #7957: Removed extra `parseFloat()` call for the `compare` js validator (CthulhuDen)
  474. - Bug #8012: Fixed fetching multiple relations between two tables for pgsql (nineinchnick)
  475. - Bug #8014: Fixed setting incorrect form "action" property after submitting a form using a link with "data-method" and containing "action" among "data-params" (samdark)
  476. - Bug #8032: `yii\rbac\PhpManager::updateItem()` was unable to rename item updated (ChristopheBrun, samdark)
  477. - Bug #8036: Fixed `yii\log\Logger` unable to export session id (klimov-paul)
  478. - Bug #8068: Fixed `yii\db\Query::count()` fails for query containing 'having' without 'group by' (klimov-paul)
  479. - Bug #8073: Fixed `yii\data\ArrayDataProvider::getKeys()` return wrong when `yii\data\ArrayDataProvider::$allModels` contain integer key (mdmunir, klimov-paul)
  480. - Bug #8082: Fixed `yii\db\BaseActiveRecord::getAttributeLabel()` return wrong label for related attribute, if several relations in chain share same name (klimov-paul)
  481. - Bug #8149: Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set (klimov-paul)
  482. - Bug #8158: Avoid exception when detecting console screen size fails on windows (EliasZ)
  483. - Bug #8165: Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to string convertable object attribute, like `MongoId` (klimov-paul)
  484. - Bug #8231: Configuration of GridView and DetailView where not preserved when used multiple times (cebe, idMolotov)
  485. - Bug #8273: Fixed `yii\widgets\FragmentCache` when `enabled` is false (nkovacs)
  486. - Bug #8291: Fixed numeric keys in `$_GET` transformed to 0-based, if 'pretty URL' enabled (quantum13, klimov-paul)
  487. - Bug #5053: DateValidator is now more robust against different timezone settings (cebe)
  488. - Bug (CVE-2015-3397): Added `yii\helpers\Json::htmlEncode()` to support safer JSON data encoding in HTML code (samdark, Wojciech Janusz, Tomasz Tokarski)
  489. - Enh #1468: Added ability to specify hints for model attributes via `attributeHints()` method (klimov-paul)
  490. - Enh #3376: Added `yii\validators\EachValidator`, which allows validation of the array attributes (klimov-paul)
  491. - Enh #5053: Added possibility to specify a format and time zone for the `timestampAttribute` of date validator making it fully usable for validating complete timestamps (cebe)
  492. - Enh #6442: Improved error message on `yii\helpers\FileHelper::createDirectory()` to include the path name of the directory (cebe)
  493. - Enh #6895: Added `ignoreCategories` config option for message command to ignore categories specified (samdark)
  494. - Enh #6975: Pressing arrows while focused in inputs of Active Form with `validateOnType` enabled no longer triggers validation (slinstj)
  495. - Enh #7409: Allow `yii\filters\auth\CompositeAuth::authMethods` to take authentication objects (fernandezekiel, qiangxue)
  496. - Enh #7443: Allow specification of the `$key` as an array at `yii\helpers\ArrayHelper::getValue()` (Alex-Code)
  497. - Enh #7488: Added `yii\helpers\StringHelper::explode()` to perform explode with trimming and skipping of empty elements (SilverFire, nineinchnick, creocoder, samdark)
  498. - Enh #7514: Added min/max validation to `yii\validators\DateValidator` (nkovacs)
  499. - Enh #7515: Added support to use `indexBy()` together with `column()` in query builder (qiangxue)
  500. - Enh #7530: Improved default values for `yii\data\Sort` link labels in a `ListView` when used with an `ActiveDataProvider` (cebe)
  501. - Enh #7539: `yii\console\controllers\AssetController` provides dependency trace in case bundle circular dependency detected (klimov-paul)
  502. - Enh #7562: `yii help` now lists all sub-commands by default (callmez)
  503. - Enh #7571: HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and `YII_DEBUG` is false (samdark)
  504. - Enh #7636: `yii\web\Session::getHasSessionId()` uses a more lenient way to check if session ID is provided in URL (robsch)
  505. - Enh #7637: Allow `yii\web\Request::validateCsrfToken()` to validate a manually provided token (miraage, qiangxue)
  506. - Enh #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options (wbraganca)
  507. - Enh #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema (nineinchnick)
  508. - Enh #7850: Added `yii\filters\PageCache::cacheCookies` and `cacheHeaders` to allow selectively caching cookies and HTTP headers (qiangxue)
  509. - Enh #7867: Implemented findUniqueIndexes for oci and mssql (nineinchnick)
  510. - Enh #7912: Added `aria-label` to ActionColumn buttons (LAV45, samdark)
  511. - Enh #7915: Added `yii\i18n\Formatter::$numberFormatterSymbols` to allow setting custom symbols for the internally used IntlNumberFormatter, e.g. currency signs (cebe)
  512. - Enh #7918: `yii\widgets\Pjax` got ability to avoid registering link/form handler via setting `false` to `$linkSelector`/`$formSelector` (usualdesigner, Alex-Code, samdark)
  513. - Enh #7973: Added `yii\db\Schema::getSchemaNames()` method (nineinchnick)
  514. - Enh #8027: Added support for using sub queries in simple Query WHERE conditions (cebe)
  515. - Enh #8055: `yii\rest\UrlRule::extraPatterns` should take precedence over `patterns` (Agrumas)
  516. - Enh #8064: Added ability to remove containing menu tag by setting `yii\widgets\Menu::$options['tag']` to `false` (kirsenn, samdark)
  517. - Enh #8078: 'links' and 'meta' envelope names are now configurable at `yii\rest\Serializer` (arturf)
  518. - Enh #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper (pgaultier)
  519. - Enh #8179: Added parameter to define whether the comparison of `yii\db\BaseActiveRecord::isAttributeChanged()` method will be made as identical (thiagotalma)
  520. - Enh #8194: Caching of the matched rules added to `yii\web\UrlManager::createUrl()` (laszlovl, klimov-paul)
  521. - Enh #8268: Allow `yii\db\QueryBuilder` to recognize more variations of `limit` and `offset` values (tino415, qiangxue)
  522. - Enh: `yii\i18n\Formatter` now shows more information about errors which occured when formatting values (cebe)
  523. - Enh: Added `yii\helper\Console::wrapText()` method to wrap indented text by console window width and used it in `yii help` command (cebe)
  524. - Enh: Implement batchInsert for oci (nineinchnick)
  525. - Enh: Detecting `yii\db\IntegrityException` for oci (nineinchnick)
  526. - Enh: `yii\widgets\LinkPager::$firstPageLabel` and `yii\widgets\LinkPager::$lastPageLabel` now could be set to true in order to use page number as label (samdark)
  527. - Chg #7924: Migrations in history are now ordered by time applied allowing to roll back in reverse order no matter how these were applied (samdark)
  528. - Chg: Updated dependency to `cebe/markdown` to version `1.1.x` (cebe)
  529. 2.0.3 March 01, 2015
  530. --------------------
  531. - Bug #5457: `yii\web\Cors` should handle `Access-Control-Request-Headers` in a case-insensitive manner (qiangxue)
  532. - Bug #6553: `yii\validators\DateValidator` returned valid for date "2012-12-12foo" with intl extension enabled (gajahlemu)
  533. - Bug #6919: Fixed wrong namespaces under advanced application's `TestCase` classes (ivokund)
  534. - Bug #6940: `yii\web\Response::sendContentAsFile()` may not send correct `content-length` header (sadgnome)
  535. - Bug #6969: `yii\helpers\ArrayHelper::htmlEncode()` and `htmlDecode()` should not remove non-string data (qiangxue)
  536. - Bug #7037: `yii\console\controllers\AssetController` now correctly handles relative image URLs if source and target CSS are under same directory (klimov-paul)
  537. - Bug #7055: composite IN condition was not generated correctly for certain DBMS (nineinchnick)
  538. - Bug #7074: `yii\data\ArrayDataProvider` did not correctly handle the case `Pagination::pageSize = 0` (kirsenn, qiangxue)
  539. - Bug #7172: Fixed problem with EmailValidator which did not extract domain correctly for DNS check (nbogol)
  540. - Bug #7209: `yii\helpers\Html::getInputId()`` now also replaces `.` with `-` to ensure a valid ID is generated (omnilight)
  541. - Bug #7211: Query caching should properly deal with the case when query result is false (qiangxue)
  542. - Bug #7218: `yii\captcha\CaptchaAction` should send response in JSON format (InteLigent, qiangxue)
  543. - Bug #7226: `yii\web\Request::getEtag()` should strip off `-gzip` which may be added by Apache (mcd-php)
  544. - Bug #7227: Query builder should respect column alias setting when `yii\db\Expression` is being selected (mdmunir, qiangxue)
  545. - Bug #7271: `yii\db\ActiveRecord::populateRecord()` should be called in late binding approach (jlorente)
  546. - Bug #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong (slavcodev, samdark)
  547. - Bug #7358: Fix trimming PHPDoc prefix with TAB indent in `yii\console\Controller::parseDocCommentSummary()` (gugglegum)
  548. - Bug #7384: Fix precision loss in log timestamps when using `yii\log\DBTarget` (samdark)
  549. - Bug #7425: `yii\widgets\ActiveField::radio()` should not generate the label twice (justinvoelker)
  550. - Enh #3168: Improved the performance of `yii\rbac\DbManager::checkAccess()` by caching mechanism (qiangxue)
  551. - Enh #3723: `yii\filters\PageCache` now supports caching response headers as well as non-HTML response content (qiangxue)
  552. - Enh #4710: Added `yii\web\AssetManager::appendTimestamp` to support cache busting for assets (qiangxue)
  553. - Enh #5663: Added support for using `data-params` to specify additional form data to be submitted via the `data-method` approach (usualdesigner, qiangxue)
  554. - Enh #5681: Allow customization of Menu::submenuTemplate in menu items (RobertBoes, otsec)
  555. - Enh #6106: Added ability to specify `encode` for each item of `yii\widgets\Breadcrumbs` (samdark, aleksanderd)
  556. - Enh #6361: Added `validateAttribute()` to `yii.activeForm.js` to support manually triggering data validation of an input (Alex-Code, qiang)
  557. - Enh #6493: Added support for the `Access-Control-Expose-Headers` header by `yii\filters\Cors` (usualdesigner)
  558. - Enh #6697: Added `yii\helpers\Url::current()` method that allows adding or removing parameters from current URL (samdark, callmez)
  559. - Enh #6852: Added `yii\helpers\BaseHtmlPurifier::helpers()` in order to be able to configure `HtmlPurifier` helper globally via subclassing (Alex-Code)
  560. - Enh #6882: Added `yii\web\ErrorHandler::getTypeUrl()` in order to allow providing custom types/classes/methods URLs for subclasses (brandonkelly)
  561. - Enh #6883: `yii\base\ErrorHandler::logException()` is now public (samdark)
  562. - Enh #6896: Added `yii\log\FileTarget::$enableRotation` to allow disabling log rotation when external tools are configured for this (cebe)
  563. - Enh #7008: Removed extra white space in GridView filter cell (uran1980)
  564. - Enh #7051: Added support for preventing swapping values between different cookies (pavimus, qiangxue)
  565. - Enh #7150: FormatConverter for date formats now supports single quote escaping (brandonkelly)
  566. - Enh #7255: Added support to allow widgets that use text input to specify input types (qiangxue)
  567. - Enh #7269: `yii\console\controllers\BaseMigrateController` now throws exception if directory specified doesn't exist and action isn't `create` (lynicidn, samdark)
  568. - Enh #7301: Added checking for ICU version in requirements warning about plural problems when it is lower than 49 (sidtj)
  569. - Enh #7332: Added ability to remove `yii\widgets\Menu` container tag by setting `options['tag']` to `false` (dynasource, samdark)
  570. - Enh #7350: Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes (Faryshta, qiangxue)
  571. - Enh #7357: Refactored `yii\db\ColumnSchema` by adding `typecast()` method to decouple `phpTypecast()` from `dbTypecast()` (mcd-php, qiangxue)
  572. - Enh #7361: The `trim` validator now works on the client side too (qiangxue)
  573. - Enh #7440: Added support to automatically set the `maxlength` attribute for `Html::activeTextInput()` (llfm)
  574. - Enh #7446: Added `Schema::TYPE_DOUBLE` to represent ANSI SQL Double Precision type (samdark)
  575. - Enh #7449: Added `encode` option to allow not encoding select options for `Html::dropDownList()` and `Html::listBox()` (yapi68, qiangxue)
  576. - Enh: Added support to `yii\di\Container` to instantiate and configure an object that implements `yii\base\Configurable` (qiangxue)
  577. - Chg #5690: adjusted paths in message config generated by `yii message/config` to reflect directory structure better (mikehaertl, samdark)
  578. - Chg #6661: Hyperlinks that are enclosed within an exist form will use the same form for submission if they specify both of the `href` and `data-method` attributes (qiangxue)
  579. - Chg #7094: Console confirmation must be answered correctly. To return `true`: `y` or `yes`. To return `false`: `n` or `no`. Any other input the question will be asked again (thiagotalma)
  580. - Chg #7130: Changed the signature of `ActiveRecord::findByCondition()` to simplify the implementation and usage (Faryshta)
  581. - Chg #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward (tom--)
  582. ### Apidoc Extension (yii2-apidoc)
  583. - no changes in this release.
  584. ### Authclient Extension (yii2-authclient)
  585. - Enh #6892: Default value of `yii\authclient\clients\Twitter::$authUrl` changed to 'authenticate', allowing usage of previous logged user without request an access (kotchuprik)
  586. ### Bootstrap Extension (yii2-bootstrap)
  587. - no changes in this release.
  588. ### Codeception Extension (yii2-codeception)
  589. - Bug #6978: DI Container is not reset when destroying application in functional tests (ivokund)
  590. ### Composer Extension (yii2-composer)
  591. - no changes in this release.
  592. ### Debug Extension (yii2-debug)
  593. - Bug #6903: Fixed display issue with phpinfo() table (kalayda, cebe)
  594. - Bug #7222: Debug toolbar wasn't displayed properly in rtl pages (mohammadhosain, johonunu, samdark)
  595. - Enh #6890: Added ability to filter by query type (pana1990)
  596. ### Elasticsearch Extension (yii2-elasticsearch)
  597. - no changes in this release.
  598. ### Faker Extension (yii2-faker)
  599. - no changes in this release.
  600. ### Gii Extension (yii2-gii)
  601. - Chg #7328: Changed the way CRUD generator translates "Create X". Now it's a whole string because of translation difficulties (samdark)
  602. ### Imagine Extension (yii2-imagine)
  603. - no changes in this release.
  604. ### Jui Extension (yii2-jui)
  605. - Enh #7127: `name` or `model` and `attribute` are no longer required properties of `yii\jui\InputWidget` (nirvana-msu, cebe)
  606. ### Mongodb Extension (yii2-mongodb)
  607. - Bug #7010: Fixed `yii\mongodb\Query::select` now allows excluding fields (Sammaye, klimov-paul)
  608. ### Redis Extension (yii2-redis)
  609. - no changes in this release.
  610. ### Smarty Extension (yii2-smarty)
  611. - Bug #6845: Fixed incorrect implementation of `{registerCssFile` and `{registerJsFile` (TomassunGitHub, samdark)
  612. - Bug #6991: Fixed exception when using `{use class='yii\bootstrap\Nav' type='function'}` (ivanlemeshev)
  613. ### Sphinx Extension (yii2-sphinx)
  614. - Bug #7198: `yii\sphinx\Query` no longer attempts to call snippets for the empty query result set (Hrumpa)
  615. ### Swiftmailer Extension (yii2-swiftmailer)
  616. - no changes in this release.
  617. ### Twig Extension (yii2-twig)
  618. - no changes in this release.
  619. 2.0.2 January 11, 2015
  620. ----------------------
  621. - Bug #5577: formatting date and time values for years >=2038 or <=1901 on 32bit systems will not use intl extension but fall back to the PHP implementation (cebe)
  622. - Bug #6080: Oracle DB schema did not load column types correctly (wenbin1989)
  623. - Bug #6404: advanced project template `Alert` widget was generating duplicate IDs in case of multiple flashes (SDKiller)
  624. - Bug #6557: Link URLs generated by `yii\widgets\Menu` are not encoded (qiangxue)
  625. - Bug #6632: `yii\di\Container::get()` did not handle config parameter correctly when it is passed as a constructor parameter (qiangxue)
  626. - Bug #6648: Added explicit type casting to avoid dblib issues on SQL Server 2014 (o-rey)
  627. - Bug #6691: Fixed console help description parsing with UTF8 characters (cebe)
  628. - Bug #6717: Fixed issue with UrlManager not matching a route on url creation when it was prefixed with `/` and pattern was empty (cebe)
  629. - Bug #6736: Removed `Content-Transfer-Encoding` from the list of default download headers (DaSourcerer)
  630. - Enh #4502: Added alias support to URL route when calling `yii\helpers\Url::toRoute()` and `yii\helpers\Url::to()` (qiangxue, lynicidn)
  631. - Enh #5194: `yii\console\controllers\AssetController` now handles bundle files from external resources properly (klimov-paul)
  632. - Enh #6247: Logger and error handler are now using slightly less memory (stepanselyuk, samdark)
  633. - Enh #6398: Added support for specifying dependent component in terms of a configuration array for classes such as `DbCache` (qiangxue)
  634. - Enh #6434: Added `yii\behaviors\SluggableBehavior::immutable` to support keeping the generated slug unchanged (trntv)
  635. - Enh #6467: `yii\widgets\ActiveForm` will scroll to the nearest visible element when the first error input is hidden (newartix)
  636. - Enh #6488: Support changing `yii\base\Theme::basePath` during runtime (qiangxue)
  637. - Enh #6618: Added Model::addErrors() (slavcodev, pana1990)
  638. - Enh #6739: Log `Target` now works also when there is no `Yii::$app` instance available, no message prefix will be added in this case (schmunk42)
  639. - Enh #6748: Improved HTML to Text converter in BaseMailer to generate more readable and correct text version of emails (cebe)
  640. - Chg #6427: In case of invalid route web application now throws exception with "Page not found" instead of "Invalid Route" (cebe, samdark)
  641. - Chg #6641: removed zero padding from ETag strings (DaSourcerer)
  642. - Chg #6678: `yii\behaviors\SluggableBehavior` will generate a new slug only when the slug attribute is empty or the source attribute is changed (qiangxue)
  643. ### Authclient Extension (yii2-authclient)
  644. - Bug #6502: Fixed `yii\authclient\OAuth2::refreshAccessToken()` does not save fetched token (sebathi)
  645. - Bug #6510: Fixed infinite redirect loop using default `yii\authclient\AuthAction::cancelUrl` (klimov-paul)
  646. ### Bootstrap Extension (yii2-bootstrap)
  647. - Bug #6672: `yii\bootstrap\Dropdown` should register client event handlers (qiangxue)
  648. ### Debug Extension (yii2-debug)
  649. - Bug #4820: Fixed reading incomplete debug index data in case of high request concurrency (martingeorg, samdark)
  650. - Chg #6572: Allow panels to stay even if they do not receive any debug data (qiangxue)
  651. ### Elasticsearch Extension (yii2-elasticsearch)
  652. - Enh: Added `ActiveFixture` class for testing fixture support for elasticsearch (cebe, viilveer)
  653. ### Gii Extension (yii2-gii)
  654. - Bug #6463: The Gii controller generator generates incorrect controller namespace (pana1990)
  655. - Enh #3665: Better default behavior for ModelSearch generated by the crud generator (qiangxue, mdmunir)
  656. ### Jui Extension (yii2-jui)
  657. - Enh #6570: Datepicker now uses fallback to find language files, e.g. application language is `de-DE` and the translation files does not exists, it will use `de` instead (cebe)
  658. - Enh #6471: Datepicker will now show an empty field when value is an empty string (cebe)
  659. ### Mongodb Extension (yii2-mongodb)
  660. - Bug #6376: Fixed lazy load of relations to `yii\mongodb\file\ActiveRecord` (klimov-paul)
  661. ### Redis Extension (yii2-redis)
  662. - Bug #6547: Fixed redis connection to deal with large data in combination with `mget()` (pyurin)
  663. ### Sphinx Extension (yii2-sphinx)
  664. - Bug #6621: Creating sub query at `yii\sphinx\Query::queryScalar()` fixed (klimov-paul)
  665. ### Twig Extension (yii2-twig)
  666. - Bug #6464: `path` and `url` weren't resolving aliases (samdark, lynicidn)
  667. 2.0.1 December 07, 2014
  668. -----------------------
  669. - Bug #4471: `yii\caching\ApcCache::getValues()` now returns array in case of APC is installed but not enabled in CLI mode (samdark, cebe)
  670. - Bug #4823: `yii message` accuracy and error handling were improved (samdark)
  671. - Bug #4889: Application was getting into redirect loop when user wasn't allowed accessing login page. Now shows 403 (samdark)
  672. - Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
  673. - Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
  674. - Bug #5448: Date formatter was doing timezone conversion on date only values resulting in different date displayed than provided (cebe)
  675. - Bug #5452: Errors occurring after the response is sent are not displayed (qiangxue)
  676. - Bug #5521: Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/' (klimov-paul)
  677. - Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
  678. - Bug #5584: `yii\rbac\DbRbacManager` should not delete items when deleting a rule on a database not supporting cascade update (mdmunir)
  679. - Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
  680. - Bug #5619: `yii\log\Target` should not attempt to start session when there is none (klimov-paul, qiangxue)
  681. - Bug #5657: `yii\caching\ApcCache::mset()` and `madd()` may cause warning in some APC setup (LAV45)
  682. - Bug #5665: The `currentPage` meta data in the RESTful result should be 1-based, similar to that in HTTP headers (qiangxue)
  683. - Bug #5682: The `asset` command would incorrectly combine CSS files when `yii\web\AssetManager::linkAssets` is true (dmvslv)
  684. - Bug #5702: Parenthesis should be automatically added to `yii\validators\Validator::whenClient` to avoid js error (mdmunir, qiangxue)
  685. - Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
  686. - Bug #5748: Smarty `{path` was generating absolute URLs instead of relative ones (samdark, motzel)
  687. - Bug #5768: When setting `data-confirm` attribute to a submit button, clicking on the button would not trigger form submission (qiangxue)
  688. - Bug #5780: `QueryBuilder::batchInsert()` may cause "undefined index" error (qiangxue)
  689. - Bug #5833: The `message` command fails with a FK constraint error when trying to update messages (qiangxue)
  690. - Bug #5863: Selecting all individual `yii\grid\CheckboxColumn` checkboxes in grid view wasn't resulting in "all" checkbox selected (samdark)
  691. - Bug #5893: `yii\helpers\ArrayHelper::toArray()` now applies `$properties` parameter for converting descending objects in recursive calls (otsec)
  692. - Bug #5925: `yii\helpers\ArrayHelper::htmlEncode()` does not work properly when the value being encoded is a nested array (tebazil)
  693. - Bug #5962: DateValidator was throwing a warning on invalid dates using the ICU format on Windows, Yii now works around this [PHP Bug](https://bugs.php.net/bug.php?id=68528) (cebe)
  694. - Bug #5997: The same message may be exported twice to log targets (klimov-paul)
  695. - Bug #6018: When setting the `encode` option via `yii\widgets\ActiveRecord::errorOptions`, it works the other way around (stanishevsky, qiangxue)
  696. - Bug #6049: `yii\db\Connection::getSchema()` for Oracle should return false when the table does not exist. Oracle does not support `ON UPDATE` clause. (wenbin1989)
  697. - Bug #6081: `yii\rbac\DbManager::getChildren()` was not quoting column name properly (wenbin1989)
  698. - Bug #6107: `yii message` was emptying existing translations in .po in case of multiple categories (samdark)
  699. - Bug #6112: `yii message` was incorrectly writing not yet translated strings in .po in case of multiple categories (samdark)
  700. - Bug #6172: `yii\rbac\DbManager` should properly quote table and column names (qiangxue)
  701. - Bug #6164: Added missing support for `yii\db\Expression` to `yii\db\QueryBuilder` `BETWEEN` and `LIKE` conditions (cebe)
  702. - Bug #6236: No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false (qiangxue)
  703. - Bug #6150: `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly (samdark)
  704. - Bug #6266: Clicking on reset button does not hide error summary when using ` (InteLigent, qiangxue)
  705. - Bug #6271: Query caching returns the same data when running the same SQL with `yii\widgets\ActiveForm` different fetch modes (grachov)
  706. - Bug #6279: `yii\db\Schema::getLastInsertID()` was passing wrong default schema name to PDO (samdark)
  707. - Bug #6305: `yii\i18n\Formatter::asParagraphs()` was not unicode-aware (samdark)
  708. - Bug #6311: Optimistic lock for ActiveRecord does not work as expected (qiangxue)
  709. - Bug #6367: Added `yii\gii\generators\crud\Generator` to support customizing view path for the generated CRUD controller (qiangxue)
  710. - Bug #6381: Client-side file validation should be disabled if the browser does not support it (Skysplit)
  711. - Bug: Gii console command help information does not contain global options (qiangxue)
  712. - Bug: `yii\web\UrlRule` was unable to create URLs for rules containing unicode characters (samdark)
  713. - Bug: `yii\web\AssetManager` should not publish disabled asset bundles (qiangxue)
  714. - Enh #608: Added `yii\web\AssetConverter::$forceConvert` (klimov-paul)
  715. - Enh #4146: Added `yii\bootstrap\ButtonDropdown::$containerOptions` (samdark)
  716. - Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
  717. - Enh #4263: Added migration and SQL schema files for `yii\log\DbTarget` (samdark)
  718. - Enh #4395: Added `$checkAjax` parameter to `yii\web\Response::redirect()` to support default redirection behavior for AJAX/PJAX requests (qiangxue)
  719. - Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)
  720. - Enh #4457: Added support for using noscript for css files registered through asset bundles and Html helper (samdark)
  721. - Enh #4492: Support PostgreSQL-specific syntax for `yii\db\QueryBuilder::alterColumn()` (qiangxue)
  722. - Enh #4643: Extra options specified in `yii\widgets\Breadcrumbs::links` will be treated as HTML attributes for the generated hyperlinks (qiangxue)
  723. - Enh #4739: Better display of exceptions when the response format is set as "raw" format (qiangxue)
  724. - Enh #4791: Added console output support and more colors for console commands (6pblcb, samdark, klimov-paul, Ragazzo)
  725. - Enh #5005: Added support to suppress loading the same CSS files in AJAX responses (tof06, qiangxue)
  726. - Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
  727. - Enh #5367: Added `yii\grid\DataColumn::encodeLabel` (SDKiller)
  728. - Enh #5480: Added defensive code to `yii\web\User::getIdentity()` to avoid potential infinite recursion (qiangxue)
  729. - Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
  730. - Enh #5503: Added support for `DateTimeImmutable` to `yii\i18n\Formatter` (olegtsvetkov, cebe)
  731. - Enh #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also
  732. it is now default for `yii\helpers\Json::encode()` (samdark)
  733. - Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
  734. - Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)
  735. - Enh #5627: Added `yii cache/flush-schema` console command to flush DB schema cache of a given database connection (6pblcb, samdark)
  736. - Enh #5646: Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly (aivus)
  737. - Enh #5683: Added `yii\i18n\Formatter::defaultTimeZone` for specifying the default time zone to use for datetime values stored in the database (cebe)
  738. - Enh #5688: Added optional `$formName` to `Model::loadMultiple()` to support customizing form name directly (qiangxue)
  739. - Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
  740. - Enh #5770: Added more PHP error names for `ErrorException` (mongosoft)
  741. - Enh #5799: `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button` (aleksanderd)
  742. - Enh #5806: Allow `Html::encode()` to be used when the application is not started (qiangxue)
  743. - Enh #5954: `yii message` command now shows user friendly error if it's not able to parse source file (samdark)
  744. - Enh #5983: Added `yii\helpers\Inflector::sentence()` (pana1990, qiangxue)
  745. - Enh #6113: Improved debugger configuration and request UI (schmunk42)
  746. - Enh #6207: Added support for truncating HTML strings using `StringHelper::truncate()` and `StringHelper::truncateWords()` (Alex-Code)
  747. - Enh #6318: Made widgets more error-tolerant and user-friendly when certain option values are null (qiangxue)
  748. - Enh: `Console::confirm()` now uses `Console::stdout()` instead of `echo` to be consistent with all other functions (cebe)
  749. - Enh: `yii\rbac\DbManager` migration now uses database component specified in component settings instead of always using default `db` (samdark)
  750. - Enh: Added `yii\base\Controller::renderContent()` (qiangxue)
  751. - Enh: `yii fixture` command now offers help if no arguments are provided instead of crashing (samdark)
  752. - Chg #3630: `yii\db\Command::queryInternal()` is now protected (samdark)
  753. - Chg #4277: `yii\grid\GridView` is no longer throwing an exception when results are empty and `columns` aren't defined (samdark)
  754. - Chg #5508: Dropped the support for the `--append` option for the `fixture` command (qiangxue)
  755. - Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)
  756. ### Apidoc Extension (yii2-apidoc)
  757. - Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. `setXyz()` (cebe)
  758. - Bug #5899: Incorrect class listed as `definedBy` reference for properties (cebe)
  759. - Bug: Guide and API renderer now work with relative paths/URLs (cebe)
  760. - Enh: Guide generator now skips `images` directory if it does not exist instead of throwing an error (cebe)
  761. - Enh: Made `--guidePrefix` option available as a command line option (cebe)
  762. ### Authclient Extension (yii2-authclient)
  763. - Bug #6000: Fixed CCS for `yii\authclient\widgets\AuthChoice` does not loaded if `popupMode` disabled (klimov-paul)
  764. ### Bootstrap Extension (yii2-bootstrap)
  765. - Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
  766. - Bug #6150: `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly (samdark)
  767. - Enh #4146: Added `yii\bootstrap\ButtonDropdown::$containerOptions` (samdark)
  768. - Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
  769. - Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)
  770. - Enh #5494: Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown` (hiltonjanfield, qiangxue)
  771. - Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
  772. - Enh #5799: `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button` (aleksanderd)
  773. - Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)
  774. ### Debug Extension (yii2-debug)
  775. - Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
  776. - Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
  777. - Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
  778. - Enh #6113: Improved configuration and request UI (schmunk42)
  779. - Enh: Made `DefaultController::getManifest()` more robust against corrupt files (cebe)
  780. ### Elasticsearch Extension (yii2-elasticsearch)
  781. - Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
  782. - Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
  783. - Enh #5758: Allow passing custom options to `ActiveRecord::update()` and `::delete()` including support for routing needed for updating records with parent relation (cebe)
  784. - Enh: Add support for optimistic locking (cebe)
  785. ### Gii Extension (yii2-gii)
  786. - Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
  787. - Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
  788. - Bug #6367: Added `yii\gii\generators\crud\Generator` to support customizing view path for the generated CRUD controller (qiangxue)
  789. - Bug: Gii console command help information does not contain global options (qiangxue)
  790. - Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)
  791. ### Mongodb Extension (yii2-mongodb)
  792. - Bug #6026: Fixed `yii\mongodb\ActiveRecord` saves `null` as `_id`, if attributes are empty (klimov-paul)
  793. - Enh #3855: Added debug toolbar panel for MongoDB (klimov-paul)
  794. - Enh #5592: Added support for 'findAndModify' operation at `yii\mongodb\Query` and `yii\mongodb\ActiveQuery` (klimov-paul)
  795. ### Redis Extension (yii2-redis)
  796. - 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)
  797. - Enh #3714: Added support for connecting to redis server using a unix socket (savvot, robregonm)
  798. ### Smarty Extension (yii2-smarty)
  799. - Bug #5748: `{path` was generating absolute URLs instead of relative ones (samdark, motzel)
  800. ### Sphinx Extension (yii2-sphinx)
  801. - Bug #5601: Simple conditions in `yii\sphinx\Query::where()`` and `yii\sphinx\ActiveQuery::where()` did not allow `yii\db\Expression` to be used as the value (cebe, stevekr)
  802. - Bug #5634: Fixed `yii\sphinx\QueryBuilder` does not support comparison operators (>,<,>= etc) in where specification (klimov-paul)
  803. - Bug #6164: Added missing support for `yii\db\Exression` to QueryBuilder `LIKE` conditions (cebe)
  804. - Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
  805. 2.0.0 October 12, 2014
  806. ----------------------
  807. - Bug #4881: Fixed `yii\console\controllers\AssetController` breaks CSS URLs on Windows (klimov-paul)
  808. - Bug #5171: Fixed the bug that ActiveForm + Pjax submit event is only triggered once (qiangxue)
  809. - Bug #5242: Fixed `yii\console\controllers\AssetController` breaks CSS URLs in case target file localed at `yii\web\AssetManager::basePath` root (klimov-paul)
  810. - Bug #5252: Null values are not properly handled by `RangeValidator` (githubjeka, qiangxue)
  811. - Bug #5260: `yii\i18n\Formatter::decimalSeparator` and `yii\i18n\Formatter::thousandSeparator` where not configurable when intl is not installed (execut, cebe)
  812. - Bug #5314: Fixed typo in the implementation of `yii\web\Session::getHasSessionId()` (qiangxue)
  813. - Bug #5323: Nested dropdown does not work for `yii\bootstrap\DropDown` (aryraditya)
  814. - Bug #5336: `yii\bootstrap\DropDown` should register bootstrap plugin asset (zelenin)
  815. - Bug #5379: `yii\base\Module::afterAction()` was called even when `beforeAction()` returned false (cebe)
  816. - Bug #5408: Gii console command incorrectly reports errors when there is actually no error (qiangxue)
  817. - Bug #5423: `yii\behaviors\Cors` causes "undefined index" error when its `cors` is configured (qiangxue)
  818. - Bug #5424: `yii\helpers\Html::addCssStyle()` wasn't correctly setting style passed in array (kartik-v, samdark)
  819. - Bug #5435: Added extra checks to `yii\rbac\DbManager` to prevent database exceptions when `$userId` is empty (samdark)
  820. - Bug #5484: Fixed potential string suffix detection failure on 5.5.11 (qiangxue)
  821. - Bug: Date and time formatting now assumes UTC as the timezone for input dates unless a timezone is explicitly given (cebe)
  822. - Enh #4040: Added `$viewFile` and `$params` to the `EVENT_BEFORE_RENDER` and `EVENT_AFTER_RENDER` events for `View` (qiangxue)
  823. - Enh #4275: Added `removeChildren()` to `yii\rbac\ManagerInterface` and implementations (samdark)
  824. - Enh: Added `yii\base\Application::loadedModules` (qiangxue)
  825. - Enh #5316: Added `startsWith()` and `endsWith()` to `yii\helpers\StringHelper`. Methods are binary-safe, multibyte-safe and optionally case-insensitive (armab)
  826. - Enh #5467: Added ability to pass HTML tag options to `asEmail()`, `asImage()` and `asUrl()` methods of `yii\i18n\Formatter` (alxkolm, samdark)
  827. - Chg #2037: Dropped the support for using `yii\base\Module` as concrete module classes (qiangxue)
  828. - Chg: Updated cebe/markdown to 1.0.0 which includes breaking changes in its internal API (cebe)
  829. - Chg: If you are using CUBRID DBMS, make sure to use at least version 9.3.0 because quoting is broken in prior versions and Yii has no reliable way to work around this issue (cebe)
  830. 2.0.0-rc September 27, 2014
  831. ---------------------------
  832. - Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
  833. - Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)
  834. - Bug #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths (qiangxue)
  835. - Bug #2801: Fixed the issue that GridView gets footer content before data cells content (ElisDN)
  836. - Bug #2821: Console help command incorrectly lists non-console controllers as available commands (qiangxue)
  837. - Bug #2853: ActiveRecord did not handle resource-typed columns well (chris68, qiangxue)
  838. - Bug #3042: `yii\widgets\Pjax` should end application right after it finishes responding to a pjax request (qiangxue)
  839. - Bug #3066: `yii\db\mssql\Schema::getTableSchema()` should return null when the table does not exist (qiangxue)
  840. - Bug #3091: Fixed inconsistent treatment of `Widget::run()` when a widget is used as a container and as a self-contained object (qiangxue)
  841. - Bug #3118: Ensure client validation has the same behavior as server side validation for number validator (cebe)
  842. - Bug #3121: `yii\base\Application::bootstrap` may fail to load some components if they are specified as class names (qiangxue)
  843. - Bug #3125: `yii\console\controllers\AssetController` now respects data URL resources (klimov-paul)
  844. - Bug #3128: Fixed the bug that `defaultRoles` set in RBAC manager was not working as specified (qiangxue)
  845. - Bug #3153: Fixed the bug that using "between" operator to build a SQL query will cause a PHP notice (gonimar)
  846. - Bug #3184: Fixed the bug that client validation for string length comparison did not set error message correctly (Sergeygithub)
  847. - Bug #3194: Date formatter works only for timestamps in the year range 1970 to 2038 (kartik-v)
  848. - Bug #3197: Using `yii\db\ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results (qiangxue)
  849. - Bug #3204: `yii\di\Container` did not handle the `$config` parameter well in case when it does not have a default value (qiangxue)
  850. - Bug #3216: Fixed the bug that `yii.activeForm.destroy()` did not remove `submit` event handlers (qiangxue)
  851. - Bug #3233: Ensure consistent behavior in `yii\db\ActiveRecord::afterSave()`` (cebe, qiangxue)
  852. - Bug #3236: Return value for `DateTime->format('U')`` casted to double to allow correct date formatting (pgaultier)
  853. - Bug #3268: Fixed the bug that the schema name in a table name was not respected by `yii\db\mysql\Schema` (terazoid, qiangxue)
  854. - Bug #3311: Fixed the bug that `yii\di\Container::has()` did not return correct value (mgrechanik, qiangxue)
  855. - Bug #3327: Fixed "Unable to find debug data" when logging objects with circular references (jarekkozak, samdark)
  856. - Bug #3368: Fix for comparing numeric attributes in JavaScript (technixp)
  857. - Bug #3393: Fix `yii\helpers\FileHelper::copyDirectory()` pattern not working (klimov-paul)
  858. - Bug #3431: Allow using extended `yii\base\ErrorHandler` class from the app namespace (cebe)
  859. - Bug #3436: Fixed the issue that `yii\di\ServiceLocator` still returns the old component after calling `set()` with a new definition (qiangxue)
  860. - Bug #3458: Fixed the bug that the image rendered by `CaptchaAction` was using a wrong content type (MDMunir, qiangxue)
  861. - Bug #3473: Allow postgreSQL to specify timestamp precision via abstract types in `yii\db\QueryBuilder` (cebe)
  862. - Bug #3478: Fixed `yii\console\Controller::select()` accept empty input as '0' value (lynicidn)
  863. - Bug #3522: Fixed `yii\helpers\FileHelper::normalizePath()` to allow a (.) for the current path. (skotos)
  864. - Bug #3548: Fixed the bug that X-Rate-Limit-Remaining header is always zero when using RateLimiter (qiangxue)
  865. - Bug #3559: Use native support for batchInsert in SQLite versions >= 3.7.11 and avoid limitations of the fallback (cebe)
  866. - Bug #3564: Fixed the bug that primary key columns should not take default values from schema (qiangxue)
  867. - Bug #3567: Fixed the bug that smallint was treated as string for PostgreSQL (qiangxue)
  868. - Bug #3568: When the primary query sets `asArray`, it is not respected by the `via` relational query (qiangxue)
  869. - Bug #3578: Fixed postgreSQL column type detection, added missing types (MDMunir, cebe)
  870. - Bug #3583: Added typecast to auto value of primary key on insert of sql active record (cebe)
  871. - Bug #3591: Fixed incomplete obsolete filling in i18n `MessageController::saveMessagesToDb()` (advsm)
  872. - Bug #3601: Fixed the bug that the refresh URL was not generated correctly by `Captcha` (qiangxue, klevron)
  873. - Bug #3638: `yii\filters\HttpCache` does not work as expected when session is started before the filter (qiangxue)
  874. - Bug #3681: Fixed problem with AR::findOne() when a default scope joins another table so that PK name becomes ambigous (cebe)
  875. - Bug #3715: Fixed the bug that using a custom pager/sorter with `GridView` may generate two different pagers/sorters if the layout configures two pagers/sorters (qiangxue)
  876. - Bug #3716: `yii\base\DynamicModel::validateData()` does not call `validate()` if the `$rules` parameter is empty (qiangxue)
  877. - Bug #3725: Fixed the bug that the filtering condition used in relation definition was ignored when calling `ActiveRecord::unlinkAll()`. (qiangxue, cebe)
  878. - Bug #3738: `yii\widgets\ActiveField` custom error selector not functioning (qiangxue)
  879. - Bug #3751: Fixed postgreSQL schema data for enum values, do not add values if there are none (makroxyz)
  880. - Bug #3752: `QueryBuilder::batchInsert()` does not typecast input values (qiangxue)
  881. - Bug #3756: Fix number formatting error for `yii\base\Formatter` by converting strings to float (kartik-v)
  882. - Bug #3772: Behaviors adding validation rules do not work as expected (qiangxue)
  883. - Bug #3817: `yii\rbac\PhpManager::getChildren()` returns null instead of expected empty array (qiangxue)
  884. - Bug #3843: Fixed Menu bug when using `template` with `encodeLabel` => false (creocoder, umneeq)
  885. - Bug #3863: Fixed incorrect js selector for `yii\widgets\ActiveForm::errorSummaryCssClass` when it contains multiple classes (creocoder, umneeq)
  886. - Bug #3893: Headers did not overwrite default setting by webserver (cebe)
  887. - Bug #3909: `yii\helpers\Html::to()` should not prefix base URL to URLs that already contain scheme (qiangxue)
  888. - Bug #3920: Fixed issue with loading default values of PostgreSQL boolean columns (cebe)
  889. - Bug #3934: `yii.handleAction()` in `yii.js` does not correctly detect if a hyperlink contains useful URL or not (joni-jones, qiangxue)
  890. - Bug #3968: Messages logged in shutdown functions are not handled (qiangxue)
  891. - Bug #3989: Fixed `yii\log\FileTarget::rotateByCopy` to avoid any rename (cebe)
  892. - Bug #3996: Traversing `Yii::$app->session` may cause a PHP error (qiangxue)
  893. - Bug #4020: OCI column detection did not work so gii and other things failed (Sanya1991)
  894. - Bug #4105: `yii\helpers\Html::dropDownlist()` options encodeSpaces was not applied to subgroups (MDMunir)
  895. - Bug #4123: Trace level in logger had no effect in Targets, traces where not logged (cebe)
  896. - Bug #4127: `yii\captcha\CaptchaValidator` clientside error message wasn't formed properly (samdark)
  897. - Bug #4162: Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in `yii\db\mysql\Schema` (stevekr)
  898. - Bug #4241: `yii\widgets\Pjax` was incorrectly setting container id (mitalcoi)
  899. - Bug #4254: `SqlDataProvider` does not work with Oracle and SQL Server (qiangxue, miramir)
  900. - Bug #4276: Added check for UPLOAD_ERR_NO_FILE in `yii\web\UploadedFile` and return null if no file was uploaded (OmgDef)
  901. - Bug #4342: mssql (dblib) driver does not support getting attributes (tof06)
  902. - Bug #4371: Active form client validation wasn't working in case of two models having same named fields (abrahamy)
  903. - Bug #4409: Upper case letters in subdirectory prefixes of controller IDs were not properly handled (qiangxue)
  904. - Bug #4412: Formatter used SI Prefixes for base 1024, now uses binary prefixes (kmindi)
  905. - Bug #4427: Formatter could do one division too much (kmindi)
  906. - Bug #4453: `yii message/extract` wasn't properly writing to po files in case of multiple categories (samdark)
  907. - Bug #4469: Make `yii\base\Security::compareString()` timing depend only on length of `$actual` input and add unit test. (tom--)
  908. - Bug #4470: Avoid endless loop when exporting logs with low values of flushInterval and eportInterval (cebe)
  909. - Bug #4497: Fixed `yii\helpers\StringHelper::byteSubstr()`` returning empty string on null $length param (mbman)
  910. - Bug #4514: Fixed Request class crashing when empty CSRF token value is sent in cookie (cebe)
  911. - Bug #4519: `yii\base\Model::isAttributeRequired()` should check if the `when` option of the validator is set (thiagotalma)
  912. - Bug #4592: Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO` (samdark)
  913. - Bug #4654: Fixed issue with PostgreSQL and inserting boolean values with batch insert (cebe)
  914. - Bug #4672: Fixed issue with PostgreSQL handling of boolean values in queries, dropped support for using boolean value for integer columns (cebe)
  915. - Bug #4727: Fixed wrong Stylus definition in `yii\web\AssetConverter` (samdark)
  916. - Bug #4755: `yii\test\BaseActiveFixture::unload()` does not clean up the internal cached data (qiangxue)
  917. - Bug #4813: Fixed MSSQL schema that was getting incorrect info about constraints (samdark, SerjRamone, o-rey)
  918. - Bug #4880: Return value of yii\web\Request::getPrefferedLanguage() was a normalized value instead of a valid language value from the input array (cebe)
  919. - Bug #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true (qiangxue)
  920. - Bug #4920: `yii\filters\auth\CompositeAuth` should not trigger error as long as one of the methods succeeds (qiangxue)
  921. - Bug #4926: Fixed `yii\console\controllers\MessageController` handles category name containing dot incorrectly (klimov-paul)
  922. - Bug #4938: When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated (qiangxue)
  923. - Bug #4954: MSSQL column comments are not retrieved correctly (SerjRamone)
  924. - Bug #4970: `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery` (stepanselyuk)
  925. - Bug #5001: `yii\rest\CreateAction`, `yii\rest\UpdateAction` and `yii\rest\DeleteAction` should throw 500 error if the model operation returns false without validation errors (qiangxue)
  926. - Bug #5039: `UniqueValidator` and `ExistValidator` did not respect query conditions added by default scope (qiangxue)
  927. - Bug #5049: `yii\widgets\ActiveForm::validationDelay` should be applied to user types only (qiangxue)
  928. - Bug #5055: Fixed `yii\console\controllers\CacheController` does not check if cache component instance of 'yii\caching\Cache' (klimov-paul)
  929. - Bug #5126: Fixed text body and charset not being set for multipart mail (nkovacs)
  930. - Bug: Fixed inconsistent return of `yii\console\Application::runAction()` (samdark)
  931. - Bug: URL encoding for the route parameter added to `yii\web\UrlManager` (klimov-paul)
  932. - Bug: Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 (qiangxue)
  933. - Bug: Fixed Object of class Imagick could not be converted to string in `yii\captcha\CaptchaAction` (eXprojects, cebe)
  934. - Bug: Fixed wrong behavior of `yii\helpers\StringHelper::byteSubstr()` in some edge cases (cebe)
  935. - Enh #87: Helper `yii\helpers\Security` converted into application component, cryptographic strength improved (klimov-paul)
  936. - Enh #422: Added Support for BIT(M) data type default values in Schema (cebe)
  937. - Enh #1160: Added $strict parameter to `yii\helpers\Inflector::camel2id()` to handle consecutive uppercase chars (schmunk)
  938. - Enh #1249: Added support for Active Record relation via array attributes (klimov-paul, cebe)
  939. - Enh #1388: Added mapping from physical types to abstract types for OCI DB driver (qiangxue)
  940. - Enh #1452: Added `yii\base\Module::getInstance()` to allow accessing the module instance from anywhere within the module (qiangxue)
  941. - Enh #2264: `yii\web\CookieCollection::has()` will return false for expired or removed cookies (qiangxue)
  942. - Enh #2315: Any operator now could be used with `yii\db\Query::where()` operand format (samdark)
  943. - Ehn #2380: Added `yii\widgets\ActiveForm::enableClientScript` to support turning on and off client side script generation (qiangxue)
  944. - Enh #2435: `yii\db\IntegrityException` is now thrown on database integrity errors instead of general `yii\db\Exception` (samdark)
  945. - Enh #2558: Enhanced support for memcached by adding `yii\caching\MemCache::persistentId` and `yii\caching\MemCache::options` (qiangxue)
  946. - Enh #2837: Error page now shows arguments in stack trace method calls (samdark)
  947. - Enh #2906: Added support for using conditional comments for js and css files registered through asset bundles and `yii\helpers\Html` helper (exromany, qiangxue)
  948. - Enh #2942: Added truncate and truncateWord methods (Alex-Code, samdark)
  949. - Enh #3008: Added `yii\helpers\Html::errorSummary()` (qiangxue)
  950. - Enh #3088: The debug and gii modules will manage their own URL rules now (hiltonjanfield, qiangxue)
  951. - Enh #3101: Improved handling of log target failures. It will now skip target and log reason instead of going into infinite cycle (samdark)
  952. - Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)
  953. - Enh #3108: Added `yii\debug\Module::enableDebugLogs` to disable logging debug logs by default (qiangxue)
  954. - Enh #3132: `yii\rbac\PhpManager` now supports more compact data file format (qiangxue)
  955. - Enh #3154: Added validation error display for `GridView` filters (ivan-kolmychek)
  956. - Enh #3177: `yii\filters\auth\CompositeAuth` will send out challenges from all auth methods (qiangxue)
  957. - Enh #3196: Masked input upgraded to use jquery.inputmask plugin with more features. (kartik-v)
  958. - Enh #3220: Added support for setting transaction isolation levels (cebe)
  959. - Enh #3221: Added events for DB transaction commit/rollback (drcypher, qiangxue)
  960. - Enh #3222: Added `useTablePrefix` option to the model generator for Gii (horizons2)
  961. - Enh #3230: Added `yii\filters\AccessControl::user` to support access control with different actors (qiangxue)
  962. - Enh #3232: Added `export()` and `exportAsString()` methods to `yii\helpers\BaseVarDumper` (klimov-paul)
  963. - Enh #3240: Added support for assigning an anonymous function to `yii\widgets\ActiveForm::fieldConfig` (qiangxue)
  964. - Enh #3244: Allow logging complex data such as arrays and object via the log system (cebe)
  965. - Enh #3252: Added support for case insensitive matching using ILIKE to PostgreSQL QueryBuilder (cebe)
  966. - Enh #3280: Support dynamically attaching anonymous behaviors (qiangxue)
  967. - Enh #3283: Added `$checkAjax` to `yii\web\User::loginRequired()` (qiangxue)
  968. - Enh #3284: Added support for checking multiple ETags by `yii\filters\HttpCache` (qiangxue)
  969. - Enh #3298: Supported configuring `View::theme` using a class name (netyum, qiangxue)
  970. - Enh #3328: `yii\mail\BaseMailer` generates better text body from html body (armab)
  971. - Enh #3380: Allow `value` in `defaultValueValidator` to be a closure (Alex-Code)
  972. - Enh #3384: Added callback-style transactions (leandrogehlen, Ragazzo, samdark)
  973. - Enh #3399, #3241: Added support for MS SQL Server older than 2012 (fourteenmeister, samdark)
  974. - Enh #3410: `yii.activeForm.js` now supports adding/removing fields dynamically (qiangxue)
  975. - Enh #3459: Added logging of errors, which may occur at `yii\caching\FileCache::gc()` (klimov-paul)
  976. - Enh #3472: Added configurable option to encode spaces in dropDownLists and listBoxes (kartik-v)
  977. - Enh #3518: `yii\helpers\Html::encode()` now replaces invalid code sequences with "�" (DaSourcerer)
  978. - Enh #3520: Added `unlinkAll()` method to active record to remove all records of a model relation (NmDimas, samdark, cebe)
  979. - Enh #3521: Added `yii\filters\HttpCache::sessionCacheLimiter` (qiangxue)
  980. - Enh #3542: Removed requirement to specify `extensions` in application config (samdark)
  981. - Enh #3562: Adding rotateByCopy to `yii\log\FileTarget` (pawzar)
  982. - Enh #3574: Add integrity check support for SQLite (zeeke)
  983. - Enh #3581: Added `yii\validators\CompareValidator::type` to support type conversion before comparing values (qiangxue)
  984. - Enh #3597: Nested array support for HTML5 custom `data-*` attributes (armab)
  985. - Enh #3607: Added support for limit in migrations actions: history, new, redo (Ragazzo)
  986. - Enh #3631: Added property `currencyCode` to `yii\i18n\Formatter` (leandrogehlen)
  987. - Enh #3636: Hide menu container tag with empty items in `yii\widgets\Menu` (arturf)
  988. - Enh #3643: Improved Mime-Type detection by using the `mime.types` file from apache http project to dected mime types by file extension (cebe, pavel-voronin, trejder)
  989. - Enh #3765: Added `yii\web\User::enableSession` to support authentication without using session (qiangxue)
  990. - Enh #3708: Added database replication and automatic read-write splitting support for `yii\db\Connection` (qiangxue)
  991. - Enh #3773: Added `yii\validators\FileValidator::mimeTypes` to support validating MIME types of files (Ragazzo)
  992. - Enh #3774: Added `yii\validators\FileValidator::checkExtensionByMimeType` to support validating file types against file mime-types (Ragazzo)
  993. - Enh #3801: Base migration controller `yii\console\controllers\BaseMigrateController` extracted (klimov-paul)
  994. - Enh #3811: Now Gii model generator makes autocomplete for model class field (mitalcoi)
  995. - Enh #3926: `yii\widgets\Breadcrumbs::$links`. Allows individual link to have its own `template` (creocoder, umneeq)
  996. - Enh #3939: `yii\helpers\Inflector::slug()` improvements (samdark)
  997. - Added protected `yii\helpers\Inflector::transliterate()` that could be replaced with custom translit implementation.
  998. - Added proper tests for both intl-based slug and PHP fallback.
  999. - Removed character maps for non-latin languages.
  1000. - Improved overall slug results.
  1001. - Added note about the fact that intl is required for non-latin languages to requirements checker.
  1002. - Enh #3957: Added more straightforward configurable properties to `yii\behaviors\BlameableBehavior`, `yii\behaviors\SluggableBehavior` and `yii\behaviors\TimestampBehavior` (creocoder)
  1003. - Enh #3992: In mail layouts you can now access the message object via `$message` variable (qiangxue)
  1004. - Enh #4028: Added ability to `yii\widgets\Menu` to encode each item's label separately (creocoder, umneeq)
  1005. - Enh #4048: Added `init` event to `yii\bd\ActiveQuery` classes (qiangxue)
  1006. - Enh #4072: `yii\rbac\PhpManager` adjustments (samdark)
  1007. - Data is now stored in three separate files for items, assignments and rules. File format is simpler.
  1008. - Removed `authFile`. Added `itemFile`, `assignmentFile` and `ruleFile`.
  1009. - `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
  1010. - `save()` and `load()` are now protected instead of public.
  1011. - Added unit test for saving and loading data.
  1012. - Enh #4080: Added proper handling and support of the symlinked directories in `yii\helpers\FileHelper`, added $options parameter in `yii\helpers\FileHelper::removeDirectory()` (resurtm)
  1013. - Enh #4086: `changedAttributes` of `afterSave` Event now contain old values (dizews)
  1014. - Enh #4114: Added `yii\helpers\Security::generateRandomBytes()`, improved tests (samdark)
  1015. - Enh #4122: `yii\helpers\Html::error()` and `yii\helpers\Html::errorSummary()` are now accepting `encode` option. If set to false it prevents encoding of error messages (samdark)
  1016. - Enh #4131: Security adjustments (tom--)
  1017. - Added HKDF to `yii\base\Security`.
  1018. - Reverted auto fallback to PHP PBKDF2.
  1019. - Fixed PBKDF2 key truncation.
  1020. - Adjusted API.
  1021. - Enh #4209: Added `beforeCopy`, `afterCopy`, `forceCopy` properties to `yii\web\AssetManager` (cebe)
  1022. - Enh #4225: Added `yii\widgets\ActiveForm::validateOnBlur` and `yii\widgets\ActiveField::validateOnBlur` (qiangxue)
  1023. - Enh #4297: Added check for DOM extension to requirements (samdark)
  1024. - Enh #4317: Added `absoluteAuthTimeout` to `yii\web\User` (ivokund, nkovacs)
  1025. - Enh #4360: Added client validation support for file validator (Skysplit)
  1026. - Enh #4372: `yii\filters\HttpCache` failed to comply to RFC 7232 (DaSourcerer)
  1027. - Enh #4424: Added `inline` parameter to `yii\web\Response::xSendFile()` (klimov-paul)
  1028. - Enh #4436: Added callback functions to AJAX-based form validation (thiagotalma)
  1029. - Enh #4485: Added support for deferred validation in `yii\widgets\ActiveForm` (Alex-Code)
  1030. - Enh #4520: Added sasl support to `yii\caching\MemCache` (xjflyttp)
  1031. - Enh #4566: Added client validation support for image validator (Skysplit, qiangxue)
  1032. - Enh #4581: Added ability to disable url encoding in `yii\web\UrlRule` (tadaszelvys)
  1033. - Enh #4602: Added $key param in `yii\grid\ActionColumn` buttons Closure call (disem)
  1034. - Enh #4607: AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively (qiangxue)
  1035. - Enh #4630: Added automatic generating of unique slug value to `yii\behaviors\Sluggable` (klimov-paul)
  1036. - Enh #4636: Added `yii\web\Response::setDownloadHeaders()` (pawzar)
  1037. - Enh #4644: Added `yii\db\Schema::createColumnSchema()` to be able to customize column schema used (mcd-php)
  1038. - Enh #4656: HtmlPurifier helper config can now be a closure to change the purifier config object after it was created (Alex-Code)
  1039. - Enh #4062: Added 'caseSensitive' option to `yii\helpers\BaseFileHelper::findFiles()` (klimov-paul)
  1040. - Enh #4691: Encoding on `yii\widgets\ActiveForm` and `yii\widgets\ActiveField` validation errors is now configurable (Alex-Code)
  1041. - Enh #4740: Added `yii\web\Session::addFlash()` (restyler)
  1042. - Enh #4897: Added `yii\helpers\FileHelper::mimeMagicFile` (qiangxue)
  1043. - Enh #5058: Added `$pageSize` parameter to `yii\data\Pagination::createUrl()` to allow creating URLs with arbitrary page sizes (cdcchen, qiangxue)
  1044. - Enh #5089: Added asset debugger panel (arturf, qiangxue)
  1045. - Enh #5117: Added `beforeFilter` and `afterFilter` JS events to `GridView` (kartik-v)
  1046. - Enh #5124: Added support to prevent duplicated form submission when using `yii\widgets\ActiveForm` (qiangxue)
  1047. - Enh #5131: Added `$autoRenew` parameter to `yii\web\User::getIdentity()` (qiangxue)
  1048. - Enh #5164: Added `yii\helpers\Inlfector::$transliterator` that can be used to customize intl transliteration (zinzinday)
  1049. - Enh: Added support for using sub-queries when building a DB query with `IN` condition (qiangxue)
  1050. - Enh: Supported adding a new response formatter without the need to reconfigure existing formatters (qiangxue)
  1051. - Enh: Added `yii\web\UrlManager::addRules()` to simplify adding new URL rules (qiangxue)
  1052. - Enh: Added support to insert an event handler at the beginning of class-level event handler queue (qiangxue)
  1053. - Enh: Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants (samdark)
  1054. - Enh: `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration (samdark)
  1055. - Enh: Added method `yii\base\ErrorHandler::unregister()`` for unregistering the ErrorHandler (cebe)
  1056. - Enh: Added `all` option to `yii\console\controllers\MigrateController::actionDown()` action (creocoder, umneeq)
  1057. - Enh: Added support for array attributes in `exist` validator (creocoder)
  1058. - Enh: Added support for using path alias with `FileDependency::fileName` (qiangxue)
  1059. - Enh: Added param `hideOnSinglePage` to `yii\widgets\LinkPager` (arturf)
  1060. - Enh: Added support for array attributes in `in` validator (creocoder)
  1061. - Enh: Improved `yii\helpers\Inflector::slug()` to support more cases for Russian, Hebrew and special characters (samdark)
  1062. - Enh: ListView now uses the widget ID in the base tag, consistent to gridview (cebe)
  1063. - Enh: Added `yii\web\Response::enableCsrfCookie` to support storing CSRF tokens in session (qiangxue)
  1064. - Chg #2287: Split `yii\db\ColumnSchema::typecast()` into two methods `phpTypecast()` and `dbTypecast()` to allow specifying PDO type explicitly (cebe)
  1065. - Chg #2359: Refactored formatter class. One class with or without intl extension and PHP format pattern as standard (Erik_r, cebe)
  1066. - `yii\base\Formatter` functionality has been merged into `yii\i18n\Formatter`
  1067. - removed the `yii\base\Formatter` class
  1068. - Chg #1551: Refactored `yii\validators\DateValidator `to support ICU date format and use the format defined in `yii\i18n\Formatter` by default (cebe)
  1069. - Chg #2898: `yii\console\controllers\AssetController` is now using hashes instead of timestamps (samdark)
  1070. - Chg #2913: RBAC `yii\rbac\DbManager` is now initialized via migration (samdark)
  1071. - Chg #2914: `yii\widgets\ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `yii\widgets\ActiveForm::field()` (qiangxue)
  1072. - Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)
  1073. - Chg #3175: `yii\base\InvalidCallException`, `yii\base\InvalidParamException`, `yii\base\UnknownMethodException` are now extended from SPL `BadMethodCallException` (samdark)
  1074. - Chg #3358: Removed automatic CSRF meta tag generation by `View`. Added `yii\helpers\Html::csrfMetaTags()` and its call to main layout files (qiangxue)
  1075. - Chg #3383: Added `$type` parameter to `IdentityInterface::findIdentityByAccessToken()` (qiangxue)
  1076. - Chg #3511: Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks (tanakahisateru)
  1077. - Chg #3531: `yii\grid\GridView` now allows any character (except ":") in the attribute part of the shorthand syntax for columns (rawtaz)
  1078. - Chg #3544: Added `$key` as a parameter to the callable specified via `yii\grid\DataColumn::value` (mdmunir)
  1079. - Chg #3611: Query caching is refactored. (qiangxue)
  1080. - `yii\db\Connection::beginCache()` and `endCache()` are removed.
  1081. - Added `yii\db\Connection::cache()` and `noCache()`.
  1082. - Added `Command::cache()` and `noCache()`.
  1083. - `yii\db\Connection::queryCacheDuration` is now used as a default cache duration parameter.
  1084. - Chg #3640: All cookies are now httpOnly by default in order to increase overall security (samdark)
  1085. - Chg #3687: Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly (samdark)
  1086. - Chg #3804: Added `fileinfo` PHP extension to the basic requirement of Yii (Ragazzo)
  1087. - Chg #3866: The `yii\validators\FileValidator::types` property is renamed to `yii\validators\FileValidator::extensions` (Ragazzo)
  1088. - Chg #3897: Raised visibility of `yii\web\View::registerAssetFiles()` to protected (samdark)
  1089. - Chg #3899: Moved `MailEvent` class to `yii\mail` namespace (cebe)
  1090. - Chg #3910: Removed the `container` option from `yii\helpers\Html::checkbox()` and `yii\helpers\Html::radio()` (creocoder)
  1091. - Chg #3956: Flash messages set via `Yii::$app->session->setFlash()` will be removed only if they are accessed (qiangxue)
  1092. - Chg #3989: The default value for `yii\log\FileTarget::$rotateByCopy` now defaults to true to work on windows by default (cebe)
  1093. - Chg #4051: Renamed `yii\caching\GroupDependency` to `TagDependency` and added support for associating multiple tags to a single cached data item (qiangxue)
  1094. - Chg #4071: `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer` (samdark)
  1095. - Chg #4147: `yii\mail\BaseMailer::compose()` will not overwrite the `message` parameter if it is explicitly provided (qiangxue)
  1096. - Chg #4188: API exceptions are now exposing less data when YII_DEBUG is false (samdark)
  1097. - Chg #4201: change default value of `SyslogTarget::facility` from `LOG_SYSLOG` to `LOG_USER` (dizews)
  1098. - Chg #4211: `yii\db\BaseActiveRecord::populateRecord()` now silently hide selected columns that are not defined in AR instead of failing with an error (miramir)
  1099. - Chg #4227: `yii\widgets\LinkPager::hideOnSinglePage` is now `true` by default (samdark)
  1100. - Chg #4310: Removed `$data` from signature of `yii\rbac\ManagerInterface` (samdark)
  1101. - Chg #4318: `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given (qiangxue)
  1102. - Chg #4331: `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs (qiangxue)
  1103. - Chg #4424: Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response` (qiangxue)
  1104. - Chg #4454: Improved asset bundle managed and used composer-asset-plugin to manage the dependencies on 3rd-party JS libraries (qiangxue)
  1105. - Chg #4501: Renamed the constant `YII_PATH` to `YII2_PATH` (qiangxue)
  1106. - Chg #4586: Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR (qiangxue)
  1107. - Chg #4591: `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL (qiangxue)
  1108. - Chg #4595: `yii\widgets\LinkPager`'s `nextPageLabel`, `prevPageLabel`, `firstPageLabel`, `lastPageLabel` are now taking `false` instead of `null` for "no label" (samdark)
  1109. - Chg #4911: Changed callback signature used in `yii\base\ArrayableTrait::fields()` from `function ($field, $model) {` to `function ($model, $field) {` (samdark)
  1110. - Chg #4955: Replaced callbacks with events for `yii\widgets\ActiveForm` (qiangxue)
  1111. - Removed `beforeValidate()`, `beforeValidateAll()`, `afterValidate()`, `afterValidateAll()`, `ajaxBeforeSend()` and `ajaxComplete()` from `yii\widgets\ActiveForm`.
  1112. - Added `beforeValidate`, `afterValidate`, `beforeValidateAttribute`, `afterValidateAttribute`, `beforeSubmit`, `ajaxBeforeSend` and `ajaxComplete` events to `yii.activeForm` jQuery plugin.
  1113. - Chg #5176: `ActiveFixture` will reset table in its `load()` method instead of `unload()` (qiangxue)
  1114. - Chg: Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()` (qiangxue)
  1115. - Chg: Added `$user` as the first parameter of `yii\rbac\Rule::execute()` (qiangxue)
  1116. - Chg: `yii\grid\DataColumn::getDataCellValue()` visibility is now `public` to allow accessing the value from a GridView directly (cebe)
  1117. - Chg: `yii\data\ActiveDataProvider::$query` will not be modified directly with pagination and sorting anymore so it will be reuseable (cebe)
  1118. - Chg: Removed `yii\rest\ActiveController::$transactional` property and connected functionality (samdark)
  1119. - Chg: Changed the default value of the `keyPrefix` property of cache components to be null (qiangxue)
  1120. - Chg: Added `prefix` column to `yii\log\DbTarget` to have the same amount of information logged as in files and emails (cebe)
  1121. - Chg: Use `limit(null)` instead of `limit(-1)` in migration controller to be compatible to more backends (cebe)
  1122. - Chg: `yii\web\Request::cookieValidationKey` must be explicitly specified for each application that wants to use cookie validation (qiangxue)
  1123. - Chg: Added `yii\composer\Installer::postCreateProject()` and modified the syntax of calling installer methods in composer.json (qiangxue)
  1124. - Chg: When an ID is found to be in both `Application::controllerMap` and `Application::modules`, the former will take precedence (qiangxue)
  1125. - Chg: `yii\helpers\Html::activeCheckbox()` and `activeRadio()` will generate labels by default using the corresponding attribute labels (qiangxue)
  1126. - New #1280: Gii can now be run from command line (schmunk42, cebe, qiangxue)
  1127. - New #3911: Added `yii\behaviors\SluggableBehavior` that fills the specified model attribute with the transliterated and adjusted version to use in URLs (creocoder)
  1128. - New #4193: Added `yii\filters\Cors` CORS filter to allow Cross Origin Resource Sharing (pgaultier)
  1129. - New #4945: Added `yii\test\ArrayFixture` (Ragazzo)
  1130. - New: Added `yii\base\InvalidValueException` (qiangxue)
  1131. - New: Added `yii\caching\ArrayCache` (cebe)
  1132. 2.0.0-beta April 13, 2014
  1133. -------------------------
  1134. - Bug #1265: `yii\console\controllers\AssetController` does not override 'js' and 'css' for compressed bundles (klimov-paul)
  1135. - Bug #1326: The `visible` setting for `yii\widgets\DetailView` doesn't work as expected (qiangxue)
  1136. - Bug #1412: `yii\validators\FileValidator` and `yii\validators\ImageValidator` still trigger `uploadRequired` error in some case when `skipOnEmpty` is true and no upload is provided (qiangxue)
  1137. - Bug #1446: Logging while logs are processed causes infinite loop (qiangxue)
  1138. - Bug #1497: Localized view files are not correctly returned (mintao)
  1139. - Bug #1500: Log messages exported to files are not separated by newlines (omnilight, qiangxue)
  1140. - Bug #1504: Debug toolbar isn't loaded successfully in some environments when xdebug is enabled (qiangxue)
  1141. - Bug #1509: The SQL for creating Postgres RBAC tables is incorrect (qiangxue)
  1142. - Bug #1545: It was not possible to execute db Query twice, params where missing (cebe)
  1143. - Bug #1550: fixed the issue that JUI input widgets did not property input IDs.
  1144. - Bug #1654: Fixed the issue that a new message source object is generated for every new message being translated (qiangxue)
  1145. - Bug #1582: Error messages shown via client-side validation should not be double encoded (qiangxue)
  1146. - Bug #1591: `yii\validators\StringValidator` is accessing undefined property (qiangxue)
  1147. - Bug #1597: Added `enableAutoLogin` to basic and advanced project templates so "remember me" now works properly (samdark)
  1148. - Bug #1631: Charset is now explicitly set to UTF-8 when serving JSON (samdark)
  1149. - Bug #1635: `yii\jui\SliderInput` wasn't properly initialized (samdark)
  1150. - Bug #1659: MSSQL doesn't support limit (Ana1oliy)
  1151. - Bug #1686: `yii\widgets\ActiveForm` is creating duplicated messages in error summary (qiangxue)
  1152. - Bug #1704: Incorrect regexp is used in `yii\helpers\Inflector::camelize()` (qiangxue)
  1153. - Bug #1710: OpenId auth client does not request required attributes correctly (klimov-paul)
  1154. - Bug #1798: Fixed label attributes for array fields (zhuravljov)
  1155. - Bug #1800: Better check for `$_SERVER['HTTPS']` in `yii\web\Request::getIsSecureConnection()` (ginus, samdark)
  1156. - Bug #1812: Hide potential warning message due to race condition occurring to `Session::regenerateID()` call (qiangxue)
  1157. - Bug #1827: Debugger toolbar is loaded twice if an action is calling `run()` to execute another action (qiangxue)
  1158. - Bug #1868: Added ability to exclude tables from `yii\console\controllers\FixtureController` apply/clear actions. (Ragazzo)
  1159. - Bug #1869: Fixed tables clearing. `TRUNCATE` changed to `DELETE` to avoid postgresql tables checks (and truncating all tables) (Ragazzo)
  1160. - Bug #1870: Validation errors weren't properly translated when using clientside validation (samdark)
  1161. - Bug #1930: Fixed domain based URL matching for website root (samdark)
  1162. - Bug #1937: Fixed wrong behavior or advanced app's `init --env` when called without parameter actually specified (samdark)
  1163. - Bug #1959: `yii\helpers\Html::activeCheckbox()` wasn't respecting custom values for checked/unchecked state (klevron, samdark)
  1164. - Bug #1965: `yii\base\Controller::findLayoutFile()` returns incorrect file path when layout name starts with a slash (qiangxue)
  1165. - Bug #1992: In module scenario that use 'site/captcha' will get wrong refreshUrl (callmez)
  1166. - Bug #1993: afterFind event in AR is now called after relations have been populated (cebe, creocoder)
  1167. - Bug #1998: Unchecked required checkbox never pass client validation (klevron)
  1168. - Bug #2084: AssetController adjusting CSS URLs declared at same line fixed (klimov-paul)
  1169. - Bug #2091: `yii\db\QueryBuilder::buildInCondition()` fails to handle array not starting with index 0 (qiangxue)
  1170. - Bug #2160: SphinxQL does not support OFFSET (qiangxue, romeo7)
  1171. - Bug #2209: When I18N message translation is missing source language is now used for formatting (samdark)
  1172. - Bug #2212: `yii\gridview\DataColumn` generates incorrect labels when used with nosql DB and there is no data (qiangxue)
  1173. - Bug #2298: Fixed the bug that Gii controller generator did not allow digit in the controller ID (qiangxue)
  1174. - Bug #2303: Fixed the bug that `yii\base\Theme::pathMap` did not support dynamic update with path aliases (qiangxue)
  1175. - Bug #2324: Fixed QueryBuilder bug when building a query with "query" option (mintao)
  1176. - Bug #2399: Fixed the bug that AssetBundle did not handle relative URLs correctly (qiangxue)
  1177. - Bug #2502: Unclear error message when `$_SERVER['DOCUMENT_ROOT']` is empty (samdark)
  1178. - Bug #2519: MessageSource removed translation messages when event handler was bound to `missingTranslation`-event (cebe)
  1179. - Bug #2527: Source language for `app` message category was always `en` no matter which application `sourceLanguage` was used (samdark)
  1180. - Bug #2559: Going back on browser history breaks `yii\widgets\GridView` filtering with `Pjax` (tonydspaniard)
  1181. - Bug #2571: Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false (qiangxue)
  1182. - Bug #2607: `yii message` tool wasn't updating `message` table (mitalcoi)
  1183. - Bug #2624: `yii\helpers\Html::textArea()`` should respect `name` option. (qiangxue)
  1184. - Bug #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue)
  1185. - Bug #2681: Fixed the bug of php build-in server `https://bugs.php.net/bug.php?id=66606` (dizews)
  1186. - Bug #2683: Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false (qiangxue)
  1187. - Bug #2695: Fixed the issue that `yii\validators\FileValidator::isEmpty()` always returns true for validate multiple files (ZhandosKz)
  1188. - Bug #2739: Fixed the issue that `yii\rest\CreateAction::run()` was using obsolete `yii\web\Controller::createAbsoluteUrl()` method (tonydspaniard)
  1189. - Bug #2740: Fixed the issue that `yii\captcha\CaptchaAction::run()` was using obsolete `yii\web\Controller::createUrl()` method (tonydspaniard)
  1190. - Bug #2760: Fixed `yii\grid\GridView` `filterUrl` parameters (qiangxue, AlexGx)
  1191. - Bug #2834: When overriding i18n translation sources from config using `app*` or `yii*` default `app` and `yii` sources were not removed (samdark)
  1192. - Bug #2848: Individual queries should be enclosed within parenthesis in a UNION query (qiangxue)
  1193. - Bug #2862: Using `yii\cache\DbCache` while enabling schema caching may cause infinite loops (qiangxue)
  1194. - Bug #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true (qiangxue)
  1195. - Bug #3443: Fixed `yii\bootstrap\Nav` and `yii\bootstrap\Dropdown` were generating wrong ids for submenus (arturf)
  1196. - Bug #3691: Fixed the issue that `yii\web\CookieCollection::has()` always returns false for cookies from browser (sonicgd)
  1197. - Bug #4212: MSSQL query builder should not generate the `ORDER BY` clause when it is not needed (qiangxue)
  1198. - Bug #4232: `yii\db\TableSchema::sequenceName` for PostgreSQL should remove the enclosing quotes (katzz0, qiangxue)
  1199. - Bug #4697: MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY (qiangxue)
  1200. - Bug: Fixed `Call to a member function `registerAssetFiles()` on a non-object` in case of wrong `sourcePath` for an asset bundle (samdark)
  1201. - Bug: Fixed incorrect event name for `yii\jui\Spinner` (samdark)
  1202. - Bug: `yii\helpers\Json::encode()`` did not handle objects that implement `JsonSerializable` interface correctly (cebe)
  1203. - Bug: Fixed issue with tabular input on `yii\widgets\ActiveField::radio()` and `yii\widgets\ActiveField::checkbox()` (jom)
  1204. - Bug: Fixed the issue that query cache returns the same data for the same SQL but different query methods (qiangxue)
  1205. - Bug: Fixed URL parsing so it's now properly giving 404 for URLs like `http://example.com//////site/about` (samdark)
  1206. - Bug: Fixed `yii\console\controllers\HelpController::getModuleCommands()` issue where it attempts to scan a module's controller directory when it doesn't exist (jom)
  1207. - Bug: Fixed an issue with FileHelper and not accessible directories which resulted in endless loop (cebe)
  1208. - Bug: Fixed `yii\base\Model::load()` returned `true` if `$data` and `formName` were empty (samdark)
  1209. - Bug: Fixed issue with `yii\db\ActiveRelationTrait` preventing `yii\db\ActiveQuery` from clearing events and behaviors on clone (jom)
  1210. - Bug: `yii\db\Query::queryScalar()` wasn't making `SELECT DISTINCT` queries subqueries (jom)
  1211. - Bug: Fixed use `$files` instead of `self::$_files[$key]` to allow inheritance (pgaultier)
  1212. - Enh #46: Added Image extension based on [Imagine library](http://imagine.readthedocs.org) (tonydspaniard)
  1213. - Enh #364: Improve `yii\helpers\Inflector::slug()` with `intl` transliteration. Improved transliteration char map. (tonydspaniard)
  1214. - Enh #497: Removed `yii\log\Target::logUser` and added `yii\log\Target::prefix` to support customizing message prefix (qiangxue)
  1215. - Enh #499: Decoupled `Rule` from RBAC `Item` (samdark, qiangxue)
  1216. - Enh #797: Added support for validating multiple columns by `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` (qiangxue)
  1217. - Enh #802: Added support for retrieving sub-array element or child object property through `ArrayHelper::getValue()` (qiangxue, cebe)
  1218. - Enh #938: Added `yii\web\View::renderAjax()` and `yii\web\Controller::renderAjax()` (qiangxue)
  1219. - Enh #1293: Replaced `yii\helpers\Console::showProgress()` with a better approach. See `yii\helpers\Console::startProgress()` for details (cebe)
  1220. - Enh #1406: DB Schema support for Oracle Database (p0larbeer, qiangxue)
  1221. - Enh #1437: Added `yii\widgets\ListView::viewParams` (qiangxue)
  1222. - Enh #1467: Added support for organizing controllers in subdirectories (qiangxue)
  1223. - Enh #1469: yii\db\ActiveRecord::find()` now works with default conditions (default scope) applied by createQuery (cebe)
  1224. - Enh #1476: Add `yii\web\Session::handler` property (nineinchnick)
  1225. - Enh #1499: Added `yii\grid\ActionColumn::controller` property to support customizing the controller for handling GridView actions (qiangxue)
  1226. - Enh #1523: Query conditions now allow to use the NOT operator (cebe)
  1227. - Enh #1535: Improved `yii\web\User` to start session only when needed. Also prepared it for use without session. (qiangxue)
  1228. - Enh #1562: Added `yii\bootstrap\Tabs::linkOptions` (kartik-v)
  1229. - Enh #1572: Added `yii\web\Controller::createAbsoluteUrl()` (samdark)
  1230. - Enh #1579: throw exception when the given AR relation name does not match in a case sensitive manner (qiangxue)
  1231. - Enh #1581: Added `yii\db\ActiveQuery::joinWith()` and `yii\db\ActiveQuery::innerJoinWith()` to support joining with relations (qiangxue)
  1232. - Enh #1585: added schema parameter to `createAbsoluteUrl()`` to force 'http' or 'https' (cebe)
  1233. - Enh #1601: Added support for tagName and encodeLabel parameters in ButtonDropdown (omnilight)
  1234. - Enh #1611: Added `yii\db\BaseActiveRecord::markAttributeDirty()` (qiangxue)
  1235. - Enh #1633: Advanced project template now works with MongoDB by default (samdark)
  1236. - Enh #1634: Use masked CSRF tokens to prevent BREACH exploits (qiangxue)
  1237. - Enh #1641: Added `BaseActiveRecord::updateAttributes()` (qiangxue)
  1238. - Enh #1646: Added postgresql `yii\db\QueryBuilder::checkIntegrity()` and `yii\db\QueryBuilder::resetSequence()` (Ragazzo)
  1239. - Enh #1645: Added `yii\db\Connection::$pdoClass` property (Ragazzo)
  1240. - Enh #1645: Added support for nested DB transactions (qiangxue)
  1241. - Enh #1681: Added support for automatically adjusting the "for" attribute of label generated by `yii\widgets\ActiveField::label()` (qiangxue)
  1242. - Enh #1706: Added support for registering a single JS/CSS file with dependency (qiangxue)
  1243. - Enh #1773: keyPrefix property of Cache is not restricted to alnum characters anymore, however it is still recommended (cebe)
  1244. - Enh #1809: Added support for building "EXISTS" and "NOT EXISTS" query conditions (abdrasulov)
  1245. - Enh #1839: Added support for getting file extension and basename from uploaded file (anfrantic)
  1246. - Enh #1852: `yii\db\ActiveRecord::tableName()` now returns table name using `yii\db\Connection::tablePrefix` (creocoder)
  1247. - Enh #1881: Improved `yii\bootstrap\NavBar` with `containerOptions`, `innerContainerOptions` and `renderInnerContainer` (creocoder)
  1248. - Enh #1894: The path aliases `@webroot` and `@web` are now available right after the application is initialized (qiangxue)
  1249. - Enh #1921: Grid view `yii\grid\ActionColumn` now allow to name buttons like `{controller/action}` (creocoder)
  1250. - Enh #1973: `yii message/extract` is now able to generate `.po` files (SergeiKutanov, samdark)
  1251. - Enh #1984: `yii\base\ActionFilter` will now mark event as handled when action run is aborted (cebe)
  1252. - Enh #2002: Added `filterWhere()` method to yii\db\Query to allow easy addition of search filter conditions by ignoring empty search fields (samdark, cebe)
  1253. - Enh #2003: Added `filter` property to `yii\validators\ExistValidator` and `yii\validators\UniqueValidator` to support adding additional filtering conditions (qiangxue)
  1254. - Enh #2008: `yii message/extract` is now able to save translation strings to database (kate-kate, samdark)
  1255. - Enh #2043: Added support for custom request body parsers (danschmidt5189, cebe)
  1256. - Enh #2051: Do not save null data into database when using RBAC (qiangxue)
  1257. - Enh #2054: Added support for using custom application configuration with the console command runner (qiangxue)
  1258. - Enh #2079:
  1259. - i18n now falls back to `en` from `en-US` if message translation isn't found (samdark)
  1260. - View now falls back to `en` from `en-US` if file not found (samdark)
  1261. - Default `sourceLanguage` and `language` are now `en` (samdark)
  1262. - Enh #2101: Gii is now using model labels when generating search (thiagotalma)
  1263. - Enh #2102: `yii\widgets\DetailView` now allow use `category.name` as attribute name (creocoder)
  1264. - Enh #2102: `yii\widgets\DetailView` now allow use custom label in string format like `name:format:label` (creocoder)
  1265. - Enh #2103: Renamed `yii\web\AccessDeniedHttpException` to `yii\web\ForbiddenHttpException`, added new commonly used HTTP exception classes (danschmidt5189)
  1266. - Enh #2124: Added support for UNION ALL queries (Ivan Pomortsev, iworker)
  1267. - Enh #2132: Allow url of CSS and JS files registered in yii\web\View to be url alias (cebe)
  1268. - Enh #2144: `Html` helper now supports rendering "data" attributes (qiangxue)
  1269. - Enh #2156: `yii migrate` now automatically creates `migrations` directory if it does not exist (samdark)
  1270. - Enh #2211: Added typecast database types into php types (dizews)
  1271. - Enh #2240: Improved `yii\web\AssetManager::publish()`, `yii\web\AssetManager::getPublishedPath()` and `yii\web\AssetManager::getPublishedUrl()` to support aliases (vova07)
  1272. - Enh #2325: Adding support for the `X-HTTP-Method-Override` header in `yii\web\Request::getMethod()` (pawzar)
  1273. - Enh #2364: Take into account current error reporting level in error handler (gureedo)
  1274. - Enh #2387: Added support for fetching data from database in batches (nineinchnick, qiangxue)
  1275. - Enh #2392: Added `addCssStyle()`, `removeCssStyle()`, `cssStyleFromArray()` and `cssStyleToArray()` to `yii\helpers\Html` (qiangxue, kartik-v, Alex-Code)
  1276. - Enh #2406: Added support for conditional validation (drenty, cebe, qiangxue)
  1277. - Enh #2411: Added Gii extension generator (schmunk42)
  1278. - Enh #2415: Added support for inverse relations (qiangxue)
  1279. - Enh #2417: Added possibility to set `dataType` for `$.ajax` call in yii.activeForm.js (Borales)
  1280. - Enh #2436: Label of the attribute, which looks like `relatedModel.attribute`, will be received from the related model if it available (djagya)
  1281. - Enh #2490: `yii\db\Query::count()` and other query scalar methods now properly handle queries with GROUP BY clause (qiangxue)
  1282. - Enh #2491: Added support for using the same base class name of search model and data model in Gii (qiangxue)
  1283. - Enh #2499: Added ability to downgrade migrations by their absolute apply time (resurtm, gorcer)
  1284. - Enh #2525: Added support for formatting file sizes with `yii\base\Formatter` (VinceG)
  1285. - Enh #2526: Allow for null values in batchInsert (skotos)
  1286. - Enh #2646: Added support for specifying hostinfo in the pattern of a URL rule (qiangxue)
  1287. - Enh #2661: Added boolean column type support for SQLite (qiangxue)
  1288. - Enh #2670: Changed `yii\console\Controller::globalOptions()` to `options($actionID)` to (make it possible to) differentiate options per action (hqx)
  1289. - Enh #2714: Added support for formatting time intervals relative to the current time with `yii\base\Formatter` (drenty)
  1290. - Enh #2726: Added `yii\db\ActiveRecord::loadDefaultValues()` that fills default values from DB schema (samdark)
  1291. - Enh #2729: Added `yii\validators\FilterValidator::skipOnArray` so that filters like `trim` will not fail for array inputs (qiangxue)
  1292. - Enh #2735: Added support for `DateTimeInterface` in `yii\i18n\Formatter` (ivokund)
  1293. - Enh #2756: Added support for injecting custom `isEmpty` check for all validators (qiangxue)
  1294. - Enh #2775: Added `yii\base\Application::bootstrap` and `yii\base\BootstrapInterface` to support running bootstrap classes when starting an application (qiangxue)
  1295. - Enh #2892: ActiveRecord dirty attributes are now reset after call to `afterSave()` so information about changed attributes is available in `afterSave`-event (cebe)
  1296. - Enh #2910: Added `yii\base\Application::end()` (qiangxue)
  1297. - Enh: Added support for using arrays as option values for console commands (qiangxue)
  1298. - Enh: Added `favicon.ico` and `robots.txt` to default project templates (samdark)
  1299. - Enh: Added `yii\base\Widget::autoIdPrefix` to support prefixing automatically generated widget IDs (qiangxue)
  1300. - Enh: Support for file aliases in console command 'message' (omnilight)
  1301. - Enh: Sort and Pagination can now create absolute URLs (cebe)
  1302. - Enh: Added support for using array-typed arguments for console commands (qiangxue)
  1303. - Enh: Added support for installing packages conforming to PSR-4 standard (qiangxue)
  1304. - Enh: Better exception message when class cannot be loaded (samdark)
  1305. - Enh: `init` of advanced application now allows to specify answer for overwriting files via `init --overwrite=n` (samdark)
  1306. - Enh: Added `yii\db\TableSchema::fullName` property (qiangxue)
  1307. - Enh: `yii\codeception\TestCase` now supports loading and using fixtures via Yii fixture framework (qiangxue)
  1308. - Enh: Added ability to get incoming headers (dizews)
  1309. - Enh: Added `beforeRun()` and `afterRun()` to `yii\base\Action` (qiangxue)
  1310. - Enh: Added support for using timeZone with `yii\base\Formatter` (dizews)
  1311. - Enh: Added `yii\web\View::POS_LOAD` (qiangxue)
  1312. - Enh: Added `yii\web\Response::clearOutputBuffers()` (qiangxue)
  1313. - Enh: Improved `yii\db\QueryBuilder::buildLimit()` to support big numbers (qiangxue)
  1314. - Enh: Added support for building SQLs with sub-queries (qiangxue)
  1315. - Enh: Added `yii\data\Pagination::getLinks()` (qiangxue)
  1316. - Enh: Added support for reading page size from query parameters by `yii\data\Pagination` (qiangxue)
  1317. - Enh: LinkPager can now register relational link tags in the html header for prev, next, first and last page (cebe)
  1318. - Enh: Added `yii\web\UrlRuleInterface` and `yii\web\CompositeUrlRule` (qiangxue)
  1319. - Enh: Added `yii\web\Request::getAuthUser()` and `getAuthPassword()` (qiangxue)
  1320. - Enh: Added summaryOptions and emptyTextOptions to `yii\widgets\BaseListView` (johonunu)
  1321. - Enh: Implemented Oracle column comment reading from another schema (gureedo, samdark)
  1322. - Enh: Added support to allow an event handler to be inserted at the beginning of the existing event handler list (qiangxue)
  1323. - Enh: Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels (qiangxue)
  1324. - Enh: Added `isAssociative()` and `isIndexed()` to `yii\helpers\ArrayHelper` (qiangxue)
  1325. - Enh: Added `addSelect` to `yii\db\Query` (Alex-Code)
  1326. - Enh: Added ODBC support in `yii\db\Connection` (nineinchnick, resurtm)
  1327. - Chg #47: Changed Markdown library to cebe/markdown and adjusted Markdown helper API (cebe)
  1328. - Chg #735: Added back `yii\widgets\ActiveField::hiddenInput()` (qiangxue)
  1329. - Chg #1186: Changed `Sort` to use comma to separate multiple sort fields and use negative sign to indicate descending sort (qiangxue)
  1330. - Chg #1519: `yii\web\User::loginRequired()` now returns the `Response` object instead of exiting the application (qiangxue)
  1331. - Chg #1564: Removed `yii\web\Session::autoStart` and added `hasSessionId`. Session will be automatically started when accessing session data (qiangxue)
  1332. - Chg #1586: `yii\db\QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default (qiangxue)
  1333. - Chg #1610: `yii\helpers\Html::activeCheckboxList()` and `Html::activeRadioList()` will submit an empty string if no checkbox/radio is selected (qiangxue)
  1334. - Chg #1643: Added default value for `yii\captcha\Captcha::options` (qiangxue)
  1335. - Chg #1796: Removed `yii\base\Controller::getActionParams()` (samdark)
  1336. - Chg #1835: `yii\grid\CheckboxColumn` now renders checkboxes whose values are the corresponding data key values (qiangxue)
  1337. - Chg #1821: Changed default values for yii\db\Connection username and password to null (cebe)
  1338. - Chg #1844: `yii\web\Response::sendFile()` and other file sending methods will not send the response (qiangxue)
  1339. - Chg #1852: `yii\db\Connection::tablePrefix` default value now `tbl_` (creocoder)
  1340. - Chg #1958: `beforeSubmit` in `yii.activeform` is now executed after validation and before form submission (6pblcb)
  1341. - Chg #2025: Removed ability to declare scopes in ActiveRecord (samdark)
  1342. - Chg #2043:
  1343. - Renamed `yii\web\Request::acceptedLanguages` to `acceptableLanguages` (qiangxue)
  1344. - Removed `yii\web\Request::getPost()`, `getPut()`, `getDelete()`, `getPatch()` in favor of `getBodyParam()` (cebe)
  1345. - Renamed `yii\web\Request::get()` to `getQueryParams()` and `getRestParams()` to `getBodyParams()` (cebe)
  1346. - Added `yii\web\Request::get($name = null, $defaultValue = null)` and `yii\web\Request::post($name = null, $defaultValue = null)` (samdark)
  1347. - Chg #2059: Implemented git-flavored file excluding/filtering for `yii\helpers\FileHelper` (nineinchnick)
  1348. - Chg #2063: Removed `yii\web\Request::acceptTypes` and renamed `yii\web\Request::acceptedContentTypes` to `acceptableContentTypes` (qiangxue)
  1349. - Chg #2103: Renamed `yii\web\AccessDeniedHttpException` to `yii\web\ForbiddenHttpException` (danschmidt5189)
  1350. - Chg #2146: Removed `yii\db\ActiveRelation` class and `yii\db\ActiveRelationInterface`, moved the functionality to `yii\db\ActiveQuery`.
  1351. All relational queries are now directly served by `ActiveQuery` allowing to use custom scopes in relations
  1352. and also to declare arbitrary queries as relations.
  1353. Also removed `yii\db\ActiveRecordInterface::createActiveRelation()` (cebe)
  1354. - Chg #2157: The `*` category pattern will match all categories that do not match any other patterns listed in `yii\i18n\I18N::translations` (qiangxue, Ragazzo)
  1355. - Chg #2161: Added ability to use `return` in `Widget::run` (samdark)
  1356. - Chg #2173: Removed `yii\helpers\StringHelper::diff()`, Moved `phpspec/php-diff` dependency from `yiisoft/yii2` to `yiisoft/yii2-gii` (samdark)
  1357. - Chg #2175: `yii\db\QueryBuilder` will now append UNION statements at the end of the primary SQL (qiangxue)
  1358. - Chg #2210: Mysql driver will now treat `tinyint(1)` as integer instead of boolean (qiangxue)
  1359. - Chg #2248: Renamed `yii\base\Model::DEFAULT_SCENARIO` to `yii\base\Model::SCENARIO_DEFAULT` (samdark)
  1360. - Chg #2281: Renamed `yii\db\ActiveRecord::create()` to `populateRecord()` and changed signature. This method will not call instantiate() anymore (cebe)
  1361. - Chg #2405: The CSS class of `yii\widgets\MaskedInput` now defaults to `form-control` (qiangxue)
  1362. - Chg #2426: Changed URL creation method signatures to be consistent (samdark)
  1363. - Chg #2516: Moved error handling from application to ErrorHandler class and fixed problems with HTTP Exception response code (cebe)
  1364. - `Yii::$app->exception` has now moved to `Yii::$app->errorHandler->exception`
  1365. - `yii\base\ErrorHandler` was split into `yii\web\ErrorHandler` and `yii\console\ErrorHandler`
  1366. - Chg #2544: Changed `yii\widgets\DetailView`'s `name:format:label` to `attribute:format:label` to match `GridView` (samdark)
  1367. - Chg #2603: `yii\base\ErrorException` now extends `\ErrorException` (samdark)
  1368. - Chg #2629: `yii\base\Module::controllerPath` is now read only, and all controller classes must be namespaced under `Module::controllerNamespace`. (qiangxue)
  1369. - Chg #2630: API changes for URLs generation (samdark, qiangxue, cebe)
  1370. - Added `yii\helpers\Url`.
  1371. - Removed `yii\helpers\Html::url()`, use `yii\helpers\Url::to()` instead.
  1372. - Removed `yii\web\Controller::createUrl()` and `yii\web\Controller::createAbsoluteUrl()`, use `yii\helpers\Url::toRoute()` instead.
  1373. - Removed `yii\web\Controller::getCanonicalUrl()`, use `yii\helpers\Url::canonical()` instead.
  1374. - Chg #2691: Null parameters will not be included in the generated URLs by `UrlManager` (gonimar, qiangxue)
  1375. - Chg #2734: `FileCache::keyPrefix` defaults to empty string now (qiangxue)
  1376. - Chg #2796: Removed `Application::preload` in favor of `Application::bootstrap` (qiangxue)
  1377. - Chg #2816: Changed default date and time format of `yii\base\Formatter` to `Y-m-d` and `H:i:s` (qiangxue)
  1378. - Chg #2911: Removed `tbl_` default for table prefix (samdark)
  1379. - Chg #2912: Relative view files will be looked for under the directory containing the view currently being rendered (qiangxue)
  1380. - Chg #2955: Changed the signature of ActiveQuery constructors and replaced `yii\db\ActiveRecord::createQuery()` with `find()` to simplify customizing `yii\db\ActiveQuery` classes (qiangxue)
  1381. - Chg #2999: Added `findOne()` and `findAll()` to replace the usage of `yii\db\ActiveRecord::find($condition)`. (samdark, qiangxue)
  1382. - Chg #4204: `yii\web\Request::getUserIP()` will return null if it cannot detect user IP address (qiangxue)
  1383. - Chg #4622: Simplified the way of creating a Faker fixture template file (qiangxue)
  1384. - Chg: Renamed `yii\jui\Widget::clientEventsMap` to `clientEventMap` (qiangxue)
  1385. - Chg: Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()` (qiangxue)
  1386. - Chg: Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator` (qiangxue)
  1387. - Chg: Added `yii\widgets\InputWidget::options` (qiangxue)
  1388. - Chg: Changed the signature of `urlCreator` and button creators for `yii\gridview\ActionColumn` (qiangxue)
  1389. - Chg: Updated HTMLPurified dependency to `4.6.*`.
  1390. - Chg: Changed Yii autoloader to support loading PSR-4 classes only (i.e. PEAR-styled classes not supported anymore) (qiangxue)
  1391. - Chg: Changed the directory structure according to PSR-4. You have to update your application `index.php`,
  1392. `index-test.php` and `yii` files to point to the new location of `Yii.php` (qiangxue, cebe)
  1393. - Chg: Advanced app template: moved database connection DSN, login and password to `-local` config not to expose it to VCS (samdark)
  1394. - Chg: Renamed `yii\web\Request::acceptedLanguages` to `acceptableLanguages` (qiangxue)
  1395. - Chg: Removed implementation of `yii\base\Arrayable` from `yii\base\Object` (qiangxue)
  1396. - Chg: The scripts in asset bundles are now registered in `View` at the end of `endBody()`. It was done in `endPage()` previously (qiangxue)
  1397. - Chg: Renamed `csrf-var` to `csrf-param` for CSRF header name (Dilip)
  1398. - Chg: The directory holding email templates is renamed from `mails` to `mail` (qiangxue)
  1399. - Chg: Renamed properties `fooVar` to `fooParam` for various classes (qiangxue)
  1400. - Renamed `yii\widgets\ActiveForm::ajaxVar` to `ajaxParam`
  1401. - Renamed `yii\data\Pagination::pageVar` to `pageParam`
  1402. - Renamed `yii\data\Sort::sortVar` to `sortParam`
  1403. - Renamed `yii\web\Request::csrfVar` to `csrfParam`
  1404. - Renamed `yii\web\Request::methodVar` to `methodParam`
  1405. - Renamed `yii\web\UrlManager::routeVar` to `routeParam`
  1406. - Renamed `yii\web\Session::flashVar` to `flashParam`
  1407. - Renamed `yii\web\User::idVar` to `idParam`
  1408. - Renamed `yii\web\User::authTimeoutVar` to `authTimeoutParam`
  1409. - Renamed `yii\web\User::returnUrlVar` to `returnUrlParam`
  1410. - Chg: Added `yii\base\View::viewFile` and removed `yii\base\ViewEvent::viewFile` (qiangxue)
  1411. - Chg: Changed `yii\base\Controller::afterAction()`, `yii\base\Module::afterAction()` and `yii\base\ActionFilter::afterAction()` to pass `$result` by value instead of reference (qiangxue)
  1412. - Chg: `yii\base\Extension::init()` is renamed to `bootstrap()` (qiangxue)
  1413. - Chg: `getComponent()` and `setComponent()` in `yii\base\Application` and `yii\base\Module` are renamed to `get()` and `set()` respectively. (qiangxue)
  1414. - Chg: The signature of `Yii::createObject()` is changed. Constructor parameters must be passed as the second parameter. (qiangxue)
  1415. - Chg: `Yii::$objectConfig` is removed. You should use `Yii::$container->set()` to configure default settings of classes. (qiangxue)
  1416. - Chg: Removed `yii\grid\Column::getDataCellContent()` and renamed `yii\grid\DataColumn::getDataCellContent()` to `yii\grid\DataColumn::getDataCellValue()` (cebe)
  1417. - Chg: `yii\log\Logger` is split into `yii\log\Logger` and `yii\log\Dispatcher`. (qiangxue)
  1418. - Chg: Moved all filter classes to namespace `yii\filters` (qiangxue)
  1419. - Chg: Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped `yii\rbac\PhpManager`. (qiangxue)
  1420. - Chg: Renamed `yii\web\User::checkAccess()` to `yii\web\User::can()` (qiangxue)
  1421. - New #66: [Auth client library](https://github.com/yiisoft/yii2-authclient) OpenId, OAuth1, OAuth2 clients (klimov-paul)
  1422. - New #303: Added built-in support for REST API (qiangxue)
  1423. - New #503: Added `yii\di\Container` and `yii\di\ServiceLocator` (qiangxue)
  1424. - New #706: Added `yii\widgets\Pjax` and enhanced `yii\grid\GridView` to work with `Pjax` to support AJAX-update (qiangxue)
  1425. - New #1393: [Codeception testing framework integration](https://github.com/yiisoft/yii2-codeception) (Ragazzo)
  1426. - New #1438: [MongoDB integration](https://github.com/yiisoft/yii2-mongodb) ActiveRecord and Query (klimov-paul)
  1427. - New #1956: Implemented test fixture framework (qiangxue)
  1428. - New #2034: Added `yii\filters\ContentNegotiator` to support response format and language negotiation (qiangxue)
  1429. - New #2149: Added `yii\base\DynamicModel` to support ad-hoc data validation (qiangxue)
  1430. - New #2360: Added `AttributeBehavior` and `BlameableBehavior`, and renamed `AutoTimestamp` to `TimestampBehavior` (lucianobaraglia, qiangxue)
  1431. - New #2932: Added `yii\web\ViewAction` that allow you to render views based on GET parameter (samdark)
  1432. - New #2998: Added `yii\log\SyslogTarget` that is able to write log to syslog (miramir, samdark)
  1433. - New #3029: Added `yii\bootstrap\ActiveForm` and `yii\bootstrap\ActiveField` (mikehaertl)
  1434. - New #4640: Added `yii\widgets\ActiveForm::beginField()` and `endField()` (qiangxue)
  1435. - New: Yii framework now comes with core messages translated into 26 languages, many thanks to all our translators!
  1436. - New: Added `yii\codeception\DbTestCase` (qiangxue)
  1437. - New: Added `yii\web\GroupUrlRule` (qiangxue)
  1438. - New: Added `yii\filters\RateLimiter` (qiangxue)
  1439. - New: Added various authentication methods, including `HttpBasicAuth`, `HttpBearerAuth`, `QueryParamAuth`, and `CompositeAuth` (qiangxue)
  1440. - New: Added `yii\web\HtmlResponseFormatter` and `yii\web\JsonResponseFormatter` (qiangxue)
  1441. 2.0.0-alpha December 1, 2013
  1442. -----------------------------
  1443. - Initial release.
  1444. - Official extensions released in this version:
  1445. - [Twitter bootstrap 3.0](https://github.com/yiisoft/yii2-bootstrap)
  1446. - [Jquery UI](https://github.com/yiisoft/yii2-jui)
  1447. - [Debug Toolbar](https://github.com/yiisoft/yii2-debug)
  1448. - [Gii code generator](https://github.com/yiisoft/yii2-gii)
  1449. - [Elasticsearch integration](https://github.com/yiisoft/yii2-elasticsearch): ActiveRecord and Query
  1450. - [Redis integration](https://github.com/yiisoft/yii2-redis): ActiveRecord, Cache and Session
  1451. - [Sphinx integration](https://github.com/yiisoft/yii2-sphinx): ActiveRecord and Query
  1452. - [Swiftmailer](https://github.com/yiisoft/yii2-swiftmailer)
  1453. - [Smarty View Renderer](https://github.com/yiisoft/yii2-smarty)
  1454. - [Twig View Renderer](https://github.com/yiisoft/yii2-twig)