Skip to content

Releases: EasyPost/easypost-java

v5.8.0

02 Aug 19:34
ca60b96
Compare
Choose a tag to compare
  • 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

18 Jul 19:43
6b5d8da
Compare
Choose a tag to compare
  • Adds ability to generate a shipment form via generate_form() function

v5.6.0

11 Jul 21:38
f14bbdb
Compare
Choose a tag to compare
  • Adds Billing.retrievePaymentMethods(), Billing.fundWallet(), and Billing.deletePaymentMethod() functions
  • Deprecates some existing payment method and credit card functions and features (repleaced by new Billing functions):
    • Deprecates CreditCard.fund() and CreditCard.delete() functions
    • Deprecates PaymentMethod.all() function
    • Deprecates certain PaymentMethod object functions
  • Some getX functions have been deprecated and renamed to simply X to avoid confusion with proper getter/setter
    functions.
    • getSmartrates() -> smartrates()
    • getLowestSmartRate() -> findLowestSmartrate()
  • Adds OS specific details to the user-agent header

v4.0.5

01 Jul 16:44
74e029b
Compare
Choose a tag to compare
  • Backports user-agent header changes

v5.5.0

21 Jun 16:04
005c2d4
Compare
Choose a tag to compare
  • Adds billingType attribute to Rate and CarrierAccount classes.
  • Adds missing attributes to the CarrierAcccount object (closes #145)

v5.4.0

03 Jun 15:35
4547de2
Compare
Choose a tag to compare
  • Adds PaymentMethod.all(), CreditCard.fund(), and CreditCard.delete() functions.
  • Fixes a bug that did not merge local and remote objects correctly on update (eg: User, Referral)

v5.3.0

19 May 21:43
3a886f0
Compare
Choose a tag to compare
  • Adds the EndShipper Beta class with create, retrieve, all, and update functions
  • Adds support for columns and additional_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 a shipment.lowestSmartrate() function
  • Adds beta Referral class for White Label API with these new functions: create(), updateEmail(), all(), and addCreditCard()
  • Adds CreditCard class for addCreditCard() 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 in Address.createAndVerify()

v5.2.0

25 Feb 23:13
ae3a332
Compare
Choose a tag to compare
  • Adds a getter and setter for eelPfc on the CustomsInfo object
  • Adds a getter and setter for id on the Brand 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 of Address objects instead of Batch objects

v5.1.0

09 Feb 23:20
3975671
Compare
Choose a tag to compare
  • Adds support to one-call buy a Shipment by passing a service and carrierAccounts key
  • Adds support to retrieve carrier types via CarrierType.all()
  • Adds support to one-call buy an Order by passing a service and carrierAccounts 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

14 Jan 23:13
aff8fec
Compare
Choose a tag to compare
  • 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 and containers 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