Releases: EasyPost/easypost-python
Releases · EasyPost/easypost-python
v8.0.0
See our Upgrade Guide for more details.
- New
EasyPostClientobject- Logic is grouped together in Services and each EasyPost object has a new model (eg:
client.shipment.create())
- Logic is grouped together in Services and each EasyPost object has a new model (eg:
- Error handling overhaul
- Introduces ~2 dozen new error types that extend from either
ApiErrororEasyPostError - ApiErrors behave like the previous
Errorclass did. They will include amessage,http_status, andhttp_body. Additionally, a newcodeanderrorskeys are present and populate when available
- Introduces ~2 dozen new error types that extend from either
- Beta namespace changed from
easypost.beta.xtoclient.beta_x - Empty API response functions return
Noneinstead ofTrue - Corrected naming conventions
- References to
Referralare nowReferralCustomerandreferral_customerto match the API and docs - References to
Smartrateare nowSmartRateandsmart_rateto match the API and docs - References to
Scanformare nowScanFormandscan_form primary_or_secondaryparamater name for billing functions is now calledpriorityto match the API and docs
- References to
- The
update_emailfunction of thereferral_customerservice had the parameter order switched soid(previously calleduser_id) is first which matches the rest of the library - Retrieving carrier metadata is now in GA
- Dropped Python 3.6 support
- Bumps all dependencies
v7.13.0
- Adds
retrieve_estimated_delivery_datefunction to the Shipment class
v7.12.0
- Adds beta
retrieve_carrier_metadatafunction - Improves error deserialization to handle bad format returned from the JSON
v7.11.0
- Add
get_next_pagefunction that retrieves the next page of results for a paginated collection
v7.10.0
- Adds beta
retrieve_stateless_ratesfunction - Adds
get_lowest_stateless_ratefunction to filter the lowest stateless rate
v7.9.0
- Adds
allfunction toPickupto retrieve all pickups - Adds
retrieve_payloadandretrieve_all_payloadsfunctions toEvent
v7.8.0
- Adds new beta billing functionality for ReferralCustomer users
add_payment_methodcan add a pre-existing Stripe bank account or credit card to your EasyPost accountrefund_by_amountrefunds your wallet by a dollar amountrefund_by_payment_logrefunds you wallet by a PaymentLog ID
v7.7.0
- Routes requests for creating a carrier account with a custom workflow (eg: FedEx, UPS) to the correct endpoint when using the
createfunction
v7.6.1
- Concatenates
error.messageif it incorrectly comes back from the API as a list
v7.6.0
- Adds support to pass
end_shipper_idon the buy call of a Shipment - Migrates the Partner White Label (Referral) functions from beta to the general library namespace and deprecates the beta functions