Skip to content

Releases: EasyPost/easypost-java

v8.1.0

29 May 19:42
5b04689
Compare
Choose a tag to compare
  • Adds reference to Claims

v8.0.1

27 May 18:03
5b9b2d8
Compare
Choose a tag to compare
  • Corrects the endpoint used for creating/updating UPS accounts

v8.0.0

30 Apr 19:16
d1a0020
Compare
Choose a tag to compare

See our Upgrade Guide for more details.

  • Adds WebhookCustomHeader model, allowing custom_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 the errors field into a list of Error objects; however, sometimes the errors are simply a list of strings. This change make the errors field a list of Object allowing for either the new FieldError 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 of FieldError instead of Error for the errors field
  • Removes deprecated functions
    • paymentMethod.all (use billing.retrievePaymentMethods instead)
    • user.apiKeys (use apiKey.retrieveApiKeysForUser instead)
  • Replaces deprecated functions
    • shipment.lowestSmartRate (3rd param expects a valid SmartRateAccuracy)
    • utilities.findLowestSmartRate (3rd param expects a valid SmartRateAccuracy)
  • Renames
    • SmartrateAccuracy is now SmartRateAccuracy
    • SmartrateCollection is now SmartRateCollection
    • shipment.smartrates is now shipment.smartRates
    • TimeInTransit.getBySmartrateAccuracy is now TimeInTransit.getSmartRateAccuracy
  • Bumps dependencies

v7.4.4

03 Jan 18:19
33fbbad
Compare
Choose a tag to compare
  • 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 and service are required paramaters when buying a pickup
  • Removes the deprecated create_list tracker endpoint function as it is no longer available via API

v7.4.3

16 Sep 20:14
c0b3e19
Compare
Choose a tag to compare
  • Remove the custom DateDeserializer that contained a parsing issue. This change closes the related GitHub issue #333

v7.4.2

09 Aug 22:04
c1839b9
Compare
Choose a tag to compare
  • Fix pagination parameters for getNextPage in User service

v7.4.1

24 Jul 22:16
69b59ae
Compare
Choose a tag to compare
  • Fix bug where response hooks were not being called if an API request failed

v7.4.0

24 Jul 21:33
40d1591
Compare
Choose a tag to compare

What's Changed

  • Add new Claim service for filing claims on EasyPost shipments and insurances

Related PRs

Full Changelog: v7.3.0...v7.4.0

v7.3.0

16 Jul 23:04
31d922e
Compare
Choose a tag to compare
  • Adds new shipment.recommendShipDate, smartrate.recommendShipDate, and smartrate.estimateDeliveryDate functions
  • Routes UpsAccount, UpsMailInnovationsAccount, and UpsSurepostAccount 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

v7.2.1

15 Apr 15:41
455fbfe
Compare
Choose a tag to compare
  • Fix Fields serialization bug causing carrier account operations to fail