Releases: Concordium/concordium-net-sdk
concordium-net-sdk 5.0.0
Summary
Support for Concordium Node Version 7 and protocol version 7.
Changes
-
Added
- More documentation comments on various types.
AccountInfo
now includes theSchedule
field, which are the locked CCD amounts scheduled for release.- Method
GetStakedAmount
to interfaceIAccountStakingInfo
, which provides the staked amount.
-
Support Concordium Node version 7 API changes:
AccountInfo
now have fieldsCooldowns
andAvailableBalance
, 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 specificallyBakerEquityCapital
,DelegatedCapital
,DelegatedCapitalCap
andPoolInfo
.
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
- Added
- New transaction
InitContract
- Add
WaitUntilFinalized
method onConcordiumClient
for waiting for transactions to finalize. - Add
Parameter.UpdateJson
andParameter.InitJson
for constructing parameters forupdate
andinit
transactions using JSON and smart contract module schemas (see the example inexamples/UpdateContractMint
). - Add class
SchemaType
for representing a single type in a module schema, such as the parameter. - Add
Parameter.FromJson
for constructing parameters usingSchemaType
and JSON.
- New transaction
concordium-net-sdk 4.3.0
- 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
andUpdateContract
. - The function
Prepare
has been removed from theAccountTransactionPayload
class, but is implemented for all subclasses exceptRawPayload
. - Added serialization and deserialization for all instances of
AccountTransactionPayload
- New GRPC-endpoint:
- Minor breaking change:
- The function
GetTransactionSpecificCost
has been removed from theAccountTransactionPayload
class.
- The function
concordium-net-sdk 4.2.1
- Bugfix
- Fix wrong build of rust dependencies which made the interops call not work on iOS.
concordium-net-sdk 4.2.0
- 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
onReceiveName
andContractName
. This new type only holds the contract name part ofReceiveName
andContractName
.
Also added helper to get entrypoint onReceiveName
.
- Deserialization from module schema
concordium-net-sdk 4.1.0
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
- gRPC queries relevant for smart contracts.
Download
Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/4.1.0
concordium-net-sdk 4.0.1
Summary
Patch release which fixes mapping bugs:
TransactionCount
inBlockInfo
had wrong mapping and usedTransactionsSize
from node.BakerPoolInfo
hadOpenStatus
hardcoded asBakerPoolOpenStatus.OpenForAll
.
Download
Nuget: https://www.nuget.org/packages/ConcordiumNetSdk/4.0.1
concordium-net-sdk 4.0.0
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
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
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