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 called- priorityto 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