Releases: chainofalliance/postchain-client-csharp
Releases · chainofalliance/postchain-client-csharp
Release v0.6.5
Release v0.6.4
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
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
Fix:
- Retry counter for transaction confirmation
Release v0.6.1
- 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 bufferHash(object)
: Parses the object to gtv and calculates the merkle tree root hash of itEncodeToGtv(object)
: Encodes the given object to a gtv buffer
- Fix bugs in Buffer and boolean deserialization
Release v0.6.0
- 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
Changelog:
- Add Gtx.Decode to deserialize raw transactions.
- Refactor file structure
- Refactor tests
For reference on what Gtx.Decode returns, look atPostchainClient.Tests/OperationTest
Release v0.4.2
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
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.
- Remove Flurl dependency and use System.Net per default.
- Add support for negative integers as operation/query parameter.
- Fix some other bugs.
Release v0.3.6
Changelog:
- Fix broken dependency
- Fix bug that occurred while sending only null as operation parameter