- implement PHPUnit v8 (no changes in library functionality)
- implement PHPUnit v7 (no changes in library functionality)
- removed redundant closing php tags
- validation functionality has not changed from previous versions, but we have removed the Validator::getTlds() method and the ManageTlds class and instead leave it up to the implementer to supply a list of valid TLDs to use in the relevant validation functions.
- logic bugfix where we weren't actually getting the latest TLDs in Validator::getTlds()
- updated to latest http://data.iana.org/TLD/tlds-alpha-by-domain.txt
- added additional check to ignore any badly formatted strings from the downloaded TLD source file for security reasons
- convert to psr-4 autoloading; added phpunit back in to require-dev in composer.json
- new script to generate the local TLD list - invokeable via Composer
- modified default behaviour of getTlds to use local version by default - uses new pre-built file rather than parsing downloaded text file
- updated to latest http://data.iana.org/TLD/tlds-alpha-by-domain.txt
- updated tlds-alpha-by-domain.txt to most recent version
- updated tlds-alpha-by-domain.txt to most recent version
- removed dev dependency on phpunit
- changed method names to be more camel-case-ish - shouldn't break functionality (methods are case-insensitive)
- updated to latest http://data.iana.org/TLD/tlds-alpha-by-domain.txt
- updated unit tests to use changed method names, changed test punycode TLD to xn--3e0b707e, since the previously used TLD was an IANA test and disappeared from the list
- updated README with new method names and example punycode TLD
- rewrote class to not use static methods
- updated tlds-alpha-by-domain.txt to most recent version
- added new function isEmail
- updated composer.json
- updated README
- added CHANGELOG
- initial release
- added functions isBool, isIPv4, isPublicIPv4, isIPv6, isPublicIPv6, isIP, isPublicIP, isDomain, isTLD, getTLDs