Skip to content

Releases: EasyPost/easypost-ruby

v4.12.0

21 Feb 18:14
50c531a

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

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.

v4.10.0

11 Jan 17:16
bce2d7f

Choose a tag to compare

  • Added new beta billing functionality for referral customer users, accessible via EasyPost::Beta::Referral
    • add_payment_method to add an existing Stripe bank account or credit card to your EasyPost account
    • refund_by_amount refunds you wallet balance by a specified amount
    • refund_by_payment_log refunds you wallet balance by a specified payment log
  • Fix bug where bank account and credit card payment methods were not deserializing to the EasyPost::PaymentMethod class

v4.9.0

07 Dec 17:40
35dfc7c

Choose a tag to compare

  • Routes requests for creating a carrier account with a custom workflow (eg: FedEx, UPS) to the correct endpoint when using the create function

v4.8.1

24 Oct 19:03
e021894

Choose a tag to compare

  • Concatenates error.message if it incorrectly comes back from the API as an array
  • Treats any HTTP status outside the 2xx range as an error. Impact expected is minimal as this change only affects 1xx and 3xx HTTP status codes

v4.8.0

21 Sep 22:11
4460eb1

Choose a tag to compare

  • Adds support to buy a shipment by passing in end_shipper_id
  • with_carbon_offset can now alternatively be passed in the params parameter of the shipment.buy function
  • Migrates Partner White Label (Referrals) to general library namespace and deprecates beta functions

v4.7.1

06 Sep 18:35
05531e4

Choose a tag to compare

  • Makes not implemented all calls match the EasyPost::Resource interface so that one can call .to_json on them and receive the proper error

v4.7.0

25 Aug 19:15
56bd0f7

Choose a tag to compare

  • Moves EndShipper out of beta to the general library namespace
  • Ensure the Easypost object will respond to .id when it has one in @values

v4.6.0

02 Aug 19:12
1e9bf0b

Choose a tag to compare

  • Adds Carbon Offset support
    • Adds ability to create a shipment with carbon_offset
    • Adds ability to buy a shipment with carbon_offset
    • Adds ability to one-call-buy a shipment with carbon_offset
    • Adds ability to rerate a shipment with carbon_offset
  • Adds validate_webhook function that returns your webhook or raises an error if there is a webhook_secret mismatch
  • Deprecated PaymentMethod class, please use Billing class for retrieve all payment method function

v4.5.0

18 Jul 19:34
0a525f8

Choose a tag to compare

  • Adds ability to generate shipment forms via generate_form function