Releases: EasyPost/easypost-java
Releases · EasyPost/easypost-java
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
validateWebhook
function 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
PaymentMethod
object functions
- Deprecates
- Some
getX
functions have been deprecated and renamed to simplyX
to 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
EndShipper
Beta class withcreate
,retrieve
,all
, andupdate
functions - Adds support for
columns
andadditional_columns
on Report creation - Adds
declaraction
attribute in CustomsInfo class - Adds
AddressVerifications
class - 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
CreditCard
class foraddCreditCard()
function return type - All SmartRate-related functions now return lists of Smartrate objects rather than lists of Rate objects
- Remove the dead
message
conditional check inAddress.createAndVerify()
v5.2.0
- Adds a getter and setter for
eelPfc
on theCustomsInfo
object - Adds a getter and setter for
id
on theBrand
object - Fixes a bug that didn't allow Refunds to be created
- Adds a complete test suite and upgrade JUnit4 to JUnit5
- Fixes the
AddressCollection
to return a list ofAddress
objects instead ofBatch
objects
v5.1.0
- Adds support to one-call buy a Shipment by passing a
service
andcarrierAccounts
key - Adds support to retrieve carrier types via
CarrierType.all()
- Adds support to one-call buy an Order by passing a
service
andcarrierAccounts
key - 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-parent
plugin - Various other small improvements and bug fixes
v5.0.0
- Bump minimum Java version from 1.5 to 8
- Changed PUT/POST request bodies from url-form encoded to JSON encoded
- Added support for
SmartRate
- Added support for
Tax Identifiers
- Added
Checkstyle
as a plugin and linted the project - Added new
rerate
shipment function - Bumped project dependencies
- Include Java version in User-Agent header
- Remove
items
andcontainers
which have not been supported for some time - Corrects references of
[email protected]
to[email protected]
- Updates the connection timeout to 30 seconds from 20 and the request timeout to 60 from 40