Releases: alexdlaird/amazon-orders
Releases · alexdlaird/amazon-orders
3.2.1
3.2.0
Added
- Support for Transactions.
- Improvements for currency parsing.
Changed
- Renamed
AmazonOrderError
toAmazonOrdersError
.
3.1.0
Added
python-dateutil
as a dependency is now used to parse dates, increasing the types of dates supported and eliminating manually splittings strings apart to find the date.parse_date
tosimple_parse
.- Cleanup for parsing payment method.
- Cleanup for parsing currency totals.
- Stability improvements.
Changed
- Replaced
simple_parse
'slink
arg with a more genericattr_name
(pass "href" or "src" as the value for the same behavior). Order.payment_method_last_4
parses to anint
, and now usessafe_simple_parse
.
3.0.0
Added
- Retry support to CLI when stale session fails to authenticate the first time.
- Improvements to exception messages on auth failures.
- Documentation improvements.
Fixed
- Several parsing issues with the implementation of Amazon's new
data-component
tag.
Removed
Order.order_shipped_date
, this cannot be consistently parsed from Amazon.Order.refund_completed_date
, this cannot be consistently parsed from Amazon.
2.0.3
Added
- Further support for Amazon's new
data-component
tag on order price, seller, and return eligibility, and fixing an issue withShipment
parsing. Parsable.to_date()
attempts multiple date formats.
Fixed
- An issue with
Shipment
s parsing with Amazon's newdata-component
.
2.0.2
Added
item_class
to the config file, which allows for overriding theItem
class.- Support for Amazon's new
data-component
tag on order subtotals. - Build and stability improvements.
Fixed
- The return value of
Order._parse_recipient()
is now optional, so parsing doesn't break digital goods without a shipping address. - Redundant order ID logic to parse from the URI, simplified to consistently fetch from page.
- Support for order details selector on Amazon's legacy digital orders page.
2.0.1
Added
Build and stability improvements.
2.0.0
Added
- Support for Amazon's new
data-component
tags. order_class
to the config file, which allows for overriding theOrder
class.shipment_class
to the config file, which allows for overriding theShipment
class.- Simplified integration tests to more quickly catch regressions.
- Bug fixes and stability improvements.
Changed
- Removed global constants in
amazonorders.constants
. Nowamazonorders.constants.Constants
andamazonorders.selectors.Selectors
classes are used, can be overridden withconstants_class
andselectors_class
in the config file.
Removed
session.AUTH_FORMS
. Passauth_forms
when instantiatingAmazonSession
instead.
1.1.4
Added
- Improvements to helper functions for simple parsing support (
prefix_split
, parsing improvements, and more). - Bug fixes and stability improvements.
1.1.3
Added
- Config is now managed through a YAML file, with support for CLI overrides.
- Documentation improvements.
Fixed
- Parsing issues due to change in Amazon.com DOM.
- Other minor bug fixes.