Skip to content

Releases: EasyPost/easypost-ruby

v6.2.0

10 Apr 21:17
d93393a
Compare
Choose a tag to compare
  • Fix payment method funding and deletion failures due to undetermined payment method type
  • Add refund function in Insurance service for requesting a refund for standalone insurance.

v6.1.1

23 Jan 21:39
e74fff0
Compare
Choose a tag to compare
  • Fix issues funding wallet due to invalid internal function call

v6.1.0

08 Jan 22:54
c65ed19
Compare
Choose a tag to compare
  • Add all_children and get_next_page_of_children in user service

v6.0.0

06 Dec 18:07
f2a98db
Compare
Choose a tag to compare
  • Removes with_carbon_offset parameter from create, buy and regenerate_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 to get_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

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