Skip to content

v7.0.0

Compare
Choose a tag to compare
@Justintime50 Justintime50 released this 14 Apr 21:19
· 380 commits to master since this release
b5bacf0

Upgrading major versions of this project? Refer to the Upgrade Guide.

Breaking Changes

  • Bumps minimum Python version from 2.7 to 3.6
  • Bumps all dependencies
  • Removes shipment.get_rates() method since the shipment object already has rates. If you need to get new rates for a shipment, please use the shipment.regenerate_rates() method.
  • Removes track_with_code in shipment class since it's no longer being used
  • Removes the unusable carrier param from Address.create_and_verify() along with the dead message conditional check
  • Must pass a list object to shipment.lowest_rate() rather than a comma-separated list

Features

  • Adds the update_brand() method to the User object
  • Adds Python version to user-agent header on requests
  • Adds retrieve_me() convenience function that allow users to retrieve without specifying an ID.

Chores

  • Broke out the entire project into separate modules based on object
  • Removes _max_timeout and instead uses a flat 60-second timeout for requests
  • Added Makefile for much easier development management
  • Added typehints throughout the project
  • Consolidated all dependencies from various requirements files to setup.py
  • Added a comprehensive test suite that tests all interfaces of the project
  • Documented each interface of the project via docstrings