History of Last Changes (for ApPHP DataValidator)

You can read here a brief list of last changes:

Version 2.2.0 (Feb 01, 2016)
  • Fix bugs fixed

Version 2.1.0 (Feb 02, 2014)
  • New Chain of Responsibility pattern is added to project (class Validator and classes inheriting ValidatorAnyType).
  • New added methods to work with upper and lower case are added to ValidatorTypeString
  • New added methods to handle exceptions from Validator in three ways (throw, write to file, write to array)
  • Enh localization language can be set by constant in config.php or using method $validator->SetLanguage("fr");
  • Fix bugs fixed

Version 2.0.3 (Jun 06, 2013)
  • New method SetCanBeNullFlag($canBeNullFlag) is deprecated. Use IsRequired($requiredFlag) instead.
  • Enh version check is made compatible with version higher then checked.
  • Fix bugs fixed

Version 2.0.2 (Mar 11, 2013)
  • New new validation type: oneOfSet (class ValidatorTypeOneOfSet).
  • New versioning. Validator class current version can be got with method $validator->GetVersion(), major version can be checked with $validator->CheckMajorVersion($needed).
  • New method $validator->GetErrorArrayIndexedByField(), which returns error array as array($fieldName => array(ValidatorError $error1, ValidatorError $error2)).
  • Enh errors messages for strings are more specific: additional elements are added.
  • Fix bugs fixed

Version 2.0.1 (Nov 20, 2012)
  • New IP check
  • New Phone number check. A cell phone can be checked optionally
  • New Postcode check. Postcode can be checked specifically for a country or generally for any possible postcode
  • New SSN check. American Social security number is checked
  • New JSON parser. Data can be loaded and validated as JSON
  • New XML parser. Data can be loaded and validated as XML
  • Enh numeric precision check
  • Enh a comma or a dot as decimal separator. If numeric is got as string, you can state what kind of separator you demand
  • Enh HEX type. Now a HEX number can be checked for format, minimum or maximum value
  • Enh any optional meta characters can be set as allowed (i.e. to check a login you can set non-space, non-pointing and add a meta character '_'. Then possible login can consist only of letters, digits and '_' )
  • Enh check a string to any regular expression
  • Enh allow of forbid Unicode for your string
  • Fix bugs fixed

Version 1.0.3 (Mar 05, 2013)
  • New new validation type: oneOfSet (class ValidatorTypeOneOfSet)
  • New versioning
  • New method $validator->GetErrorArrayIndexedByField()
  • New class ValidatorException
  • Fix bugs fixed

Version 1.0.2 (Apr 24, 2012)
  • New class Validator obtained new getters
  • Enh class DataContainer is not to be used by a user any more
  • Fix bugs fixed

Version 1.0.1 (Apr 15, 2012)
  • New new validation type: email
  • Enh optimized validation routine
  • Fix bugs fixed



Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory






Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.

Quick Registration with: Facebook / Google