Skip to content

Releases: bitpay/csharp-bitpay-client

6.0.0

01 Jul 19:10
f3d4a52

Choose a tag to compare

What's Changed

  • C# - Implement better refund exceptions
  • Add .NET 8.0 support
  • Add code examples
  • Reviewed types and made updates where necessary to match API
  • Fix class name from InvoiceRefundAddresses to InvoiceRefundAddress
  • Support "errors" array
  • Add X-BitPay-Platform-Info header
  • Use resource token in webhook resend requests
  • Bump Microsoft.NETFramework.ReferenceAssemblies and xunit.runner.visualstudio
  • Update supported versions and readme by
  • Bump Microsoft.SourceLink.GitHub and Microsoft.NETFramework.ReferenceAssemblies
  • Bump Microsoft.NET.Test.Sdk and Microsoft.NETFramework.ReferenceAssemblies

Full Changelog: 5.0.2...6.0.0

v5.0.2

25 Sep 15:29
a398aad

Choose a tag to compare

Overview

This is a patch version that contains dependency updates.

What's Changed

  • Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.7.2
  • Bump coverlet.collector from 3.1.2 to 6.0.0
  • Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0
  • Bump Newtonsoft.Json from 13.0.2 to 13.0.3
  • Bump xunit from 2.4.1 to 2.5.0
  • Bump version to 5.0.2

Full Changelog: 5.0.1...5.0.2

v5.0.1

22 Aug 14:50
6af0f4d

Choose a tag to compare

Overview

This is a small change that makes the build reproducible as seen in Nuget Explorer:

Screenshot 2023-08-22 at 10 49 54 AM

v5.0.0

14 Aug 15:11

Choose a tag to compare

Overview

We were releasing our next major version of the .NET SDK - version 5.0.0.

Highlights

Client Class Breakdown

To make this easier to work on and more testable, we have:

  • Implemented a facade for the client
  • Created a class to handle generic REST GET, PUT, POST, and DELETE
  • Created separate classes for each resource, providing a better representation of the API
  • Add unit and integration tests for new client classes

Implement POS Facade

Prior to version 5.0.0, we had two separate SDKs, the "Light" SDK, which could only use the POS facade, and the "Full" SDK, which used the merchant and payout facades. This created the need for additional effort both in maintaining and implementing the SDK.

As of version 5.0.0, the SDK supports both methods. You can use just the POS facade, which is limited in feature set but does not require signed requests (no private key to manage) or with the merchant/payout facade, which has more functionality but is more complex to implement.

This provides an easier upgrade path and reduces the duplicate work of maintaining two separate SDKs regarding dependency upgrades, bug fixes, etc.

Test Suites

We have implemented functional and unit test suites to the API, and the unit tests run in GitHub Actions for all commits and pull requests.

Other Notes

  • The SDK is now at parity with the API

Full Changelog: v4.4.2203...5.0.0

v4.4.2203

29 Mar 14:20
b7fa770

Choose a tag to compare

What's New:

Added
  • Plain text private key can be passed as plain text to initialise the client
  • Plain text private key can be generated by the BitPay.Net Setup utility

v4.2.2111

18 Nov 16:12
cf3b797

Choose a tag to compare

What's New:

Added
  • invoice: added cancellation functionality

v4.1.2111

09 Nov 12:30
a4e02cb

Choose a tag to compare

What's New:

Changed
  • invoice: added missing properties
Fixed
  • invoice:RefundInfo serialisation issue

v4.0.2104

29 Apr 13:37
a626780

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • ⚠️invoice:PaymentCodes fully removed
  • ⚠️invoice:PaymentTotals fully removed
  • ⚠️invoice:PaymentSubtotals fully removed
  • ⚠️Payouts functionality fully updated
Fixed
  • Dependencies upgraded

v3.3.2003

24 Mar 12:00
0eca079

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • ⚠️invoice:PaymentCodes deprecated and removed on next version
  • ⚠️invoice:PaymentTotals deprecated and removed on next version
  • ⚠️invoice:PaymentSubtotals deprecated and removed on next version
  • ⚠️Facade POS removed
Added
  • API frame headers

v3.2.2001

10 Jan 15:49
c4b0e35

Choose a tag to compare

What's New:

Changed
  • Refunds refactor

MD5 Checksum

ff725f41f027994ba09cb0bad755ab1f BitPay.Net.Lib_3.2.2001.zip
4dc648b4be80862a2eca32e8e3c354c7 BitPay.Net_Setup_utility_3.1.1912.zip