Releases: EasyPost/easypost-ruby
Releases · EasyPost/easypost-ruby
v6.2.0
v6.1.1
- Fix issues funding wallet due to invalid internal function call
v6.1.0
- Add
all_children
andget_next_page_of_children
inuser
service
v6.0.0
- Removes
with_carbon_offset
parameter fromcreate
,buy
andregenerate_rates
methods in the shipment service since now EasyPost offers carbon neutral shipments by default for free - Fixes a bug where the original filtering criteria of
all
calls wasn't passed along toget_next_page
calls. Now, these are persisted via_params
key on response objects - Removes the undocumented
create_and_buy
function 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
user
service intoapi_key
service, deprecating the old and introducing the new
v5.2.0
- Add
carrier_type
service +carrier_type.all
method
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 Hooks
section in the README for more details) - Maps 400 status code responses to the new
BadRequestError
class
v5.0.1
- Fixes a bug where the params of a
customs_info
on 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
Client
object with an API key. Optionally set open and read timeout params - Previous classes have been diverted into
Services
andModels
- 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.x
toclient.beta_x
- References to
Referral
are nowReferralCustomer
andreferral_customer
to match the API and docs - References to
smartrate
are nowSmartRate
andsmart_rate
to match the API and docs- Rename function
get_smartrates
toget_smart_rates
- Rename function
get_lowest_smartrate
toget_lowest_smart_rate
- Rename function
- Empty API response functions for
delete
returntrue
instead 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_date
function in Shipment - Removes deprecated
endshipper
beta class, please use the GA oneEasyPost::Services::EndShipper