- Handle bug occurring when a basket contained a zero-quantity line item.
2.2.2
- Upgrade dependencies.
2.2.1
- Simplified retry logic and fixed infinite loop issue.
2.2.0
- Improved documentation. - Added ability to retry CCH transactions when requests raises a ConnectionError, ConnectTimeout, or ReadTimeout. - Added new setting, ``CCH_MAX_RETRIES``, to control how many retries to attempt after an initial failure. Defaults to 2.
2.1.0
- Remove caching functionality from CCHTaxCalculator.estimate_taxes since miss rate was almost 100%. - Fix bug in tax calculation causing taxes to be calculated based on pre-discounted prices instead of post-discounted prices. - Add optional basket line quantity override by checking for property `BasketLine.cch_quantity`. Falls back to standard quantity if property doesn't exist.
2.0.0
- Renamed package to `oscarcch` for consistency. Set `db_table` option on models to prevent requiring table rename. - Move tests inside `oscarcch` package.