Releases: EasyPost/easypost-java
Releases · EasyPost/easypost-java
v8.2.0
v8.1.0
- Adds
referenceto Claims
v8.0.1
- Corrects the endpoint used for creating/updating UPS accounts
v8.0.0
See our Upgrade Guide for more details.
- Adds
WebhookCustomHeadermodel, allowingcustom_headersto be passed when creating/updating a webhook - Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
betaReferralCustomer.createCreditCardClientSecretbetaReferralCustomer.createBankAccountClientSecretreferralCustomer.addCreditCardFromStripereferralCustomer.addBankAccountFromStripe
- Adds missing tracker props
- Adds
tracking_codesparam to tracker index endpoint - Routes
AmazonShippingAccountto the correct endpoint - Corrects payload wrapping for updating a webhook
- Fixes error parsing
- Allows for alternative format of
errorsfield (previously we deserialized theerrorsfield into a list ofErrorobjects; however, sometimes the errors are simply a list of strings. This change make theerrorsfield a list ofObjectallowing for either the newFieldErrorobject or a list of strings. Users will need to check for the type of error returned and handle appropriately) - Removed the unused
Errormodel - Added an explicit
AddressVerificationFieldErrormodel - The
BetaPaymentRefundnow uses a list ofFieldErrorinstead ofErrorfor theerrorsfield
- Allows for alternative format of
- Removes deprecated functions
paymentMethod.all(usebilling.retrievePaymentMethodsinstead)user.apiKeys(useapiKey.retrieveApiKeysForUserinstead)
- Replaces deprecated functions
shipment.lowestSmartRate(3rd param expects a validSmartRateAccuracy)utilities.findLowestSmartRate(3rd param expects a validSmartRateAccuracy)
- Renames
SmartrateAccuracyis nowSmartRateAccuracySmartrateCollectionis nowSmartRateCollectionshipment.smartratesis nowshipment.smartRatesTimeInTransit.getBySmartrateAccuracyis 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
carrierandserviceare required paramaters when buying a pickup
- Removes the unusable buy a pickup overload where no params are specified as
- Removes the deprecated
create_listtracker endpoint function as it is no longer available via API
v7.4.3
v7.4.2
- Fix pagination parameters for
getNextPageinUserservice
v7.4.1
v7.4.0
v7.3.0
- Adds new
shipment.recommendShipDate,smartrate.recommendShipDate, andsmartrate.estimateDeliveryDatefunctions - Routes
UpsAccount,UpsMailInnovationsAccount, andUpsSurepostAccountcreate/update requests to the new/ups_oauth_registrationsendpoint- 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