Releases: EasyPost/easypost-java
Releases · EasyPost/easypost-java
v5.8.1
- Fixes a bug where an erroneous API call to retrieve smartrates would be made behind the scenes whenever a shipment object was updated locally from the API (such as when regenerating rates) due to the deprecated function name being called
getSmartratesand the library assuming this was a getter and attempting to use it to update the shipment data
v5.8.0
- Adds Carbon Offset support
- Adds the ability to create a shipment with carbon offset
- Adds the ability to buy a shipment with carbon offset
- Adds the ability to one-call-buy a shipment with carbon offset
- Adds the ability to re-rate a shipment with carbon offset
- Adds
validateWebhookfunction that returns your webhook or raises an error if there is a webhook secret mismatch
v5.7.0
- Adds ability to generate a shipment form via
generate_form()function
v5.6.0
- Adds
Billing.retrievePaymentMethods(),Billing.fundWallet(), andBilling.deletePaymentMethod()functions - Deprecates some existing payment method and credit card functions and features (repleaced by new Billing functions):
- Deprecates
CreditCard.fund()andCreditCard.delete()functions - Deprecates
PaymentMethod.all()function - Deprecates certain
PaymentMethodobject functions
- Deprecates
- Some
getXfunctions have been deprecated and renamed to simplyXto avoid confusion with proper getter/setter
functions.getSmartrates()->smartrates()getLowestSmartRate()->findLowestSmartrate()
- Adds OS specific details to the user-agent header
v4.0.5
- Backports user-agent header changes
v5.5.0
v5.4.0
- Adds
PaymentMethod.all(),CreditCard.fund(), andCreditCard.delete()functions. - Fixes a bug that did not merge local and remote objects correctly on update (eg: User, Referral)
v5.3.0
- Adds the
EndShipperBeta class withcreate,retrieve,all, andupdatefunctions - Adds support for
columnsandadditional_columnson Report creation - Adds
declaractionattribute in CustomsInfo class - Adds
AddressVerificationsclass - Adds a
lowestRate()function to Orders and Pickups - Adds a
Shipment.getLowestSmartrate()function and ashipment.lowestSmartrate()function - Adds beta Referral class for White Label API with these new functions:
create(),updateEmail(),all(), andaddCreditCard() - Adds
CreditCardclass foraddCreditCard()function return type - All SmartRate-related functions now return lists of Smartrate objects rather than lists of Rate objects
- Remove the dead
messageconditional check inAddress.createAndVerify()
v5.2.0
- Adds a getter and setter for
eelPfcon theCustomsInfoobject - Adds a getter and setter for
idon theBrandobject - Fixes a bug that didn't allow Refunds to be created
- Adds a complete test suite and upgrade JUnit4 to JUnit5
- Fixes the
AddressCollectionto return a list ofAddressobjects instead ofBatchobjects
v5.1.0
- Adds support to one-call buy a Shipment by passing a
serviceandcarrierAccountskey - Adds support to retrieve carrier types via
CarrierType.all() - Adds support to one-call buy an Order by passing a
serviceandcarrierAccountskey - Adds support to update the user's brand via
User.updateBrand() - Allow user to override default API timeouts via getters and setters
- Bump all plugins and remove dead
oss-parentplugin - Various other small improvements and bug fixes