- "Validate" card holder name and postal codes
- Support for validating custom credit card types
- Reduced log output
- Official null safety support
- Initial null safety changes
- Card type parameter is now required when validating security codes
- More cards supported:
- Diners Club
- JCB
- Union Pay
- Maestro
- Mir
- Elo
- Hiper/Hipercard
- Unit tests all setup and passing
- Fixed expiration date regex
- Added security code validation based on length
- Fixed error that happened when validating card number of cards that are not supported
- Added better usage example
- Finalized method and class declarations
- Security code validation
- Expiration date validation
- Allows for dates with the following formats:
- MM/YYYY
- MM/YYY will only happen when the user is typing in a 4 digit year
- MM/YY
- Also makes sure the expiration year isn't beyond a certain limit, default is 19
- Allows for dates with the following formats:
- Initial release
- Card number validation supported for:
- Visa
- American Express
- Discover
- MasterCard