All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog].
- Upgraded the project to .NET 8 (see Security section).
- Addressed CVE-2024-30105 by upgrading the project to .NET 8.
- Updated BouncyCastle.Cryptography dependency to
v2.4.0
to address a vulnerability inv2.3.0
.
- Compatibility with
netstandard2.0
framework. - Multi-framework nuget package.
- Changes to QueryGlobalState and GetAccountInfo methods to support changes in Casper node v1.5.5 PR#50.
- We use
ToLowerInvariant()
instead ofToLower()
to avoid problems with some CultureInfos PR#52. - XML Documentation included into the nuget packages PR#53.
isSystem
property in the Block Proposer class marked obsolete and replaced withIsSystem
PR#51.
- The SDK now links with
BouncyCastle.Cryptography
package instead ofBouncyCastle.NetCore
which was based on a mirror of the official package. - Testnet node in the examples updated to a working URL.
- Breaking change! the type for the
Proposer
property in the body block has changed fromPublicKey
toProposer
. This new type permits to parse correctly the value"00"
used for system blocks in Casper network starting from v1.5.
- Added client method for new
query_balance
RPC endpoint. - Added client method for new
speculative_exec
feature in casper node v1.5.0. - Added client method for new
info_get_chainspec
RPC endpoint. - Added client method for new
chain_get_era_summary
RPC endpoint. - Added support for
block_height
parameter inquery_global_state
RPC endpoint. - Added new key types:
chainspec-registry-
,system-contract-registry-
,checksum-registry-
,era-summary
,unbond-
. - Added support for new key prefix 'contract-package-'.
- Added new fields related to node sync in
info_get_status
RPC response. - Added support optional fields in
info_get_deploy
RPC response. - Added
lock_status
field toContractPackageStatus
.
- The SDK now builds with .NET 7 Framework.
- New RPC method
GetEraSummary()
. - New global state key
era-summary-0000...0000
.
- Skip
block_identifier
param ifHash
value isnull
in RPC requests to be compatible with Casper node v150.
- New in casper-node 1.4.5. Added optional
finalized_approvals
parameter toGetDeploy
method. CLValue
class offers a new methodSome()
to extract values wrapped in theOption(CLType)
type.
- Removed the dependency with the external library Humanizer.
NetCasperClient
implementsICasperClient
. Similarly,ServerEventsClient
implementsISSEClient
.
- Replace
Thread.Sleep()
withTask.Delay()
to run asynchronously. - Call await instead of Result in
GetAccountBalance
RPC method to run asynchronously.
- Initial release of Casper .NET SDK.