Skip to content

Releases: EasyPost/easypost-go

v5.4.0

10 Nov 17:56
b132467

Choose a tag to compare

  • Adds support for UspsShipAccount
  • Adds RetrieveTrackerBatch function
  • Adds VerifyCarrier address param

v5.3.1

17 Oct 21:23
b4f5d6e

Choose a tag to compare

  • Corrects the type of CarrierInsuranceAmount from string to float64

v5.3.0

12 Sep 17:14
3981d1d

Choose a tag to compare

  • Adds CarrierInsuranceAmount to ShipmentOptions

v5.2.1

08 Sep 20:11
4d3642e

Choose a tag to compare

  • Switches a break to a continue when calling lowestSmartRate so that if a rate doesn't match, we move on to the next rate instead of continuing the logic (closes #253)

v5.2.0

18 Jun 16:31
f6fb5c1

Choose a tag to compare

  • Adds the following functions
    • CreateAndBuyLumaShipment
    • BuyLumaShipment
    • GetLumaPromise
  • Corrects error message for Oauth carrier account creation

v5.1.0

29 May 19:41
af72975

Choose a tag to compare

  • Add Reference to Claims

v5.0.1

27 May 18:05
8ed3aae

Choose a tag to compare

  • Corrects the endpoint used for creating/updating UPS accounts

v5.0.0

30 Apr 19:17
29ee6a8

Choose a tag to compare

See our Upgrade Guide for more details.

  • Adds WebhookCustomHeader type, allowing custom_headers: []WebhookCustomHeader to be passed when creating/updating a webhook.
  • Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
    • AddReferralCustomerCreditCardFromStripe
    • AddReferralCustomerBankAccountFromStripe
    • BetaCreateCreditCardClientSecret
    • BetaCreateBankAccountClientSecret
    • BetaCreateBankAccountClientSecretWithReturlUrl
  • Routes AmazonShippingAccount to correct endpoint on create
  • Adds TrackingCodes to tracker list function
  • Adds EstDeliveryDate to TrackerDetail
  • 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 makes the errors field an interface, allowing for either the renamed FieldError object or a list of strings. Users will need to check for the type of error returned and handle appropriately)
    • Renamed the Error struct to FieldError to better match API docs and language
  • Address Verify and VerifyStrict params changed from lists of strings to bools
  • Swaps order of params for UpdateBrand so ID comes first followed by params like every other function
  • Renames errors to match other error names
    • EndOfPaginationErrorType to EndOfPaginationError
    • MissingWebhookSignatureErrorType to MissingWebhookSignatureError
    • MismatchWebhookSignatureErrorType to MismatchWebhookSignatureError
  • Renames CreateWebhookWithDetails to CreateWebhook
  • Removes the deprecated create_list tracker endpoint function as it is no longer available via API

v4.6.0

16 Aug 22:14
a4c741f

Choose a tag to compare

What's Changed

  • Add improved inheritance tree for error types, allowing end-user to properly cast and check for specific error types and sub-types

Related PRs

Full Changelog: v4.5.1...v4.6.0

v4.5.1

09 Aug 19:27
6994e48

Choose a tag to compare

  • Update HTTP logic to use query for GET/DELETE requests and body for POST/PUT/PATCH requests
  • Fix parameters for retrieving next page of child users