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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7cc45f75f5 
					 
					
						
						
							
							Add TrimValidator ( #19304 )  
						
						... 
						
						
						
						* Add TrimValidator
* Update Validator.php
* Update Validator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update CHANGELOG.md
* Update Validator.php 
						
						
					 
					
						2022-03-22 11:16:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						655786b7ed 
					 
					
						
						
							
							release version 2.0.44  
						
						
						
						
					 
					
						2021-12-30 10:50:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccb14ff667 
					 
					
						
						
							
							release version 2.0.39  
						
						
						
						
					 
					
						2020-11-10 13:58:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d62590807d 
					 
					
						
						
							
							Fix   #18051 : Fix using EachValidator with custom validation function  
						
						
						
						
					 
					
						2020-07-06 16:18:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2a73a4ae3a 
					 
					
						
						
							
							Fix   #18051 : Fix missing support for custom validation method in EachValidator  
						
						
						
						
					 
					
						2020-05-23 17:37:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e1f6761dfd 
					 
					
						
						
							
							Fixes   #17233 : Fixed bug with integer model attribute names in Validator class  
						
						
						
						
					 
					
						2019-05-15 18:03:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ed64d65886 
					 
					
						
						
							
							release version 2.0.16  
						
						
						
						
					 
					
						2019-01-31 00:54:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1128a6d609 
					 
					
						
						
							
							added missing documentation  
						
						
						
						
					 
					
						2019-01-31 00:20:44 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e3b7581bca 
					 
					
						
						
							
							Fixes   #15145 : Fixed Validator::skipOnEmpty documentation [skip ci]  
						
						
						
						
					 
					
						2019-01-09 06:51:31 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						33fe3476c7 
					 
					
						
						
							
							Fixes   #16280 : Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario  
						
						
						
						
					 
					
						2018-05-21 01:17:34 +05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						71c541773f 
					 
					
						
						
							
							PHPDoc fix  
						
						
						
						
					 
					
						2018-01-23 13:17:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						65f6b59b35 
					 
					
						
						
							
							@inheritdoc notation changed 
						
						
						
						
					 
					
						2018-01-23 13:11:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1453eeaa4a 
					 
					
						
						
							
							Added example to validateValue PHPDoc [skip ci] ( #15193 )  
						
						
						
						
					 
					
						2017-11-24 13:56:58 +07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a8c3d537b 
					 
					
						
						
							
							Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )  
						
						... 
						
						
						
						* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc". 
						
						
					 
					
						2017-08-21 11:19:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8ae2223c6a 
					 
					
						
						
							
							Fixes   #14370 : Fixed creating built-in validator in model with same function name  
						
						
						
						
					 
					
						2017-07-23 17:17:20 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fe8a0a6a2e 
					 
					
						
						
							
							Enable no_useless_else rule in php-cs-fixer ( #14420 )  
						
						
						
						
					 
					
						2017-07-10 11:26:21 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb09e1e463 
					 
					
						
						
							
							calling getAttributeNames() only once  
						
						... 
						
						
						
						close  #14389  
					
						2017-07-05 12:20:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0ab403b5 
					 
					
						
						
							
							Added php-cs-fixer coding standards validation to Travis CI ( #14100 )  
						
						... 
						
						
						
						* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues. 
						
						
					 
					
						2017-06-12 12:25:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be658f82bf 
					 
					
						
						
							
							release version 2.0.12  
						
						
						
						
					 
					
						2017-06-05 16:33:41 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4a17032717 
					 
					
						
						
							
							Fix validators documentation  
						
						
						
						
					 
					
						2017-04-27 21:50:51 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3598f8180c 
					 
					
						
						
							
							Fixes   #13087 : Fixed getting active validators for safe attribute  
						
						
						
						
					 
					
						2017-04-26 02:29:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						06967f9018 
					 
					
						
						
							
							Fixes   #13254 : Core validators no longer require Yii::$app to be set  
						
						
						
						
					 
					
						2017-03-14 15:37:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3536c7c4f9 
					 
					
						
						
							
							Additional fixes for  #13087  
						
						
						
						
					 
					
						2017-02-22 23:15:40 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2de18cf9a5 
					 
					
						
						
							
							Fixes   #13087 : Fixed getting active validators for safe attribute  
						
						
						
						
					 
					
						2017-02-22 17:06:19 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f5beaf3edf 
					 
					
						
						
							
							Make validator getClientOptions public  
						
						... 
						
						
						
						This allows implementing custom client-side validation
without extending every validator.
Fixes  #11163 
close  #13145  
						
						
					 
					
						2016-12-08 01:30:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						76e253e140 
					 
					
						
						
							
							yii\validators\Validator - added separate methods for client-side validation options 
						
						... 
						
						
						
						Closes  #11163  
					
						2016-12-05 22:33:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4aa935e69e 
					 
					
						
						
							
							Fixes   #12055 : Changed boolean to bool and integer to int in phpdoc  
						
						
						
						
					 
					
						2016-11-07 02:51:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32f4dc8997 
					 
					
						
						
							
							Fixes   #5385 : links created from classes to corresponding guide articles ( #12920 )  
						
						
						
						
					 
					
						2016-11-04 18:55:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1414b18835 
					 
					
						
						
							
							Add short validator names time and datetime.  
						
						... 
						
						
						
						These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.
close  #12198  
						
						
					 
					
						2016-10-13 12:30:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b42b8d6458 
					 
					
						
						
							
							Updated PHPDoc for Validator::createValidator().  Closes   #12564  
						
						
						
						
					 
					
						2016-09-19 11:47:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						494842636e 
					 
					
						
						
							
							📖  Fixed client-side and server-side grammar in all files  
						
						
						
						
					 
					
						2016-09-08 10:16:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5307d50852 
					 
					
						
						
							
							Typos  yii\validators\Validator::$whenClient [skip ci]  
						
						
						
						
					 
					
						2016-08-30 10:23:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b30b5a99ea 
					 
					
						
						
							
							Fixes   #11672 : Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method  
						
						
						
						
					 
					
						2016-06-23 23:32:25 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						662f86acb5 
					 
					
						
						
							
							fix missing closing bracket in documentation ( #11716 )  
						
						
						
						
					 
					
						2016-06-07 13:20:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f312163258 
					 
					
						
						
							
							Fixes   #11220 : NumberValidator now handles objects properly  
						
						
						
						
					 
					
						2016-04-06 00:53:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5db2afbaeb 
					 
					
						
						
							
							Code style fixed, PHPDoc updated  
						
						
						
						
					 
					
						2016-03-22 23:31:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						67b5f4ea19 
					 
					
						
						
							
							fix for unsafe validator  
						
						... 
						
						
						
						Closes  #8145  #8139  #11153  
					
						2016-03-22 23:31:16 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0e614eb20 
					 
					
						
						
							
							yii\validators\EachValidator injects specific attribute value in error message parameters 
						
						... 
						
						
						
						Closes  #11139  
					
						2016-03-20 16:34:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5242765257 
					 
					
						
						
							
							Fixes   #3506 : Added \yii\validators\IpValidator to perform validation of IP addresses and subnets  
						
						
						
						
					 
					
						2015-10-22 14:21:31 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c0bcaf12e 
					 
					
						
						
							
							Fixes   #8822 ,  fixes   #9298 . Clientside validator docs enhancements.  
						
						
						
						
					 
					
						2015-09-05 02:15:08 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4f6f041e8b 
					 
					
						
						
							
							The stricter the better  
						
						
						
						
					 
					
						2015-07-08 16:14:16 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b50ace287 
					 
					
						
						
							
							Update Validator.php  
						
						
						
						
					 
					
						2015-07-07 18:39:42 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4672a8c83f 
					 
					
						
						
							
							Doc comments at yii\validators\Validator::isEmpty() fixed  
						
						
						
						
					 
					
						2015-04-22 16:32:37 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e29fcc8ea2 
					 
					
						
						
							
							Docs about yii\validators\EachValidator adjusted  
						
						
						
						
					 
					
						2015-04-09 18:14:35 +03:00