Skip to content

Releases: VihangaDev/CCParser

2.0.1

24 Jan 10:22

Choose a tag to compare

v2.0.1 — PyPI Version Bump

This is a packaging-only release to enable a fresh PyPI upload after the 2.0.0 filename already existed.


📦 Changed

  • Version bump to allow PyPI upload after the 2.0.0 filename already existed

✅ Notes

  • No functional changes to parsing logic

v2.0.0

24 Jan 10:16

Choose a tag to compare

v2.0.0 — Major Parsing Upgrade 🚀

This release overhauls parsing with multiple strategies, stronger validation, and better handling of messy inputs.


✨ Added

  • Multi-strategy parsing
    • Labeled parsing
    • Single-line parsing
    • Heuristic fallback
  • Heuristic extraction for messy / unstructured input
  • Year-first expiry support (YYYY/MM)
  • Expanded card network detection to 20 networks

🔄 Changed

  • Input normalization for uncommon delimiters
  • Labeled parsing now filters card candidates with Luhn
  • CVV length validation at parse time (must be 3 or 4 digits)

🛠 Fixed

  • Detection of merged expiry + CVV digit blobs
  • Date normalization for ambiguous month/year inputs

⚠️ Upgrade Notes (Breaking Change)

  • Inputs with invalid CVV lengths that previously parsed will now raise InvalidCVVError.

v1.0.0 - Major Release

17 Jan 13:51

Choose a tag to compare

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

0.4.0

08 Mar 21:03

Choose a tag to compare

Release Description for CCParser

🚀 New Features

  • Support for Additional Card Types: Added support for generating and validating additional card types.
  • Flexible Expiry Date Formatting: Added functionality to handle flexible expiry date formatting.

🐛 Bug Fixes

  • Fixed Card Details: Addressed issues with card details processing.
  • Fixed generate: Resolved issues in the generate functionality.

📚 Documentation

  • Updated README: Improved clarity and presentation of the README.
  • Created CONTRIBUTING.md: Added a contributing guide for new contributors.

📦 Commits

For a complete list of changes, you can view the commits on GitHub.

Fixed GetCardDetails

08 Mar 17:53

Choose a tag to compare

📢 CCParser v0.3.0 – Bug Fixes and Improvements 🎉

✨ Enhancements

  • Fixed Get Card Details: Resolved issues with the get_card_details method to ensure accurate and reliable information retrieval from external APIs.

🐛 Bug Fixes

  • General Improvements: Various minor bug fixes and performance enhancements.

🚀 Upgrade now to experience the latest improvements! 🎯

0.2.0

08 Mar 10:57

Choose a tag to compare

📢 CCParser v0.2.0 – New Features, Enhancements & Bug Fixes 🎉

🚀 New Features

  • Get Expiry Year: Added get_year method to retrieve the expiry year of the card.
  • Get Expiry Month: Added get_month method to retrieve the expiry month of the card.
  • Get Card Details: Introduced get_card_details method to fetch detailed information about the card from an external API.

✨ Enhancements

  • 📚 Improved Documentation: Updated README.md with new features and better formatting for improved readability.
  • 🛠️ Enhanced CLI Tool: The CLI tool now provides more detailed and user-friendly output.

🐛 Bug Fixes

  • ✅ Validation Fix: Resolved issues with card number validation using the Luhn algorithm.
  • 📅 Expiry Date Handling: Improved handling of expiry dates in various formats for better accuracy.

🚀 Upgrade now and enjoy the improvements! 🎯