mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Changelog updated
This commit is contained in:
		@ -33,6 +33,7 @@ Yii Framework 2 Change Log
 | 
				
			|||||||
- Bug #13071: Help option for commands was not working in modules (arogachev, haimanman)
 | 
					- Bug #13071: Help option for commands was not working in modules (arogachev, haimanman)
 | 
				
			||||||
- Bug #13089: Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`) (vitalyzhakov)
 | 
					- Bug #13089: Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`) (vitalyzhakov)
 | 
				
			||||||
- Bug #13105: Fixed `validate()` method in `yii.activeForm.js` to prevent unexpected form submit when `forceValidate` set to `true` (silverfire)
 | 
					- Bug #13105: Fixed `validate()` method in `yii.activeForm.js` to prevent unexpected form submit when `forceValidate` set to `true` (silverfire)
 | 
				
			||||||
 | 
					- Bug #13108: Fix execute command with negative integer parameter (pana1990, uaoleg)
 | 
				
			||||||
- Bug #13118: Fixed `handleAction()` function in `yii.js` to handle attribute `data-pjax=0` as disabled PJAX (silverfire, arisk)
 | 
					- Bug #13118: Fixed `handleAction()` function in `yii.js` to handle attribute `data-pjax=0` as disabled PJAX (silverfire, arisk)
 | 
				
			||||||
- Bug #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString` (df2)
 | 
					- Bug #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString` (df2)
 | 
				
			||||||
- Bug #13159: Fixed `destroy` method in `yii.captcha.js` which did not work as expected (arogachev)
 | 
					- Bug #13159: Fixed `destroy` method in `yii.captcha.js` which did not work as expected (arogachev)
 | 
				
			||||||
@ -41,7 +42,7 @@ Yii Framework 2 Change Log
 | 
				
			|||||||
- Bug #13229: Fix fetching table schema for `pgsql` when `PDO::ATTR_CASE` is set (klimov-paul)
 | 
					- Bug #13229: Fix fetching table schema for `pgsql` when `PDO::ATTR_CASE` is set (klimov-paul)
 | 
				
			||||||
- Bug #13231: Fixed `destroy` method in `yii.gridView.js` which did not work as expected (arogachev)
 | 
					- Bug #13231: Fixed `destroy` method in `yii.gridView.js` which did not work as expected (arogachev)
 | 
				
			||||||
- Bug #13232: Event handlers were not detached with changed selector in `yii.gridView.js` (arogachev)
 | 
					- Bug #13232: Event handlers were not detached with changed selector in `yii.gridView.js` (arogachev)
 | 
				
			||||||
- Bug #13108: Fix execute command with negative integer parameter (pana1990, uaoleg)
 | 
					- Bug: #12969: Improved unique ID generation for `yii\widgets\Pjax` widgets (dynasource, samdark, rob006)
 | 
				
			||||||
- Enh #475: Added Bash and Zsh completion support for the `./yii` command (cebe, silverfire)
 | 
					- Enh #475: Added Bash and Zsh completion support for the `./yii` command (cebe, silverfire)
 | 
				
			||||||
- Enh #6242: Access to validator in inline validation (arogachev)
 | 
					- Enh #6242: Access to validator in inline validation (arogachev)
 | 
				
			||||||
- Enh #6373: Introduce `yii\db\Query::emulateExecution()` to force returning an empty result for a query (klimov-paul)
 | 
					- Enh #6373: Introduce `yii\db\Query::emulateExecution()` to force returning an empty result for a query (klimov-paul)
 | 
				
			||||||
@ -57,6 +58,7 @@ Yii Framework 2 Change Log
 | 
				
			|||||||
- Enh #11756: Added type mapping for `varbinary` data type in MySQL DBMS (silverfire)
 | 
					- Enh #11756: Added type mapping for `varbinary` data type in MySQL DBMS (silverfire)
 | 
				
			||||||
- Enh #11758: Implemented Dependency Injection Container configuration using Application configuration array (silverfire)
 | 
					- Enh #11758: Implemented Dependency Injection Container configuration using Application configuration array (silverfire)
 | 
				
			||||||
- Enh #11929: Changed `type` column type from `int` to `smallInt` in RBAC migrations (silverfire)
 | 
					- Enh #11929: Changed `type` column type from `int` to `smallInt` in RBAC migrations (silverfire)
 | 
				
			||||||
 | 
					- Enh #11959: Added `yii\caching\Cache::getOrSet()` method (silverfire)
 | 
				
			||||||
- Enh #12015: Changed visibility `yii\db\ActiveQueryTrait::createModels()` from private to protected (ArekX, dynasource)
 | 
					- Enh #12015: Changed visibility `yii\db\ActiveQueryTrait::createModels()` from private to protected (ArekX, dynasource)
 | 
				
			||||||
- Enh #12145: Added `beforeCacheResponse` and `afterRestoreResponse` to `yii\filters\PageCache` to be more easily extendable (sergeymakinen)
 | 
					- Enh #12145: Added `beforeCacheResponse` and `afterRestoreResponse` to `yii\filters\PageCache` to be more easily extendable (sergeymakinen)
 | 
				
			||||||
- Enh #12390: Avoid creating queries with false where condition (`0=1`) when fetching relational data (klimov-paul)
 | 
					- Enh #12390: Avoid creating queries with false where condition (`0=1`) when fetching relational data (klimov-paul)
 | 
				
			||||||
@ -83,13 +85,10 @@ Yii Framework 2 Change Log
 | 
				
			|||||||
- Enh #13036: Added shortcut methods `asJson()` and `asXml()` for returning JSON and XML data in web controller actions (cebe)
 | 
					- Enh #13036: Added shortcut methods `asJson()` and `asXml()` for returning JSON and XML data in web controller actions (cebe)
 | 
				
			||||||
- Enh #13050: Added `yii\filters\HostControl` allowing protection against 'host header' attacks (klimov-paul, rob006)
 | 
					- Enh #13050: Added `yii\filters\HostControl` allowing protection against 'host header' attacks (klimov-paul, rob006)
 | 
				
			||||||
- Enh #13074: Improved `yii\log\SyslogTarget` with `$options` to be able to change the default `openlog` options (timbeks)
 | 
					- Enh #13074: Improved `yii\log\SyslogTarget` with `$options` to be able to change the default `openlog` options (timbeks)
 | 
				
			||||||
- Bug: #12969: Improved unique ID generation for `yii\widgets\Pjax` widgets (dynasource, samdark, rob006)
 | 
					 | 
				
			||||||
- Enh #13122: Optimized query for information about foreign keys in `yii\db\oci` (zlakomanoff)
 | 
					- Enh #13122: Optimized query for information about foreign keys in `yii\db\oci` (zlakomanoff)
 | 
				
			||||||
- Enh #11959: Added `yii\caching\Cache::getOrSet()` method (silverfire)
 | 
					 | 
				
			||||||
- Enh #13202: Refactor validateAttribute method in UniqueValidator (developeruz)
 | 
					- Enh #13202: Refactor validateAttribute method in UniqueValidator (developeruz)
 | 
				
			||||||
- Enh: Added constants for specifying `yii\validators\CompareValidator::$type` (cebe)
 | 
					- Enh: Added constants for specifying `yii\validators\CompareValidator::$type` (cebe)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Enh #11959: Added `yii\caching\Cache::closure()` method to cache closures (silverfire)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
2.0.10 October 20, 2016
 | 
					2.0.10 October 20, 2016
 | 
				
			||||||
-----------------------
 | 
					-----------------------
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user