Releases: EasyPost/easypost-python
Releases · EasyPost/easypost-python
v7.1.1
- Fixes the inclusion of the new
betamodule
v7.1.0
- Adds a
lowest_rate()function to Orders and Pickups - Adds a
Shipment.get_lowest_smartrate()function and ashipment.lowest_smartrate()function - Adds beta Referral class for Partner White Label API with these new functions:
create(),update_email(),all(), andadd_credit_card()
v7.0.0
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 theshipment.regenerate_rates()method. - Removes
track_with_codein shipment class since it's no longer being used - Removes the unusable
carrierparam fromAddress.create_and_verify()along with the deadmessageconditional 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_timeoutand 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
v5.1.3
v5.1.2
5.1.1 - "Australorp"
- fix SmartRate response JSON format
5.1.0 - "Australian Cashmere"
- Add
SmartRatefunctionality to theShipmentsobject (available by callingget_smartrates()on a shipment). See our blog for more details! - Improve some test logic
- Remove never-functional
listoperation onParcelobject
5.0.0 - "Aswad"
- Add
allmethod for retrieving Events - [backwards-compatibility break] Remove
allmethod for some un-supported types: CustomsItem, CustomsInfo, Pickup, and Order
4.1.0 - "Aspromonte"
- change tests to use vcrpy so they are more reliable
- add
original_exceptiontoeasypost.Errorin cases where we are re-raising an underlying error (e.g., an HTTP exception) - fix a bunch of flake8 warnings
- [potentially-breaking] soft-deprecate Python 3.3 and 3.4. these have been dropped by most of the libraries we use, so probably don't work anyway.
- Swap GET to POST on Refund method