Releases: EasyPost/easypost-ruby
Releases · EasyPost/easypost-ruby
v6.1.0
- Add
all_childrenandget_next_page_of_childreninuserservice
v6.0.0
- Removes
with_carbon_offsetparameter fromcreate,buyandregenerate_ratesmethods in the shipment service since now EasyPost offers carbon neutral shipments by default for free - Fixes a bug where the original filtering criteria of
allcalls wasn't passed along toget_next_pagecalls. Now, these are persisted via_paramskey on response objects - Removes the undocumented
create_and_buyfunction from the Batch service. The proper usage is to create a batch first and buy it separately
v5.3.0
- Migrate API Key-related functions out of
userservice intoapi_keyservice, deprecating the old and introducing the new
v5.2.0
- Add
carrier_typeservice +carrier_type.allmethod
v5.1.1
- Fix endpoint for creating a FedEx Smartpost carrier account
v5.1.0
- Adds hooks to introspect the request and response of API calls (see
HTTP Hookssection in the README for more details) - Maps 400 status code responses to the new
BadRequestErrorclass
v5.0.1
- Fixes a bug where the params of a
customs_infoon create weren't wrapped properly which led to an empty set ofcustoms_items
v5.0.0
See our Upgrade Guide for more details.
- Library is now thread-safe. Closes GitHub Issue (#183)
- Initialize a
Clientobject with an API key. Optionally set open and read timeout params - Previous classes have been diverted into
ServicesandModels- All methods (i.e.
create,retrieve,all) exist in services, accessed via property of the client (eg:client.shipment.create())- E.g.
bought_shipment = client.shipment.buy(shipment_id, rate)
- E.g.
- All methods (i.e.
- Initialize a
- Beta namespace changed from
easypost.beta.xtoclient.beta_x - References to
Referralare nowReferralCustomerandreferral_customerto match the API and docs - References to
smartrateare nowSmartRateandsmart_rateto match the API and docs- Rename function
get_smartratestoget_smart_rates - Rename function
get_lowest_smartratetoget_lowest_smart_rate
- Rename function
- Empty API response functions for
deletereturntrueinstead of empty object - Drops support for Ruby 2.5
- Bumps all dev dependencies
- Improves Error Deserialization to dynamically handle edge cases that have a bad format
- Adds
retrieve_estimated_delivery_datefunction in Shipment - Removes deprecated
endshipperbeta class, please use the GA oneEasyPost::Services::EndShipper
v4.13.1
- Improves Error Deserialization to dynamically handle edge cases that have a bad format
v4.13.0
- Adds
get_next_pagefunction to each object which retrieves the next page of a collection when thehas_morekey is present in the response