Releases: EasyPost/easypost-ruby
Releases · EasyPost/easypost-ruby
v4.8.0
- Adds support to buy a shipment by passing in
end_shipper_id
with_carbon_offset
can now alternatively be passed in theparams
parameter of theshipment.buy
function- Migrates Partner White Label (Referrals) to general library namespace and deprecates beta functions
v4.7.1
- Makes not implemented
all
calls match theEasyPost::Resource
interface so that one can call.to_json
on them and receive the proper error
v4.7.0
- 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
- 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 awebhook_secret
mismatch - Deprecated
PaymentMethod
class, please useBilling
class for retrieve all payment method function
v4.5.0
- Adds ability to generate shipment forms via
generate_form
function
v4.4.0
- Adds
Billing.retrieve_payment_methods()
,Billing.fund_wallet()
, andBilling.delete_payment_method()
functions - Captures OS information in the user-agent header for easier debugging
- Update functions now use
patch
instead ofput
under the hood to better match API behavior and documentation. The behavior of these functions should remain the same
v3.5.1
- Backports newer user-agent header
v4.3.0
- Adds the
EndShipper
Beta class withcreate
,retrieve
,all
, andsave
functions - Requests will now fail fast with an error if an API key is not provided instead of making a live API call with no key
- Fixes a bug where the library could not properly parse the response of deleting a child user
- Fixes a bug where you could not update a webhook due to a
wrong number of arguments
error
v4.2.1
- Corrects the
Beta
namespace for the new Referral class
v4.2.0
- Adds a
lowest_rate()
function to Orders and Pickups - Adds a
Shipment.get_lowest_smartrate()
function and ashipment.lowest_smartrate()
function - Removes the unusable
carrier
param fromAddress.create_and_verify
along with the deadmessage
conditional check - Add beta Referral class for White Label API with these new functions:
create()
,update_email()
,all()
, andadd_credit_card()