Phone Validation: Add support for validating mobile phone numbers in Oman and Angola, enhancing our global coverage for users needing to verify these numbers.
Postal Code Validation: Introduce a new validator for postal codes in Korea (KR), making it easier for users to validate addresses in this region.
Passport and Identity Validation: Add validators for passport and identity card numbers for Iran (IR), expanding our validation capabilities for users in this locale.
License Plate Validation: Introduce validators for license plates in Brazil (pt-BR) and support for both legacy and new formats, ensuring accurate vehicle registration.
VAT Validation: Add support for validating Italian VAT codes, providing users with the ability to verify tax identification numbers in Italy.
Mobile Phone Validation: Update the isMobilePhone function to support new telco numbers in Vietnam (087), ensuring users can validate the latest number formats.
Strong Password Validation: Enhance the isStrongPassword function to accept '@' as a valid symbol, improving password flexibility for users.
URL Validation: Update the isURL function to accept URLs with only a username in the userinfo subcomponent, broadening the range of valid URLs.
Improvements
Mobile Phone Validation: Improve the isMobilePhone function to prevent landline numbers from being validated in Colombia (es-CO), ensuring only mobile numbers are accepted.
IP Validation: Enhance the isIPRange function to support both IPv4 and IPv6, allowing users to validate a wider range of IP addresses.
FQDN Validation: Refactor the isFQDN function to correctly handle numeric domain names, improving the accuracy of domain validation.
Regex Optimization: Optimize the regex patterns for isIP and isMACAddress, improving performance and accuracy in IP and MAC address validation.
Fixes
Fix the isMobilePhone validation for Switzerland (de-CH) to include numbers starting with '3', ensuring accurate validation for users in this region.
Fix the isMobilePhone validation for Germany (de-CH) to prevent incorrect validation of landline numbers, ensuring only mobile numbers are accepted.
Fix the isMobilePhone validation for Ghana by adding valid network codes, ensuring users can validate mobile numbers accurately.
Fix the isIP validator patterns for IPv4 and IPv6 to prevent false positives, enhancing the reliability of IP address validation.
Others
Update the README to clarify the expected input for various validation functions, helping users understand how to use the library effectively.