Skip to content

Releases: EasyPost/easypost-csharp

v7.0.0

30 Apr 20:36
16cced5
Compare
Choose a tag to compare

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 the errors field into a list of Error objects; however, sometimes the errors are simply a list of strings. This change make the errors field a list of objects allowing for either the new FieldError 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 of FieldError instead of Error for the errors field
  • Remove previously-marked obsolete parameter, functions and classes:
    • EasyPost.Models.API.DeliveryDateForZipPairEstimate.EasyPostTimeInTransitData property (use EasyPost.Models.API.DeliveryDateForZipPairEstimate.TimeInTransitDetails instead)
    • EasyPost.Models.API.Options.BillReceiverAccount property (use EasyPost.Models.API.Options.Payment instead)
    • EasyPost.Models.API.Options.BillReceiverPostalCode property (use EasyPost.Models.API.Options.Payment instead)
    • EasyPost.Models.API.Options.BillThirdPartyAccount property (use EasyPost.Models.API.Options.Payment instead)
    • EasyPost.Models.API.Options.BillThirdPartyCountry property (use EasyPost.Models.API.Options.Payment instead)
    • EasyPost.Models.API.Options.BillThirdPartyPostalCode property (use EasyPost.Models.API.Options.Payment instead)
    • EasyPost.Models.API.Rate.EstDeliveryDays property (use EasyPost.Models.API.Rate.DeliveryDays instead)
    • EasyPost.Models.API.SmartRate.EstDeliveryDays property (use EasyPost.Models.API.SmartRate.DeliveryDays instead)
    • EasyPost.Models.API.RateWithEstimatedDeliveryDate.EasyPostTimeInTransitData property (use EasyPost.Models.API.RateWithEstimatedDeliveryDate.TimeInTransitDetails instead)
    • EasyPost.Models.API.RecommendShipDateForShipmentResult.EasyPostTimeInTransitData property (use EasyPost.Models.API.RecommendShipDateForShipmentResult.TimeInTransitDetails instead)
    • EasyPost.Models.API.ShipDateForZipPairRecommendation.EasyPostTimeInTransitData property (use EasyPost.Models.API.ShipDateForZipPairRecommendation.TimeInTransitDetails instead)
    • EasyPost.Models.API.Tracker.TrackingUpdatedAt property (use EasyPost.Models.API.Tracker.UpdatedAt instead)
    • EasyPost.Models.API.TimeInTransitDetails class (use EasyPost.Models.API.TimeInTransitDetailsForDeliveryDateEstimate instead)
    • EasyPost.Parameters.Tracker.CreateList class (related function was removed in v6.8.0)
    • EasyPost.Constants.CarrierAccounts.FedExAccount variable (use EasyPost.Models.API.CarrierAccountType.FedEx instead)
    • EasyPost.Constants.CarrierAccounts.UpsAccount variable (use EasyPost.Models.API.CarrierAccountType.Ups instead)

v6.9.0

22 Nov 18:44
127dbb5
Compare
Choose a tag to compare

What's Changed

  • Add missing CheckDeliveryAddress parameter for Claim.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

31 Oct 19:37
95dab8f
Compare
Choose a tag to compare

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

22 Oct 20:55
c81ef8c
Compare
Choose a tag to compare

What's Changed

  • Removes the deprecated CreateList Tracker function as it is no longer available via API
  • Adds TrackingCodes optional parameter to Tracker.All parameter set for listing trackers
  • Adds RestrictionComments optional parameter to CustomsInfo.Create parameter set and enforces usage if RestrictionType is not "none" (closes #597 )

Related PRs

Full Changelog: v6.7.3...v6.8.0

v6.7.3

17 Sep 21:01
18d9b31
Compare
Choose a tag to compare

What's Changed

  • Corrects all API documentation link references to point to their new locations
  • Fix recursion during disposal causing stack overflow

Related PRs

Full Changelog: v6.7.2...v6.7.3

v6.7.2

16 Aug 21:35
d17876e
Compare
Choose a tag to compare

What's Changed

  • Fix inclusion of Verify and VerifyStrict parameters when creating an Address as part of a larger object creation (e.g. Shipment, Order, etc.)

Related PRs

Full Changelog: v6.7.1...v6.7.2

v6.7.1

09 Aug 19:29
fb98ab6
Compare
Choose a tag to compare

What's Changed

  • Fix pagination parameters for GetNextPageOfChildren function for User service

Related PRs

Full Changelog: v6.7.0...v6.7.1

v6.7.0

24 Jul 18:38
80236f5
Compare
Choose a tag to compare

What's Changed

  • Add new Claim service for filing claims on EasyPost shipments and insurances

Related PRs

Full Changelog: v6.6.0...v6.7.0

v6.6.0

16 Jul 22:20
1b55db7
Compare
Choose a tag to compare

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
  • Enforce one-or-other for Shipment and Batch parameters in Pickup.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

v6.5.2

12 Jun 19:58
e5b2f3a
Compare
Choose a tag to compare

What's Changed

  • Fix Shipment parameter requirement for Pickup.Create parameter set

Related PRs

  • [fix] Remove "required" validation for Shipment parameter of Pickup.Create set by @nwithan8 in #572

Full Changelog: v6.5.1...v6.5.2