52e4a3e645 
					 
					
						
						
							
							release version 2.0.50  
						
						
						
						
					 
					
						2024-05-30 20:23:31 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2a167028b 
					 
					
						
						
							
							Upgrade to PSR12 coding standard ( #20121 )  
						
						
						
						
					 
					
						2024-03-19 17:21:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f7fb576cb 
					 
					
						
						
							
							Remove array syntax in  #19741  ( #19745 )  
						
						
						
						
					 
					
						2023-01-22 11:26:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17955140d5 
					 
					
						
						
							
							Fix   #19741 : Added option to use a closure for $variations definition in yii\filters\PageCache  
						
						
						
						
					 
					
						2023-01-21 00:26:40 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						86f8fd7e89 
					 
					
						
						
							
							Fix   #19581 : Fix regression in CompositeAuth introduced in  #19418  
						
						
						
						
					 
					
						2022-11-15 10:16:59 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						394da2b5e3 
					 
					
						
						
							
							Fix   #19517 : Fix regression in CompositeAuth::authenticate() introduced in  #19418  
						
						
						
						
					 
					
						2022-08-28 00:26:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f72310c398 
					 
					
						
						
							
							fix composite auth ignore only/except filters of auth methods ( #19418 )  
						
						... 
						
						
						
						* fix compositeAuth ignore only/except filters of child auth methods
* fix
* add tests for wrong token
* fix
* update changelog
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2022-06-15 10:06:38 +02: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						60c91eb433 
					 
					
						
						
							
							Fix BC introduced in  #19188  ( #19194 )  
						
						
						
						
					 
					
						2022-01-27 21:47:37 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbb157fd32 
					 
					
						
						
							
							Fix   #19187 : Fix yii\filters\PageCache to store original headers names instead of normalized ones  
						
						
						
						
					 
					
						2022-01-27 00:52:32 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b3361bf02 
					 
					
						
						
							
							Docs enhancements ( #18985 )  
						
						... 
						
						
						
						- added more strict checks in if condition: that if `$user` exists, only then call its method
 - Renamed `verifyPassword` to `validatePassword` because yii2-advanced-template use that method name 
						
						
					 
					
						2021-10-29 22:02:24 +02: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a48339e35 
					 
					
						
						
							
							Added example with hyphen in action ID  
						
						... 
						
						
						
						Also added link to guide on actions - don't know if you have a better way than providing a static URL... And maybe it should be moved to the class description? 
						
						
					 
					
						2021-06-21 15:00:48 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6e694ee249 
					 
					
						
						
							
							release version 2.0.38  
						
						
						
						
					 
					
						2020-09-15 00:52:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7423222eae 
					 
					
						
						
							
							Add docs about IP blocks for property $ips ( #18261 )  
						
						
						
						
					 
					
						2020-08-27 16:44:34 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						175a201004 
					 
					
						
						
							
							Fix   #18236 : Allow yii\filters\RateLimiter to accept a closure function for the $user property in order to assign values on runtime  
						
						
						
						
					 
					
						2020-08-19 13:57:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7bd2950a9a 
					 
					
						
						
							
							Fix   #18031 : HttpBasicAuth with auth callback now triggers login events same was as other authentication methods  
						
						
						
						
					 
					
						2020-07-03 16:53:21 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d4a3841d1c 
					 
					
						
						
							
							Fix   #18004 : Clarify where PageCache::$cacheCookies and PageCache::$cacheHeaders are used  
						
						
						
						
					 
					
						2020-06-10 14:58:07 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f226c3cb38 
					 
					
						
						
							
							Fix   #12539 : yii\filters\ContentNegotiator now generates 406 'Not Acceptable' instead of 415 'Unsupported Media Type' on content-type negotiation fail  
						
						... 
						
						
						
						Co-authored-by: PowerGamer1 <PowerGamer1@users.noreply.github.com> 
						
						
					 
					
						2020-01-09 23:43:24 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a226b76776 
					 
					
						
						
							
							Fixes   #17341 : Allow callable objects to be set to \yii\filters\AccessRule::$roleParams  
						
						
						
						
					 
					
						2019-06-12 00:02:07 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						58761b4411 
					 
					
						
						
							
							Fixes   #16820 : yii\filters\Cors::prepareHeaders() now accepts Access-Control-Allow-Headers in preflight response  
						
						
						
						
					 
					
						2019-04-16 17:27:26 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a3b6d227ba 
					 
					
						
						
							
							Fixes   #16335 : Fixed in yii\filters\AccessRule::matchIP() user IP validation with netmask in rule  
						
						
						
						
					 
					
						2019-03-20 14:44:22 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bdb7c64910 
					 
					
						
						
							
							Update to https protocol for php.net links ( #17168 ) [skip ci]  
						
						... 
						
						
						
						* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not? 
						
						
					 
					
						2019-02-28 13:09:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						197feeb255 
					 
					
						
						
							
							Fixes   #16969 : Fix yii\filters\PageCache incorrectly storing empty data in some cases  
						
						
						
						
					 
					
						2018-12-14 19:52:34 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e6eb5c814 
					 
					
						
						
							
							Fixes   #16766 : yii\filters\ContentNegotiator was not setting Vary header to inform cache recipients  
						
						
						
						
					 
					
						2018-10-07 19:03:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						77d7a5046e 
					 
					
						
						
							
							Small PHPDoc comment fixes in \yii\filters\Cors [skip ci] ( #16460 )  
						
						
						
						
					 
					
						2018-06-30 02:17:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e17feb5bb 
					 
					
						
						
							
							Fixes   #16292 : Fixed misconfigured CORS filter exception throwing. Now it throws InvalidConfigException in Debug mode  
						
						
						
						
					 
					
						2018-05-18 00:05:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c3b3f79d5 
					 
					
						
						
							
							Minor [ci skip]  
						
						
						
						
					 
					
						2018-05-01 11:00:32 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a1f52ef118 
					 
					
						
						
							
							Adjusted code style, fixed typo  
						
						
						
						
					 
					
						2018-05-01 01:16:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b6d181878 
					 
					
						
						
							
							Fix   #16193  to not reflect origin header for wildcard origins  
						
						
						
						
					 
					
						2018-05-01 00:01:25 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						713a8b92f8 
					 
					
						
						
							
							Fix action name in commentaries (list -> index) ( #16124 ) [skip ci]  
						
						... 
						
						
						
						Signed-off-by: filipe1309 <filipe1309@outlook.com> 
						
						
					 
					
						2018-04-19 00:01:00 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						35c3ff2fbd 
					 
					
						
						
							
							Fixes   #16010 : Fixed yii\filters\ContentNegotiator behavior when GET parameters contain an array  
						
						
						
						
					 
					
						2018-03-30 18:16:52 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						adccc89c38 
					 
					
						
						
							
							Restore removed line  
						
						
						
						
					 
					
						2018-02-21 12:02:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da89225c8d 
					 
					
						
						
							
							Fix HttpAuthHeader  
						
						
						
						
					 
					
						2018-02-20 13:52:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						22832b7c49 
					 
					
						
						
							
							release version 2.0.14  
						
						
						
						
					 
					
						2018-02-19 00:27:09 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						78d54bc541 
					 
					
						
						
							
							Fixed yii\db\HttpBasicAuth not to switch identity, when user is already authenticated  
						
						... 
						
						
						
						Fixes  #15658  
					
						2018-02-17 13:16:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eab30d38a1 
					 
					
						
						
							
							getView() made public instead of protected  
						
						
						
						
					 
					
						2018-02-13 12:12:42 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c382d3e8d4 
					 
					
						
						
							
							Fixes   #15120 : Refactored dynamic caching introducing DynamicContentAwareInterface and DynamicContentAwareTrait  
						
						
						
						
					 
					
						2018-02-13 00:19:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						25f8b263e5 
					 
					
						
						
							
							Fixes   #14811 : Fixed yii\filters\HttpCache to work with PHP 7.2  
						
						
						
						
					 
					
						2018-02-11 12:08:01 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						65f6b59b35 
					 
					
						
						
							
							@inheritdoc notation changed 
						
						
						
						
					 
					
						2018-01-23 13:11:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3763542dc4 
					 
					
						
						
							
							Fixes   #15494 : Fixed missing WWW-Authenticate header  
						
						
						
						
					 
					
						2018-01-21 22:17:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eaca9c4202 
					 
					
						
						
							
							Moved time() statement right before usages in \yii\filters\RateLimiter ( #14713 )  
						
						
						
						
					 
					
						2018-01-18 11:33:29 +03:00