Skip to content

Releases: EasyPost/easypost-ruby

v4.10.0

11 Jan 17:16
bce2d7f
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Adds ability to generate shipment forms via generate_form function

v4.4.0

11 Jul 21:12
27aaa8c
Compare
Choose a tag to compare
  • Adds Billing.retrieve_payment_methods(), Billing.fund_wallet(), and Billing.delete_payment_method() functions
  • Captures OS information in the user-agent header for easier debugging
  • Update functions now use patch instead of put under the hood to better match API behavior and documentation. The behavior of these functions should remain the same

v3.5.1

01 Jul 16:26
e5cbb10
Compare
Choose a tag to compare
  • Backports newer user-agent header