Changelog
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.
[Unreleased]
Added
- Support for parsing the new REWE Bonus loyalty program, including earned credit and value-based coupons.
- New test suite to validate REWE Bonus parsing logic.
- The
loyaltyProgramQualifiedcolumn in CSV table exports now holds the loyalty program name (or is empty when the item is not qualified). - CSV exports now include
market,marketStreet,marketZip, andmarketCitycolumns so each row carries its originating store information.
Changed
- [BREAKING CHANGE] The top-level
paybackkey in the JSON output has been replaced by a generalizedloyaltyobject. This new object specifies theprogram(“PAYBACK” or “REWE Bonus”) and contains the program-specificdetails. - [BREAKING CHANGE] In the
itemslist, thepaybackQualifiedboolean field has been replaced with theloyaltyProgramQualifiedstring field, which holds the name of the qualifying program or isnull. - Renamed internal data class
PaybackDatatoPaybackDetailsfor clarity within the new loyalty model.
Fixed
- Improved parser stability by pre-scanning for the loyalty program type before processing items, ensuring correct qualification labeling.
[0.0.7] - 2024-08-08
Added
- Add docs
[0.0.6] - 2024-08-04
Added
- Added
--csv-tablefunctionality to parse items from PDF or JSON files and save them into a single CSV table. - Added basic documentation in docstrings
- Fix issues with parsing addresses from certain receipts.
[0.0.5] - 2024-08-04
Added
- Initial release of the
rewe-ebon-parserpackage.