Skip to content

Releases: EasyPost/easypost-ruby

v5.3.0

11 Oct 17:43
bb0fa0d
Compare
Choose a tag to compare
  • Migrate API Key-related functions out of user service into api_key service, deprecating the old and introducing the new

v5.2.0

14 Sep 20:59
8ed1ce2
Compare
Choose a tag to compare
  • Add carrier_type service + carrier_type.all method

v5.1.1

05 Sep 21:57
86b2575
Compare
Choose a tag to compare
  • Fix endpoint for creating a FedEx Smartpost carrier account

v5.1.0

28 Jul 16:10
c4a59d5
Compare
Choose a tag to compare
  • 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

20 Jun 16:39
682d065
Compare
Choose a tag to compare
  • Fixes a bug where the params of a customs_info on create weren't wrapped properly which led to an empty set of customs_items

v5.0.0

06 Jun 21:48
bf684cd
Compare
Choose a tag to compare

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 and Models
      • 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)
  • Beta namespace changed from easypost.beta.x to client.beta_x
  • 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
    • Rename function get_smartrates to get_smart_rates
    • Rename function get_lowest_smartrate to get_lowest_smart_rate
  • Empty API response functions for delete return true 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 one EasyPost::Services::EndShipper

v4.13.1

18 Apr 21:27
6aa713a
Compare
Choose a tag to compare
  • Improves Error Deserialization to dynamically handle edge cases that have a bad format

v4.13.0

04 Apr 16:13
05070c2
Compare
Choose a tag to compare
  • Adds get_next_page function to each object which retrieves the next page of a collection when the has_more key is present in the response

v4.12.0

21 Feb 18:14
50c531a
Compare
Choose a tag to compare
  • Adds beta retrieve_stateless_rates function
  • Adds get_lowest_stateless_rate utility

v4.11.0

18 Jan 18:06
bc77f40
Compare
Choose a tag to compare
  • Added function to retrieve all pickups, accessible via EasyPost::Pickup.all
  • Added payload functions retrieve_all_payloads and retrieve_payload to retrieve all payloads or a specific payload for an event.