Skip to content

v3.0.0

Compare
Choose a tag to compare
@Justintime50 Justintime50 released this 15 Apr 19:17
· 382 commits to master since this release
eef15b6

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