Skip to content

Releases: EasyPost/easypost-go

v2.6.0

02 Aug 19:10
ec6f8ee
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

v2.5.0

18 Jul 19:33
08a56a5
Compare
Choose a tag to compare
  • Add support for generating shipment forms via GenerateShipmentForm function

v2.4.0

11 Jul 21:25
285259d
Compare
Choose a tag to compare
  • Adds RetrievePaymentMethods, FundWallet and DeletePaymentMethod functions
  • Adds BillingType in CarrierAccount and Rate structs
  • Adds new lowest rate functions for Shipments, Orders and Pickups
  • Adds new lowest smartrate functions for Shipments
  • Adds OS details to the User-Agent header
  • Adds support for webhook secrets
  • Update methods now use patch instead of put behind the scenes to better match the API expectation and documentation. Update functions should still behave the same as before
  • Enforces passing an API key on each request (the library will now fail fast instead of sending an impossible-to-service HTTP request)

v2.3.0

13 Apr 16:01
a786f1e
Compare
Choose a tag to compare
  • Adds Columns and AdditionalColumns params to Report struct
  • Adds Declaration attribute in CustomsInfo struct

v2.2.0

08 Mar 21:34
dc66728
Compare
Choose a tag to compare
  • Adds missing CreateAndVerifyAddress and CreateAndVerifyAddressWithContext functions

v2.1.0

07 Mar 22:25
c506873
Compare
Choose a tag to compare
  • Adds CreateRefund, CreateRefundWithContext, ListRefunds, ListRefundsWithContext, GetRefund, and GetRefundWithContext in the Refund file
  • Adds missing ID attribute to Brand struct
  • Fixes a bug where the AddShipmentsToBatch, and AddShipmentsToBatchWithContext functions wouldn't allow a Shipment object to be passed by changing the params from string to interface{}
  • Fixes a bug where the RemoveShipmentsFromBatch, and RemoveShipmentsFromBatchWithContext functions wouldn't allow a Shipment IDs to be passed by changing the params from *Shipment to interface{}
  • Fixes the return type of ListBatchesResult from batch to insurance
  • Fixes the HTTP method from GET to POST for GetBatchLabels and GetBatchLabelsWithContext
  • Adds comprehensive test coverage

v2.0.1

10 Feb 20:06
0f8e105
Compare
Choose a tag to compare
  • Corrects namespace for v2 release from github.com/EasyPost/easypost-go to github.com/EasyPost/easypost-go/v2

v2.0.0

09 Feb 23:14
136e043
Compare
Choose a tag to compare

NOTE: Do not use this release, use v2.0.1 or later due to this release being incorrectly packaged.

  • Bumps minimum Go version from 1.12 to 1.15
  • Bumps dependencies
  • Lints the entire project
  • adds a client.RetrieveMe() function to retrieve the authenticated user
  • Adds support to one-call buy an order by passing a Service and CarrierAccount
  • Adds support to update user brand via client.UpdateBrand()
  • Adds support to create a list of trackers via client.CreateTrackerList()
  • Adds support for getting the lowest rate of a shipment via client.LowestRate()
  • Adds support to rerate a shipment via the client.RerateShipment() method
  • Adds a default timeout of 60 seconds to requests. This can be overridden by by setting the Client.Timeout option in milliseconds
  • Fixed a spelling error for origin_location on the Tracker struct
  • Removed GetShipmentRates() and GetShipmentRatesWithContext() methods since the shipment struct already has rates. If you need to get new rates for a shipment, please use the RerateShipment() method instead
  • Adds a SmartRate struct since the structure of the Rate and SmartRate objects are different (previously the SmartRate object borrowed the Rate struct)

v1.4.0

07 Oct 21:18
4c62834
Compare
Choose a tag to compare
  • Adds support for TaxIdentifiers
  • Remove experimental undocumented methods ListTrackersUpdated and ListTrackersUpdatedWithContext

v1.3.1

23 Jun 16:00
baf3ba9
Compare
Choose a tag to compare
  • Corrects CODAmount from a float64 to a string