Phone Validation: You can now validate phone numbers from more African countries, including Uganda, Rwanda, and Tanzania. This enhancement broadens the scope of our phone validation feature to better serve users in these regions.
Phone Validation: The validator now supports Kenyan phone numbers, ensuring accurate validation for users in Kenya. This addition helps maintain the integrity of phone number submissions.
Phone Validation: A new option allows you to validate phone numbers against any locale. This is particularly useful when users may enter phone numbers without specifying their locale, enhancing user experience.
Improvements
Phone Validation: The tests for the mobile phone validator have been refactored for better efficiency and maintainability. This change simplifies the process of adding new locales in the future.
Fixes
Fix: The credit card validator now correctly removes only dashes and spaces, preventing invalid numbers from passing through. This ensures that only valid credit card formats are accepted.
Fix: The validator now disallows spaces in the top-level domain (TLD) part of email addresses, improving the accuracy of email validation.