Releases: EasyPost/easypost-csharp
Releases · EasyPost/easypost-csharp
v2.8.3
- 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
- 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
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()
toAll()
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 theshipment.RegenerateRates()
method. - Must use
verify
andverify_strict
parameters to verify addresses during creation, per our API docs;verification
andstrict_verification
will no longer work - Clarify XList vs XCollection distinction:
ReportList
,ScanFormList
,ShipmentList
andTrackerList
renamed toReportCollection
,ScanFormCollection
,ShipmentCollection
andTrackerCollection
to match the other names throughout the project
- Functions previously called
Destroy
are now calledDelete
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
anddropoff_type
Shipment options - Adds comprehensive test suite for .NET/.NET Core
- Adds
declaration
attribute toCustomsInfo
class - Adds missing
id
property to theBrand
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 storingBatch
objects rather thanAddress
objects - Fixes Address creation respecting
verify
andverify_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
- 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
- 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 theBatch
object - Update the
DefaultApiBase
to includev2
and removev2
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
topublic
- 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
This release was mispackaged, please use v2.8.1
or newer.