Skip to content

v1.0.0 - Major Release

Choose a tag to compare

@VihangaDev VihangaDev released this 17 Jan 13:51
· 5 commits to master since this release

What's New

Added

  • Legal disclaimer section in README
  • Base exception class CCParserError
  • validate() method with detailed error messages
  • to_dict() method for serialization
  • get_expiry_full() method (MM/YYYY format)
  • CLI options: --masked, --json, --quiet, --version
  • Comprehensive test suite (100+ tests)
  • Full type hints and docstrings

Fixed

  • December expiry date validation bug
  • AMEX/Diners Club card formatting (4-6-5, 4-6-4 patterns)
  • Card masking for all card lengths

Changed

  • is_valid() now returns False instead of raising exceptions
  • requests is now optional: pip install ccparser[api]
  • Minimum Python version: 3.10
  • Modernized CI/CD (Python 3.10-3.13)

Full Changelog

See CHANGELOG.md