b05ad49a19 
					 
					
						
						
							
							trim(): Passing null to parameter  #1  ($string) of type string is deprecated  
						
						
						
						
					 
					
						2023-09-11 19:38:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2d6f1d5e05 
					 
					
						
						
							
							Fix   #19380 : Fix PHP 8.1 passing non string to trim() in yii\db\Query  
						
						
						
						
					 
					
						2022-05-04 16:29:14 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						22c7cef869 
					 
					
						
						
							
							Fix PhpDoc in yii\db\Query ( #18752 )  
						
						
						
						
					 
					
						2021-07-29 02:19:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6dad27d4a1 
					 
					
						
						
							
							Reversed  #18499  ( #18546 )  
						
						
						
						
					 
					
						2021-03-04 12:53:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						14f1138441 
					 
					
						
						
							
							Correct  #18499  
						
						
						
						
					 
					
						2021-03-01 23:02:28 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d1037db68d 
					 
					
						
						
							
							Fix   #18499 : When using yii\db\Query::all() and yii\db\Query::$indexBy, the yii\db\Query::$indexBy is auto inserted into yii\db\Query::$select - the same as in yii\db\Query::column()  
						
						... 
						
						
						
						Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2021-02-23 18:44:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7c5fcf32b4 
					 
					
						
						
							
							Add int return type queryScalar and scalar method docs  
						
						
						
						
					 
					
						2020-12-07 18:48:24 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccb14ff667 
					 
					
						
						
							
							release version 2.0.39  
						
						
						
						
					 
					
						2020-11-10 13:58:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						09dc9b70f8 
					 
					
						
						
							
							Fix   #18066 : Fixed yii\db\Query::create() wasn't using all info from withQuery()  
						
						
						
						
					 
					
						2020-09-07 15:45:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						60a39654dd 
					 
					
						
						
							
							release version 2.0.35  
						
						
						
						
					 
					
						2020-05-02 14:11:31 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a66fac3bb1 
					 
					
						
						
							
							Fix   #17758 : Query::withQuery() can be used for CTE  
						
						
						
						
					 
					
						2020-04-13 11:58:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b500631d0a 
					 
					
						
						
							
							Document [alias=>table] syntax for join methods ( #17967 )  
						
						
						
						
					 
					
						2020-04-09 16:14:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						79dbd91246 
					 
					
						
						
							
							Fix   #17881 : yii\db\Query::queryScalar() wasn’t reverting the select, orderBy, limit, and offset params if an exception occurred  
						
						
						
						
					 
					
						2020-02-21 12:50:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						88f08005ab 
					 
					
						
						
							
							Fix   #17687 : Query::indexBy can now include a table alias  
						
						
						
						
					 
					
						2019-12-12 02:32:40 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f2212a3183 
					 
					
						
						
							
							Fix   #17384 : Fixed SQL error when passing DISTINCT ON queries  
						
						
						
						
					 
					
						2019-06-29 00:05:22 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						54b3d6d8ab 
					 
					
						
						
							
							Fixes   #17344 : Improved performance of yii\db\Connection::addSelect()  
						
						
						
						
					 
					
						2019-06-11 16:14:38 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ae5dee485e 
					 
					
						
						
							
							Improve Query PHPDoc [skip ci]. ( #16834 )  
						
						
						
						
					 
					
						2018-10-27 20:37:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e47ac0c4a4 
					 
					
						
						
							
							fix bug: when use a subquery  
						
						
						
						
					 
					
						2018-05-14 18:04:53 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a74b3d4f8 
					 
					
						
						
							
							[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )  
						
						... 
						
						
						
						* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS 
						
						
					 
					
						2018-03-12 01:37:19 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f10cb6aeee 
					 
					
						
						
							
							SCA with Php Inspections (EA Ultimate)  
						
						
						
						
					 
					
						2018-02-27 19:13:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8abb1089f2 
					 
					
						
						
							
							Fixed testSelectSubquery  
						
						
						
						
					 
					
						2018-02-23 23:35:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c297986066 
					 
					
						
						
							
							Fixed Query::select()  
						
						... 
						
						
						
						fixes  #15728  
					
						2018-02-21 18:11:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1b3526d8db 
					 
					
						
						
							
							Fixed yii\db\Query::select() to override existing selects  
						
						... 
						
						
						
						Fixes  #15676 , fixes  #15674  
					
						2018-02-19 17:53:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						22832b7c49 
					 
					
						
						
							
							release version 2.0.14  
						
						
						
						
					 
					
						2018-02-19 00:27:09 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						488f98648a 
					 
					
						
						
							
							added missing @since annotations  
						
						
						
						
					 
					
						2018-02-18 00:44:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						10bab28423 
					 
					
						
						
							
							Mentioned new data caching methods in the guide [skip ci]  
						
						
						
						
					 
					
						2018-02-17 02:25:28 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c3c9d1fd97 
					 
					
						
						
							
							Merge branch 'master' into SamMousa-indexby-after-relations-9342  
						
						... 
						
						
						
						Conflicts:
	framework/db/Query.php 
						
						
					 
					
						2018-02-15 23:38:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1bbd2e1993 
					 
					
						
						
							
							Add ExpressionInterface to Query class  
						
						
						
						
					 
					
						2018-02-11 20:02:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e6f5c46cdc 
					 
					
						
						
							
							Fixes   #15633 : Deprecate some things going away/changing in 2.1  
						
						... 
						
						
						
						- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()` 
						
						
					 
					
						2018-02-11 01:48:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5bd6ed5684 
					 
					
						
						
							
							Fixed issues in accidental merge of unfinished  #15398  
						
						
						
						
					 
					
						2018-02-10 14:10:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a036fac490 
					 
					
						
						
							
							Extract cache from yii\db\Command to yii\db\CacheableQueryTrait and use it in yii\db\Query  
						
						
						
						
					 
					
						2018-02-10 12:30:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b139e865b7 
					 
					
						
						
							
							Fixed PHPDocs. Resolves discussion  d16586334d (commitcomment-27343531) 
						
						
						
						
					 
					
						2018-02-05 16:40:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d16586334d 
					 
					
						
						
							
							Fixes   #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL  
						
						
						
						
					 
					
						2018-02-05 04:59:14 +07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5afe0a0d36 
					 
					
						
						
							
							Fixes   #15047 : yii\db\Query::select() and yii\db\Query::addSelect() now check for duplicate column names  
						
						
						
						
					 
					
						2018-02-04 23:41:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b979b2aa88 
					 
					
						
						
							
							Fixes   #15355 : Additional test and fix  
						
						
						
						
					 
					
						2018-02-03 20:10:13 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						65f6b59b35 
					 
					
						
						
							
							@inheritdoc notation changed 
						
						
						
						
					 
					
						2018-01-23 13:11:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8990ac97a 
					 
					
						
						
							
							Fixes   #15353 : Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13  
						
						
						
						
					 
					
						2018-01-15 13:02:28 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f2cd050af 
					 
					
						
						
							
							Fixed Query not to dig inside Expression  
						
						
						
						
					 
					
						2017-12-21 16:16:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7e8a4c8629 
					 
					
						
						
							
							Minor adjustments  
						
						
						
						
					 
					
						2017-12-21 02:50:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba931fa21d 
					 
					
						
						
							
							Fixes   #15356 : Fixed multiple bugs in yii\db\Query::getTablesUsedInFrom()  
						
						
						
						
					 
					
						2017-12-21 01:35:08 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6c731d46d0 
					 
					
						
						
							
							#15356 : Initial version of yii\db\Query::getTablesUsedInFrom() fix and tests  
						
						
						
						
					 
					
						2017-12-21 01:33:58 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dc019856b7 
					 
					
						
						
							
							Fixes   #15355 : Fixed yii\db\Query::from() does not work with yii\db\Expression  
						
						
						
						
					 
					
						2017-12-19 21:42:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2d672b6722 
					 
					
						
						
							
							release version 2.0.13  
						
						
						
						
					 
					
						2017-11-03 01:09:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						afd59a18ec 
					 
					
						
						
							
							Merge branch 'master' into indexby-after-relations-9342  
						
						
						
						
					 
					
						2017-10-08 00:52:14 +02:00