2141f9abdf 
					 
					
						
						
							
							Improve performance of handling ErrorHandler::$memoryReserveSize  
						
						
						
						
					 
					
						2023-10-23 20:49:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b073daa8f0 
					 
					
						
						
							
							Fix typo in description codesnippet ( #19873 )  
						
						
						
						
					 
					
						2023-06-30 15:58:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e7aac710f 
					 
					
						
						
							
							Fix   #19813 : Fix yii\base\DynamicModel validation with validators that reference missing attributes  
						
						
						
						
					 
					
						2023-05-04 15:37:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						68b473679a 
					 
					
						
						
							
							release version 2.0.47  
						
						
						
						
					 
					
						2022-11-18 20:21:58 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ca1c7efa93 
					 
					
						
						
							
							Fix   #19546 : Reverted  #19309  
						
						
						
						
					 
					
						2022-10-26 15:59:25 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						25eed6fe1c 
					 
					
						
						
							
							Fix phpdoc for yii\web\Controller ( #19619 )  
						
						
						
						
					 
					
						2022-10-12 08:41:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b99f02eccd 
					 
					
						
						
							
							Optimize Model::safeAttributes() ( #19547 )  
						
						
						
						
					 
					
						2022-09-16 10:44:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						391a741a63 
					 
					
						
						
							
							Fix   #15557 : Fix empty fields exclusion in safe attributes of yii\base\Model  
						
						
						
						
					 
					
						2022-08-29 10:17:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						22614a5b1f 
					 
					
						
						
							
							release version 2.0.46  
						
						
						
						
					 
					
						2022-08-19 01:18:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5c055673a5 
					 
					
						
						
							
							Fix   #19481 : Exception is always empty in ErrorHandler when handling fatal error  
						
						
						
						
					 
					
						2022-07-25 23:34:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6c4d3456b3 
					 
					
						
						
							
							Optimize ErrorHandler::handleFatalError() ( #19444 )  
						
						
						
						
					 
					
						2022-06-21 00:17:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4d0d25d479 
					 
					
						
						
							
							Fix   #19401 : Delay exit(1) in yii\base\ErrorHandler::handleFatalError  
						
						
						
						
					 
					
						2022-06-02 00:13:47 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c1801c7c61 
					 
					
						
						
							
							Fix   #19402 : Add shutdown event and fix working directory in yii\base\ErrorHandler  
						
						
						
						
					 
					
						2022-06-01 10:38:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6599713d2b 
					 
					
						
						
							
							Removed merging of parent labels in DynamicModel::attributeLabels() since DynamicModel::attributes() does not merge parent attributes. Cleaned up DynamicModel documentation. ( #19394 )  
						
						
						
						
					 
					
						2022-05-16 23:19:50 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4768cb0f1d 
					 
					
						
						
							
							Fix returning type of yii\base\Widget::run() ( #19378 )  
						
						
						
						
					 
					
						2022-05-04 10:34:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4f1ffd2c98 
					 
					
						
						
							
							Fix generation of docs on the site ( #19353 )  
						
						
						
						
					 
					
						2022-04-15 16:49:11 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a87c02c712 
					 
					
						
						
							
							Fix more types ( #19333 )  
						
						... 
						
						
						
						* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false 
						
						
					 
					
						2022-04-03 11:20:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4628b91e73 
					 
					
						
						
							
							Fix types ( #19332 )  
						
						... 
						
						
						
						* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect 
						
						
					 
					
						2022-03-30 18:40:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7f244793f5 
					 
					
						
						
							
							Rewrite Model::attributes() ( #19309 )  
						
						... 
						
						
						
						* Optimize Model::attributes()
* Update CHANGELOG.md 
						
						
					 
					
						2022-03-18 08:09:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a843c61da6 
					 
					
						
						
							
							Set the default  to an array ( #19306 )  
						
						
						
						
					 
					
						2022-03-16 08:20:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f3473aa4e8 
					 
					
						
						
							
							Fix Model::__clone() ( #19291 )  
						
						... 
						
						
						
						* Fix Model::__clone()
Reset validators and errors after cloning to prevent changing cloned model via inner objects of clone like as InlineValidator
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2022-03-09 08:02:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1271bc419f 
					 
					
						
						
							
							Fix   #19041 : Fix PHP 8.1 issues  
						
						
						
						
					 
					
						2022-01-14 13:52:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						655786b7ed 
					 
					
						
						
							
							release version 2.0.44  
						
						
						
						
					 
					
						2021-12-30 10:50:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cccb65a70d 
					 
					
						
						
							
							Fix   #19108 : Optimize Component::hasEventHandlers() and Component::trigger()  
						
						
						
						
					 
					
						2021-12-23 14:35:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6067608321 
					 
					
						
						
							
							Fix   #19005 : Add yii\base\Module::setControllerPath()  
						
						
						
						
					 
					
						2021-12-09 10:46:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d899fa18b 
					 
					
						
						
							
							Fix   #19030 : Add DI container usage to yii\base\Widget::end()  
						
						
						
						
					 
					
						2021-11-30 23:58:24 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						552593ca3b 
					 
					
						
						
							
							Prepare for new apidoc (part 2) ( #19010 )  
						
						... 
						
						
						
						* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods 
						
						
					 
					
						2021-11-18 10:10:09 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fa6f0ef658 
					 
					
						
						
							
							Fix variable references in phpdoc ( #19006 )  
						
						
						
						
					 
					
						2021-11-10 13:26:55 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c1f872320 
					 
					
						
						
							
							Improve ArrayAccess phpdoc in yii\base\Model ( #18992 )  
						
						... 
						
						
						
						Fix parameter name in `offsetSet()`
Fix type of property `$offset` in PhpDoc's 
						
						
					 
					
						2021-11-01 09:26:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d80974da30 
					 
					
						
						
							
							Fix   #18955 : Check yiisoft/yii2-swiftmailer before using as default mailer in yii\base\Application  
						
						
						
						
					 
					
						2021-10-20 11:10:20 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0041f034fd 
					 
					
						
						
							
							[doc] Update PHP doc links ( #18957 )  
						
						... 
						
						
						
						* Replace https://secure.php.net  with https://www.php.net 
* Replace http://www.php.net  with https://www.php.net  
						
						
					 
					
						2021-10-19 14:50:26 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ae82b58d85 
					 
					
						
						
							
							Fix   #18909 : Fix bug with binding default action parameters for controllers  
						
						
						
						
					 
					
						2021-10-19 01:01:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b8b0a94d9 
					 
					
						
						
							
							Fix phpdoc of yii\base\Model  
						
						
						
						
					 
					
						2021-09-18 00:10:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d6632a8367 
					 
					
						
						
							
							Fix phpdoc of yii\base\Model ( #18888 )  
						
						
						
						
					 
					
						2021-09-17 23:57:49 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9ed87a0ad6 
					 
					
						
						
							
							Fix   #18858 : Reduce memory usage in yii\base\View::afterRender method  
						
						
						
						
					 
					
						2021-09-14 17:41:53 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ea60fba0ae 
					 
					
						
						
							
							Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType type is passed ( #18869 )  
						
						
						
						
					 
					
						2021-09-06 20:16:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13f27e4d92 
					 
					
						
						
							
							Fix   #18817 : Use paragonie/random_compat for random bytes and int generation  
						
						
						
						
					 
					
						2021-08-09 10:25:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2fe03cd82c 
					 
					
						
						
							
							Only log the $_SERVER information under YII_DEBUG ( #18707 )  
						
						... 
						
						
						
						* Only log the $_SERVER information under YII_DEBUG
Since $_SERVER can contain sensitive information that could leak in CI pipelines ideally it should happen under the YII_DEBUG flag only
* Added upgrade / changelog
* Corrected the upgrade information
* Update framework/UPGRADE.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2021-07-03 18:55:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7966fe47e6 
					 
					
						
						
							
							Scrutinizer fixes ( #18685 )  
						
						... 
						
						
						
						* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/filters/AccessRule.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/helpers/BaseFileHelper.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Application.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Module.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/MultipartFormDataParser.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/Session.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Controller.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Added vardocs, and small refactor
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/conditions/InConditionBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/Connection.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/mssql/QueryBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/log/Logger.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/BaseMigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Adding space between type
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/CacheController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/FixtureController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2021-05-31 21:07:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82be8b61cf 
					 
					
						
						
							
							Replacing deprecated ::className() with ::class ( #18671 )  
						
						
						
						
					 
					
						2021-05-22 23:14:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4479c66522 
					 
					
						
						
							
							Fixed phpdoc types  
						
						
						
						
					 
					
						2021-03-12 23:41:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e2045c040 
					 
					
						
						
							
							release version 2.0.41  
						
						
						
						
					 
					
						2021-03-04 00:51:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						95bf26a3ba 
					 
					
						
						
							
							Fix   #18477 : Fix detecting availability of Xdebug's stack trace in yii\base\ErrorException  
						
						
						
						
					 
					
						2021-01-13 16:13:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5995edb670 
					 
					
						
						
							
							Update public property types of yii\base\Module  
						
						
						
						
					 
					
						2021-01-11 15:20:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cffb129605 
					 
					
						
						
							
							Few quick fixes to make IDE happy  
						
						
						
						
					 
					
						2020-12-22 18:44:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fb35f20f6d 
					 
					
						
						
							
							Fix   #18435 : Change the check order whether an object is an implementation of Arrayable or JsonSerializable in \yii\base\ArrayableTrait::toArray() and \yii\rest\Serializer::serialize()  
						
						
						
						
					 
					
						2020-12-21 11:08:09 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						15327fe969 
					 
					
						
						
							
							Fix typo in ArrayableTrait.php  
						
						... 
						
						
						
						embeded -> embedded 
						
						
					 
					
						2020-12-17 23:17:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						771e96d7db 
					 
					
						
						
							
							Fix   #18400 : Set parent module of the newly attached child module by Module::setModule() and Module::setModules()  
						
						
						
						
					 
					
						2020-12-15 17:52:30 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e77fee2482 
					 
					
						
						
							
							Fix phpdoc types  
						
						
						
						
					 
					
						2020-11-24 17:45:01 +03:00