Skip to content

Latest commit

 

History

History
104 lines (76 loc) · 4.18 KB

CHANGELOG.md

File metadata and controls

104 lines (76 loc) · 4.18 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog].

[2.4.0]

Changed

  • Upgraded the project to .NET 8 (see Security section).

Security

  • Addressed CVE-2024-30105 by upgrading the project to .NET 8.
  • Updated BouncyCastle.Cryptography dependency to v2.4.0 to address a vulnerability in v2.3.0.

Added

  • Compatibility with netstandard2.0 framework.
  • Multi-framework nuget package.

Added

  • Changes to QueryGlobalState and GetAccountInfo methods to support changes in Casper node v1.5.5 PR#50.

Fixed

  • We use ToLowerInvariant() instead of ToLower() 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 with IsSystem PR#51.

Changed

  • The SDK now links with BouncyCastle.Cryptography package instead of BouncyCastle.NetCore which was based on a mirror of the official package.
  • Testnet node in the examples updated to a working URL.

Fixed

  • Breaking change! the type for the Proposer property in the body block has changed from PublicKey to Proposer. This new type permits to parse correctly the value "00" used for system blocks in Casper network starting from v1.5.

Added

  • 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 in query_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 to ContractPackageStatus.

Changed

  • The SDK now builds with .NET 7 Framework.

Added

  • New RPC method GetEraSummary().
  • New global state key era-summary-0000...0000.

Fixed

  • Skip block_identifier param if Hash value is null in RPC requests to be compatible with Casper node v150.

Added

  • New in casper-node 1.4.5. Added optional finalized_approvals parameter to GetDeploy method.
  • CLValue class offers a new method Some() to extract values wrapped in the Option(CLType) type.

Changed

  • Removed the dependency with the external library Humanizer.
  • NetCasperClient implements ICasperClient. Similarly, ServerEventsClient implements ISSEClient.

Fixed

  • Replace Thread.Sleep() with Task.Delay() to run asynchronously.
  • Call await instead of Result in GetAccountBalance RPC method to run asynchronously.

Added

  • Initial release of Casper .NET SDK.