Skip to content

Releases: Concordium/concordium-net-sdk

concordium-net-sdk 5.0.0

23 Sep 11:16
f1213d1
Compare
Choose a tag to compare

Summary

Support for Concordium Node Version 7 and protocol version 7.

Changes

  • Added

    • More documentation comments on various types.
    • AccountInfo now includes the Schedule field, which are the locked CCD amounts scheduled for release.
    • Method GetStakedAmount to interface IAccountStakingInfo , which provides the staked amount.
  • Support Concordium Node version 7 API changes:

    • AccountInfo now have fields Cooldowns and AvailableBalance, which are respectively describing the stake currently in cooldown and the (unencrypted) balance of an account, which can be transferred.
    • New baker event BakerEventDelegationRemoved signaling a delegator is removed, right before becoming a baker/validator.
    • New delegation event DelegationEventBakerRemoved signaling a baker/validator is removed, right before becoming a delegator.
    • Some fields of type BakerPoolStatus are now nullable, more specifically BakerEquityCapital, DelegatedCapital, DelegatedCapitalCap and PoolInfo.
      Querying blocks prior to Protocol Version 7, these fields will always be present.
      From protocol version 7, pool removal has immediate effect, however, the pool may still be present for the current (and possibly next) reward period.

concordium-net-sdk 4.4.0

09 Feb 14:33
deaf623
Compare
Choose a tag to compare
  • Added
    • New transaction InitContract
    • Add WaitUntilFinalized method on ConcordiumClient for waiting for transactions to finalize.
    • Add Parameter.UpdateJson and Parameter.InitJson for constructing parameters for update and init transactions using JSON and smart contract module schemas (see the example in examples/UpdateContractMint).
    • Add class SchemaType for representing a single type in a module schema, such as the parameter.
    • Add Parameter.FromJson for constructing parameters using SchemaType and JSON.

concordium-net-sdk 4.3.0

26 Jan 11:37
e639491
Compare
Choose a tag to compare
  • Bugfix
    • Switched the GitHub runners from using 'ubuntu-latest' to 'ubuntu-20.04' to ensure compatibility with the default .NET 6 Docker image for the SDK.
  • Added
    • New GRPC-endpoint: GetBlockItems
    • New transactions: DeployModule and UpdateContract.
    • The function Prepare has been removed from the AccountTransactionPayload class, but is implemented for all subclasses except RawPayload.
    • Added serialization and deserialization for all instances of AccountTransactionPayload
  • Minor breaking change:
    • The function GetTransactionSpecificCost has been removed from the AccountTransactionPayload class.

concordium-net-sdk 4.2.1

14 Dec 12:55
9efc481
Compare
Choose a tag to compare
  • Bugfix
    • Fix wrong build of rust dependencies which made the interops call not work on iOS.

concordium-net-sdk 4.2.0

07 Dec 10:25
42d24c2
Compare
Choose a tag to compare
  • Added
    • Deserialization from module schema
      • Contract entrypoint messages
      • Contract events
      • Module schema
    • New GRPC-endpoints: GetBlocks, GetFinalizedBlocks, GetBranches, GetAncestors, GetBlockPendingUpdates
    • Added helpers to get new type ContractIdentifier on ReceiveName and ContractName. This new type only holds the contract name part of ReceiveName and ContractName.
      Also added helper to get entrypoint on ReceiveName.

concordium-net-sdk 4.1.0

12 Oct 06:51
Compare
Choose a tag to compare

Summary

Minor release which contains:

  • Bugfix
    • Documentation was missing when adding library as nuget packages and hovering over methods and classes.
  • Added
    • gRPC queries relevant for smart contracts.
      • GetModuleListAsync
      • GetInstanceListAsync
      • GetModuleSourceAsync
      • GetInstanceInfoAsync

Download

Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/4.1.0

concordium-net-sdk 4.0.1

14 Aug 09:19
10c48f7
Compare
Choose a tag to compare

Summary

Patch release which fixes mapping bugs:

  • TransactionCount in BlockInfo had wrong mapping and used TransactionsSize from node.
  • BakerPoolInfo had OpenStatus hardcoded as BakerPoolOpenStatus.OpenForAll.

Download

Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/4.0.1

concordium-net-sdk 4.0.0

03 Aug 11:35
13ef8ea
Compare
Choose a tag to compare

Summary

This is a major release with breaking changes relevant for protocol update 6.

Due to introduction of our new consensus protocol some chain parameters and block informations has been obsolete. In the new consensus protocol, slots are replaced with rounds, which makes slot parameters nullable from protocol 6.

The CHANGELOG.md gives a throughout description of changed parameters.

Download

Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/4.0.0

concordium-net-sdk 3.0.0

27 Jul 13:13
b9d4002
Compare
Choose a tag to compare

Summary

This is a major release which has added support for several new endpoints. The release is major and thereby breaking due to alignment between responses and types from the Concordium Client.

Download

Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/3.0.0

concordium-net-sdk 2.0.0

25 May 14:25
dcb24b3
Compare
Choose a tag to compare

Summary

This is a major release since it has been rewritten to use Concordium Node gRPC API version 2. This rewrite does not preserve any of the old API and therefore deprecates earlier versions of the SDK.

Download

Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/2.0.0