Releases: EasyPost/easypost-java
Releases · EasyPost/easypost-java
v8.1.0
v8.0.1
- Corrects the endpoint used for creating/updating UPS accounts
v8.0.0
See our Upgrade Guide for more details.
- Adds
WebhookCustomHeader
model, allowingcustom_headers
to be passed when creating/updating a webhook - Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
betaReferralCustomer.createCreditCardClientSecret
betaReferralCustomer.createBankAccountClientSecret
referralCustomer.addCreditCardFromStripe
referralCustomer.addBankAccountFromStripe
- Adds missing tracker props
- Adds
tracking_codes
param to tracker index endpoint - Routes
AmazonShippingAccount
to the correct endpoint - Corrects payload wrapping for updating a webhook
- Fixes error parsing
- Allows for alternative format of
errors
field (previously we deserialized theerrors
field into a list ofError
objects; however, sometimes the errors are simply a list of strings. This change make theerrors
field a list ofObject
allowing for either the newFieldError
object or a list of strings. Users will need to check for the type of error returned and handle appropriately) - Removed the unused
Error
model - Added an explicit
AddressVerificationFieldError
model - The
BetaPaymentRefund
now uses a list ofFieldError
instead ofError
for theerrors
field
- Allows for alternative format of
- Removes deprecated functions
paymentMethod.all
(usebilling.retrievePaymentMethods
instead)user.apiKeys
(useapiKey.retrieveApiKeysForUser
instead)
- Replaces deprecated functions
shipment.lowestSmartRate
(3rd param expects a validSmartRateAccuracy
)utilities.findLowestSmartRate
(3rd param expects a validSmartRateAccuracy
)
- Renames
SmartrateAccuracy
is nowSmartRateAccuracy
SmartrateCollection
is nowSmartRateCollection
shipment.smartrates
is nowshipment.smartRates
TimeInTransit.getBySmartrateAccuracy
is nowTimeInTransit.getSmartRateAccuracy
- Bumps dependencies
v7.4.4
- Fixes how params are passed to the API when buying a pickup and providing a pickup rate (closes #340)
- Removes the unusable buy a pickup overload where no params are specified as
carrier
andservice
are required paramaters when buying a pickup
- Removes the unusable buy a pickup overload where no params are specified as
- Removes the deprecated
create_list
tracker endpoint function as it is no longer available via API
v7.4.3
v7.4.2
- Fix pagination parameters for
getNextPage
inUser
service
v7.4.1
v7.4.0
v7.3.0
- Adds new
shipment.recommendShipDate
,smartrate.recommendShipDate
, andsmartrate.estimateDeliveryDate
functions - Routes
UpsAccount
,UpsMailInnovationsAccount
, andUpsSurepostAccount
create/update requests to the new/ups_oauth_registrations
endpoint- Starting
2024-08-05
, UPS accounts will require a new payload to register or update. See UPS OAuth 2.0 Update for more details
- Starting
v7.2.1
- Fix
Fields
serialization bug causing carrier account operations to fail