Skip to content

Releases: EasyPost/easypost-python

v7.14.1

30 Oct 20:37
daa9ec4
Compare
Choose a tag to compare
  • Fixes a bug where get_next_page functions threw an error, preventing users from retrieving the final page of results

v7.14.0

24 Oct 16:15
6d6065c
Compare
Choose a tag to compare
  • Adds beta all_children function to the User class for retrieving paginated lists of children users

v7.13.1

31 May 17:38
Compare
Choose a tag to compare
  • Fixes a bug where Payload didn't inherit EasyPostObject which could throw errors when retrieving event payloads (closes #284)

v8.2.0

11 Oct 17:42
4a1e162
Compare
Choose a tag to compare
  • Add dedicated API Key-related service, available via the api_keys property of a client
    • NOTE: Please note the naming. The api_key property of a client is the currently-used API key string, while the api_keys property is the service for managing API keys.
  • Migrated API Key-related functionality to api_keys service, deprecated old methods in user service

v8.1.1

05 Sep 21:54
4bc2545
Compare
Choose a tag to compare
  • Fix endpoint for creating a FedEx Smartpost carrier account

v8.1.0

28 Jul 16:10
374dc92
Compare
Choose a tag to compare
  • Adds new RequestHook and ResponseHook events. (un)subscribe to them with the new subscribe_to_request_hook, subscribe_to_response_hook, unsubscribe_from_request_hook, or unsubscribe_from_response_hook methods of an EasyPostClient
  • Maps 400 status codes to new BadRequestError class

v8.0.0

06 Jun 21:46
a1340f0
Compare
Choose a tag to compare

See our Upgrade Guide for more details.

  • New EasyPostClient object
    • Logic is grouped together in Services and each EasyPost object has a new model (eg: client.shipment.create())
  • Error handling overhaul
    • Introduces ~2 dozen new error types that extend from either ApiError or EasyPostError
    • ApiErrors behave like the previous Error class did. They will include a message, http_status, and http_body. Additionally, a new code and errors keys are present and populate when available
  • Beta namespace changed from easypost.beta.x to client.beta_x
  • Empty API response functions return None instead of True
  • Corrected naming conventions
    • References to Referral are now ReferralCustomer and referral_customer to match the API and docs
    • References to Smartrate are now SmartRate and smart_rate to match the API and docs
    • References to Scanform are now ScanForm and scan_form
    • primary_or_secondary paramater name for billing functions is now called priority to match the API and docs
  • The update_email function of the referral_customer service had the parameter order switched so id (previously called user_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

02 May 16:04
f74826e
Compare
Choose a tag to compare
  • Adds retrieve_estimated_delivery_date function to the Shipment class

v7.12.0

18 Apr 21:25
ca9aa2b
Compare
Choose a tag to compare
  • Adds beta retrieve_carrier_metadata function
  • Improves error deserialization to handle bad format returned from the JSON

v7.11.0

04 Apr 16:12
c62cdc5
Compare
Choose a tag to compare
  • Add get_next_page function that retrieves the next page of results for a paginated collection