Skip to content

Releases: alexdlaird/amazon-orders

4.0.1

22 Apr 21:58
Compare
Choose a tag to compare

Added

  • Stability improvements around cookies, authentication, and logout.

4.0.0

21 Apr 21:40
Compare
Choose a tag to compare

Added

  • Improvements to error handling and logging when persisted session expires.
  • Stability improvements.

Changed

  • AmazonOrders.get_order_history() now fetches each individual order using asyncio for 5-10x performance improvements.
  • AmazonOrders.request now takes persist_cookies, which defaults to False. Cookies are now only persisted when the login form is submitted, rather than with every request.
  • AmazonSession is now thread-safe.
  • Support for Amazon's new login auth flow.
  • Renamed constants.Constants.TRANSACTION_HISTORY_LANDING_ROUTE to constants.Constants.TRANSACTION_HISTORY_ROUTE.
  • Renamed constants.Constants.TRANSACTION_HISTORY_LANDING_URL to constants.Constants.TRANSACTION_HISTORY_URL.
  • Testing environment variables are now consistently prefixed with AMAZON_.

Removed

  • AmazonSession.last_response and AmazonSession.last_response_parsed. These variables forced AmazonSession in to a statefulness that means its underlying functionality cannot be made async. Use the response object AmazonSessionResponse instead.
  • constants.Constants.ORDER_HISTORY_LANDING_URL.
  • Evaluation of OTP_SECRET_KEY, use AMAZON_OTP_SECRET_KEY.
  • Removed SIGN_IN_REDIRECT_URL, as it is no longer needed with the new auth flow.

3.2.19

21 Apr 16:38
Compare
Choose a tag to compare

Added

  • AmazonSession.otp_secret_key field.
  • Values for username, password, and otp_secret_key stored in AmazonOrdersConfig will now be used in precedence chain.
  • Stability improvements to authentication flows.

Changed

  • OTP_SECRET_KEY is replaced with AMAZON_OTP_SECRET_KEY. Evaluation of OTP_SECRET_KEY will be removed in the next major release.

3.2.18

16 Apr 15:50
Compare
Choose a tag to compare

Added

  • Documentation improvements.

Changed

  • Paging is more clear now, based on the value of keep_paging (--single-page from the CLI) rather than evaluating start_index.

3.2.17

15 Apr 21:17
Compare
Choose a tag to compare

Added

  • Authentication will now use environment variables AMAZON_USERNAME and AMAZON_PASSWORD, if present.
  • OTP can now be auto-solved if environment variable OTP_SECRET_KEY is populated with a time-based secret key.
  • Documentation improvements.

3.2.16

09 Apr 16:45
Compare
Choose a tag to compare

Added

  • Order.index field.
  • Fixes for parsing issues from orders made at physical Amazon Store.

3.2.15

09 Mar 23:22
Compare
Choose a tag to compare

Fixed

  • Issue where AmazonOrdersConfig could not be pickled.

3.2.14

08 Mar 15:36
36d1662
Compare
Choose a tag to compare

Added

  • Order.free_shipping field.

Fixed

  • Duplicate currency symbol in CLI output for Order details.

3.2.13

02 Mar 23:24
Compare
Choose a tag to compare

Fixed

  • Broken parsing when Transaction.order_number is not selected from <a> tag.
  • Parsing issue with Transaction.seller in pending Transactions.

3.2.12

24 Feb 19:47
Compare
Choose a tag to compare

Fixed

  • Order.coupon_savings and Order.promotion_applied may have multiple values, sum if so.