Skip to content

Releases: chainofalliance/postchain-client-csharp

Release v0.6.5

18 Jul 15:22
Compare
Choose a tag to compare

Changelog

  • Fix: TransportException now contains the reason why a query/operation failed.

Release v0.6.4

24 Jun 12:05
Compare
Choose a tag to compare

Breaking Changes

EOL targets (i.e. .NET5.0 and .NET7.0) are no longer supported. .NET8.0 support got added instead

Changelog

  • Fix: Retries now iterate correctly over all nodes in the node list instead of hitting the same target.

Release v0.6.3

28 Mar 10:06
Compare
Choose a tag to compare

Breaking Change

ITransport requires CancellationTokens for all methods now. The UnityTransport is updated accordingly.
ITransport requires Task Delay(int milliseconds, CancellationToken ct) to be implemented. The UnityTransport is updated accordingly.

Changelog

  • Feat: Add QoL methods:
    • ChromiaClient.DecodeFromGtv(Buffer gtv)
    • SignatureProvider.Verify(Buffer pubKey, Buffer signature, Buffer buffer)
  • Feat: Overload operators for Buffer, add implicit ToString conversion
  • Feat: Add cancellation tokens to async methods, per default CancellationToken.None is set
  • Feat: Add supported Gtv types
  • Fix: BigInteger serialization in operations
  • Chore: Improve test coverage

Release v0.6.2

07 Mar 09:57
Compare
Choose a tag to compare

Fix:

  • Retry counter for transaction confirmation

Release v0.6.1

01 Sep 14:48
Compare
Choose a tag to compare
  • Switch from Secp256k1Net to NBitcoin.Secp256k1 for keypairs/sign/verify
    • Secp256k1Net was causing problems for Unity projects, NBitcoin.Secp256k1 offers the missing compability
  • Expose utility functions in ChromiaClient
    • Sha256(Buffer|byte[] buffer): Creates an sha256 hash of the given buffer
    • Hash(object): Parses the object to gtv and calculates the merkle tree root hash of it
    • EncodeToGtv(object): Encodes the given object to a gtv buffer
  • Fix bugs in Buffer and boolean deserialization

Release v0.6.0

02 Aug 13:34
Compare
Choose a tag to compare
  • Update API to be in line with js/ts postchain client changes
  • Add big integer support
  • Use query_gtv endpoint
  • Better error handling
  • Add code documentation
  • Support Unity dll import support

Release v0.5.0

29 Sep 10:16
Compare
Choose a tag to compare

Changelog:

  • Add Gtx.Decode to deserialize raw transactions.
  • Refactor file structure
  • Refactor tests
    For reference on what Gtx.Decode returns, look at PostchainClient.Tests/OperationTest

Release v0.4.2

06 Jun 10:29
406ff15
Compare
Choose a tag to compare

Changelog:

  • Update to .NET 5
  • Fix bug where strings with UTF-8 characters could not be sent
  • Add icon to package

Soft release after "v0.4.1" (which didn't get an official release). Only metadata has changed compared to it.

Release v0.4.0

16 Apr 16:09
89ab4bd
Compare
Choose a tag to compare

Major update

Changelog:

  • Add compatibility for Unity.
    • Add lib to Unity Asset Store, link can be found in README.
    • Add compiler flag to compile against UnityEngine.Networking (has to be in ${repo_path}/libs/)
    • Add compiler flag to compile against specific Newtonsoft.Json (this)
    • Remove dynamic types and use objects.
  • Add support to query brid from node over chain iid, instead of adding it statically in RESTClient.
  • Restructure library to hide unnecessarily open methods and classes.
    • Remove Flurl dependency and use System.Net per default.
      • Add request timeout to RESTClient.
    • Clean up namespaces. Everything is in the Chromia.Postchain.Client namespace now.
  • Add support for negative integers as operation/query parameter.
  • Fix some other bugs.

Release v0.3.6

01 Feb 09:46
Compare
Choose a tag to compare

Changelog:

  • Fix broken dependency
  • Fix bug that occurred while sending only null as operation parameter