Skip to content

Releases: EasyPost/easypost-csharp

v2.8.3

01 Jul 17:44
1e9f1f2
Compare
Choose a tag to compare
  • Backport improved User-Agent to collect OS details.
  • Built for .NET Framework 3.5, .NET Core 2.0 and .NET 3.0. Users on .NET Framework 4.X should be able to use the .NET Framework 3.5 version.

v3.1.0

19 May 22:05
07df7d4
Compare
Choose a tag to compare
  • Adds the EndShipper class with the ability to create, retrieve, and update EndShipper objects
  • Requests will now fail fast with an error if an API key is not provided instead of making a live API call with no key.

v3.0.0

15 Apr 19:17
eef15b6
Compare
Choose a tag to compare

Upgrading major versions of this project? Refer to the Upgrade Guide.

Breaking Changes

  • Dropped explicit support for .NET Framework, replaced with .NET Standard 2.0
  • Upgrades RestSharp from v106 to v107
  • Project was built with C# 8.0
  • Project is now entirely asynchronous which will require the addition of async/await on function calls
  • Renames methods from List() to All() to make our library consistent (previously we had methods calling the /all endpoint with both names)
  • Removes the unusable Rating class
  • Removes shipment.GetRates() method since the shipment object already has rates. If you need to get new rates for a shipment, please use the shipment.RegenerateRates() method.
  • Must use verify and verify_strict parameters to verify addresses during creation, per our API docs; verification and strict_verification will no longer work
  • Clarify XList vs XCollection distinction:
    • ReportList, ScanFormList, ShipmentList and TrackerList renamed to ReportCollection, ScanFormCollection, ShipmentCollection and TrackerCollection to match the other names throughout the project
  • Functions previously called Destroy are now called Delete for consistency (eg: deleting a carrier account)

Features

  • Adds explicit support for .NET 5.0 & 6.0
  • Adds F# & Visual Basic compatibility
  • Adds RetrieveMe() which retrieves the authenticated user without the need to pass an ID
  • Adds missing billing_ref and dropoff_type Shipment options
  • Adds comprehensive test suite for .NET/.NET Core
  • Adds declaration attribute to CustomsInfo class
  • Adds missing id property to the Brand class
  • Adds option to pass in a custom HttpClient to the Client constructor (.NET/.NET Core only)
  • Adds CreateAndBuy function to the Batch class

Bug Fixes

  • Fixes bug where AddressCollection was storing Batch objects rather than Address objects
  • Fixes Address creation respecting verify and verify_strict parameters
  • Fixes a bug where Pickup error messages were not deserializing properly

closes #151 , #152, #190, #245

Full Changelog: v2.8.1...v3.0.0

v2.8.2

25 Feb 23:30
ce139b0
Compare
Choose a tag to compare
  • Fixes a bug where failure to retrieve Assembly information to populate the User-Agent header on some platforms/versions would result in the inability to make HTTP requests

v2.8.1

18 Feb 00:12
90bd85d
Compare
Choose a tag to compare

Nuget Package

  • Repackaged the project which contains all the changes made from 2.6.0 - 2.8.0 (see details below)
  • Added .NET Core 3.1 to the released package (was previously built but not included starting in 2.6.0)

This release includes changes intended for v2.8.0

  • Adds the missing Insurance object and associated actions (closes #47)
  • Adds support for updating a user's brand
  • Adds support to one-call buy shipments and orders via the service key
  • Adds support for retrieving all Batch objects
  • Adds support for retrieving all Address objects
  • Adds support for retrieving all Event objects
  • Adds support to regenerate Shipment rates via the RegenerateRates method
  • Adds support for creating trackers in bulk via the CreateList Tracker method
  • Removes the unused orderBy parameter from the Batch object
  • Update the DefaultApiBase to include v2 and remove v2 from every request url string
  • Adds the .NET version in use to the User-Agent header
  • Add a 30 second connection timeout and a 60 second request timeout for all HTTP requests
  • Lints the entire project and adds/updates docstrings throughout
  • Fixes the test suite for the project making it runnable once again

This release includes changes intended for v2.7.0

  • Adds support for tax identifiers (PR #181)

This release includes changes intended for v2.6.0 & v2.6.1

  • Adds missing commercial_invoice_letterhead option (closes #142)
  • Adds missing license_number option
  • Adds missing receiver_liquor_license option
  • Adds missing VerificationDetails object (closes #140, #141, #162)
  • Changes the Client delegate constructor from internal to public
  • Updates various information in the README related to thread-safety, examples, releasing, etc
  • Adds all missing dates and versions to the CHANGELOG
  • Bumps RestSharp from 106.4.2 to 106.13.0
  • Adds support for .NET Core 3.1
  • Includes SmartRate handling.
  • Updated Code Signing Identity.

v2.8.0

16 Feb 20:14
e1e5b98
Compare
Choose a tag to compare

This release was mispackaged, please use v2.8.1 or newer.

2.7.0

24 Nov 16:53
Compare
Choose a tag to compare

This release was mispackaged, please use v2.8.1 or newer.

2.6.0

04 Nov 15:09
4d1de1f
Compare
Choose a tag to compare

This release was mispackaged, please use v2.8.1 or newer.