Skip to content

Releases: EasyPost/easypost-python

v7.2.0

11 Jul 21:20
ef356bb
Compare
Choose a tag to compare
  • Adds Billing.retrieve_payment_methods(), Billing.fund_wallet(), and Billing.delete_payment_method() functions
  • Removes the unusable carrier param from Address.verify() along with the dead message conditional check that was missed in v7.0.0
  • Adds OS specific details to the user-agent header
  • API keys are now required for every request and will fail fast if not present
  • Swaps update functions to use patch instead of put behind the scenes to better match the API behavior and documentation. Behavior of these functions should be unchanged

v6.0.1

01 Jul 16:21
610a935
Compare
Choose a tag to compare
  • Backported newer user-agent header

v7.1.1

09 May 22:20
4e03881
Compare
Choose a tag to compare
  • Fixes the inclusion of the new beta module

v7.1.0

09 May 17:13
225ad79
Compare
Choose a tag to compare
  • Adds a lowest_rate() function to Orders and Pickups
  • Adds a Shipment.get_lowest_smartrate() function and a shipment.lowest_smartrate() function
  • Adds beta Referral class for Partner White Label API with these new functions: create(), update_email(), all(), and add_credit_card()

v7.0.0

14 Apr 21:19
b5bacf0
Compare
Choose a tag to compare

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

v6.0.0

12 Oct 20:37
012232f
Compare
Choose a tag to compare
  • JSON encodes POST bodies instead of form encoding them
  • Adds support for tax_identifiers
  • Black formatting and iSort tools added to repo
  • Bumps requests from v1 to v2
  • Various refactor efforts and code cleanup

v5.1.3

20 Jul 19:55
8af4e9d
Compare
Choose a tag to compare
  • Remove 2015-vintage experimental "all_updated" action from trackers
  • Correct references of contact@easypost.com to support@easypost.com
  • Clean up address verify property and some miscellaneous request logic

v5.1.2

10 Jun 23:07
ae464e7
Compare
Choose a tag to compare
  • Strips away the result key from SmartRate and simply returns an array of SmartRate objects

5.1.1 - "Australorp"

19 May 20:04
5c6a9a3
Compare
Choose a tag to compare
  • fix SmartRate response JSON format

5.1.0 - "Australian Cashmere"

14 May 18:28
5.1.0
0402070
Compare
Choose a tag to compare
  • Add SmartRate functionality to the Shipments object (available by calling get_smartrates() on a shipment). See our blog for more details!
  • Improve some test logic
  • Remove never-functional list operation on Parcel object