Releases: VihangaDev/CCParser
Releases · VihangaDev/CCParser
2.0.1
v2.0.0
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
What's New
Added
- Legal disclaimer section in README
- Base exception class
CCParserError validate()method with detailed error messagesto_dict()method for serializationget_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 returnsFalseinstead of raising exceptionsrequestsis 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
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
- Update Readme
- Fixed generate
- Add support for additional card types, card number generation, and flexible expiry date formatting
- Create CONTRIBUTING.md
- Update README.md
- Fixed card details
- Added auto pypi
- Added requests to install_requires and bumped version to 0.2.0
- Bump version to 0.2.0
- Added get_year, get_month, and get_card_details methods. Updated README with new features.
For a complete list of changes, you can view the commits on GitHub.
Fixed GetCardDetails
📢 CCParser v0.3.0 – Bug Fixes and Improvements 🎉
✨ Enhancements
- Fixed Get Card Details: Resolved issues with the
get_card_detailsmethod 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
📢 CCParser v0.2.0 – New Features, Enhancements & Bug Fixes 🎉
🚀 New Features
- Get Expiry Year: Added
get_yearmethod to retrieve the expiry year of the card. - Get Expiry Month: Added
get_monthmethod to retrieve the expiry month of the card. - Get Card Details: Introduced
get_card_detailsmethod to fetch detailed information about the card from an external API.
✨ Enhancements
- 📚 Improved Documentation: Updated
README.mdwith 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! 🎯