Releases: EasyPost/easypost-csharp
Releases · EasyPost/easypost-csharp
v7.0.0
See our Upgrade Guide for more details.
- Minimum .NET Framework is now v4.7.2
- Adds custom webhook headers when creating/updating a webhook
- Adds the following functions to assist ReferralCustomer in adding credit cards and bank accounts:
Beta.ReferralCustomer.CreateCreditCardClientSecret
Beta.ReferralCustomer.CreateBankAccountClientSecret
ReferralCustomer.AddCreditCardFromStripe
ReferralCustomer.AddBankAccountFromStripe
- Adds
MerchantId
as Shipment option (closes #592) - Adds missing tracker props
- Routes
AmazonShippingAccount
to the correct endpoint on create - Fixes error parsing
- Allows for alternative format of
errors
field (previously we deserialized theerrors
field into a list ofError
objects; however, sometimes the errors are simply a list of strings. This change make theerrors
field a list ofobjects
allowing for either the newFieldError
object or a list of strings. Users will need to check for the type of error returned and handle appropriately) - Removed the unused
Error
model - Added an explicit
AddressVerificationFieldError
model - The
PaymentRefund
class now uses a list ofFieldError
instead ofError
for theerrors
field
- Allows for alternative format of
- Remove previously-marked obsolete parameter, functions and classes:
EasyPost.Models.API.DeliveryDateForZipPairEstimate.EasyPostTimeInTransitData
property (useEasyPost.Models.API.DeliveryDateForZipPairEstimate.TimeInTransitDetails
instead)EasyPost.Models.API.Options.BillReceiverAccount
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillReceiverPostalCode
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyAccount
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyCountry
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyPostalCode
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Rate.EstDeliveryDays
property (useEasyPost.Models.API.Rate.DeliveryDays
instead)EasyPost.Models.API.SmartRate.EstDeliveryDays
property (useEasyPost.Models.API.SmartRate.DeliveryDays
instead)EasyPost.Models.API.RateWithEstimatedDeliveryDate.EasyPostTimeInTransitData
property (useEasyPost.Models.API.RateWithEstimatedDeliveryDate.TimeInTransitDetails
instead)EasyPost.Models.API.RecommendShipDateForShipmentResult.EasyPostTimeInTransitData
property (useEasyPost.Models.API.RecommendShipDateForShipmentResult.TimeInTransitDetails
instead)EasyPost.Models.API.ShipDateForZipPairRecommendation.EasyPostTimeInTransitData
property (useEasyPost.Models.API.ShipDateForZipPairRecommendation.TimeInTransitDetails
instead)EasyPost.Models.API.Tracker.TrackingUpdatedAt
property (useEasyPost.Models.API.Tracker.UpdatedAt
instead)EasyPost.Models.API.TimeInTransitDetails
class (useEasyPost.Models.API.TimeInTransitDetailsForDeliveryDateEstimate
instead)EasyPost.Parameters.Tracker.CreateList
class (related function was removed in v6.8.0)EasyPost.Constants.CarrierAccounts.FedExAccount
variable (useEasyPost.Models.API.CarrierAccountType.FedEx
instead)EasyPost.Constants.CarrierAccounts.UpsAccount
variable (useEasyPost.Models.API.CarrierAccountType.Ups
instead)
v6.9.0
What's Changed
- Add missing
CheckDeliveryAddress
parameter forClaim.Create
parameter set - Handle enums when running parameter interdependency checks
Related PRs
- [bug] Add missing claims parameters, fix interdependency parameter enforcement by @nwithan8 in #603
- [chore] Prep for v6.9.0 release by @nwithan8 in #604
- [chore] Upload compiled nupkg file from GitHub Runner to Action output by @nwithan8 in #605
Full Changelog: v6.8.1...v6.9.0
v6.8.1
What's Changed
- [FIX] HTTP query parameter serialization bug causing
TrackingCodes
to be ignored when listing trackers
Related PRs
- [fix] Handle serializing array/list parameters in GET/DELETE query strings by @nwithan8 in #601
- [chore] Prep for v6.8.1 release by @nwithan8 in #602
Full Changelog: v6.8.0...v6.8.1
v6.8.0
What's Changed
- Removes the deprecated
CreateList
Tracker function as it is no longer available via API - Adds
TrackingCodes
optional parameter toTracker.All
parameter set for listing trackers - Adds
RestrictionComments
optional parameter toCustomsInfo.Create
parameter set and enforces usage ifRestrictionType
is not "none" (closes #597 )
Related PRs
- chore: remove create_list tracker endpoint function by @Justintime50 in #590
- chore: update CODEOWNERS by @Justintime50 in #591
- [feat] Add TrackingCodes parameter by @nwithan8 in #594
- [fix] Add
RestrictionComments
toCustomsInfo
Create parameter set by @nwithan8 in #598 - [chore] Prep for v6.8.0 release by @nwithan8 in #600
Full Changelog: v6.7.3...v6.8.0
v6.7.3
What's Changed
- Corrects all API documentation link references to point to their new locations
- Fix recursion during disposal causing stack overflow
Related PRs
- fix: all doc links in docstrings by @Justintime50 in #586
- [fix] Recursion causing stack overflow when disposing client/service by @nwithan8 in #588
- [chore] Prep for v6.7.3 release by @nwithan8 in #589
Full Changelog: v6.7.2...v6.7.3
v6.7.2
What's Changed
- Fix inclusion of
Verify
andVerifyStrict
parameters when creating an Address as part of a larger object creation (e.g. Shipment, Order, etc.)
Related PRs
- [fix] Include "verify" and "verify_strict" parameters for Address creation by @nwithan8 in #582
- chore: use new webhook fixtures by @Justintime50 in #583
- [chore] Prep for v6.7.2 release by @nwithan8 in #585
Full Changelog: v6.7.1...v6.7.2
v6.7.1
What's Changed
- Fix pagination parameters for GetNextPageOfChildren function for User service
Related PRs
- Update README by @cargilltay in #579
- [bug] Fix pagination parameters for child user lists by @nwithan8 in #578
- [chore] Prep for v6.7.1 release by @nwithan8 in #581
Full Changelog: v6.7.0...v6.7.1
v6.7.0
v6.6.0
What's Changed
- Add new
SmartRate
service for interacting with the SmartRate API- New
RecommendShipDateForShipment
function to recommend ship date for a shipment based on a desired delivery date. - New
EstimateDeliveryDateForRoute
function to estimate delivery date based on a list of carriers, to/from ZIP codes and a planned ship date (no existing shipment required). - New
RecommendShipDateForRoute
function to to recommend ship date based on a list of carriers, to/from ZIP codes and a planned ship date (no existing shipment required). - New model classes as needed for JSON response to new API functions
- New
- Enforce one-or-other for
Shipment
andBatch
parameters inPickup.Create
parameter set - Add internal parameter dependency utility
Related PRs
- [POC] Denote the interdependency between parameters in a parameter set by @nwithan8 in #571
- chore: deprecate dictionary CreateList for tracker by @Justintime50 in #573
- [chore] Support new UPS carrier account create/update endpoint by @nwithan8 in #574
- [feat] Consolidate SmartRate functions, add new functions by @nwithan8 in #566
- [chore] Prep for v6.6.0 release by @nwithan8 in #575
Full Changelog: v6.5.2...v6.6.0