All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- CHANGELOG format
- Issue #5: Static variables prevents running validation with different configurations
- Issue #6:
googlemail.com
is now recognized as a Gmail address - Issue #6:
.
are now removed when sanitizing Gmail addresses (to get to the root email address)
- Handled potential for null being returned when validating a banned domain name
- Banned domain check to use pattern matching for more robust validation including subdomains
- When getting an email address' username, if there was none, return an empty string instead of NULL
- Support for identifying and working with Gmail addresses using the "plus trick" to create unique addresses
- Issue #2: Error state not clearing between validations
- Pull Request #1: Added EmailValidator::getErrorCode()
- Initial release