Skip to content

Releases: Beans-BV/dotnet-stellar-sdk

Release 15.0.0

09 Apr 14:06
8d9e945

Choose a tag to compare

Changes

Breaking Changes

Features

Bug Fixes

Documentation

Maintenance

Contributors

@cuongph87 and @jopmiddelkamp

Full Changelog: 14.0.1...15.0.0

Release 14.0.1

09 Sep 08:18
95e9a10

Choose a tag to compare

fix: use meta.V4.SorobanMeta?.ReturnValue instead of V3 in TransactionInfo

Release 14.0.0

27 Aug 04:57
f13c058

Choose a tag to compare

This release adds support for Protocol 23.

Update:

  • feat: add support for Muxed_Ed25519 public keys, liquidity pools and claimable balances to StrKey (#71)
  • feat: add support for PreAuthTx and SHA256 hashes to StrKey (#71)
  • feat: add new variants of ScAddress including muxed accounts, liquidity pools and claimable balances (#72)
  • feat: add IsValid* functions to StrKey to help with checking the validity of the corresponding key types (#71)
  • feat: add DestinationMuxedId and DestinationMuxedIdType to InvokeHostFunctionOperationResponse.AssetContractBalanceChange (#65)
  • feat: update SorobanServer#SimulateTransaction to add support for non-root authorization (#68)
  • feat: update LedgerEntryChange to support the new LEDGER_ENTRY_RESTORED variant (#75)
  • feat: add support for TransactionMetaV4, OperationMetaV2, SorobanTransactionMetaV2, TransactionEvent (#77)
  • feat: add OldestLedger, LatestLedgerCloseTime and OldestLedgerCloseTime fields to GetEventsResponse (#69)
  • feat: add TransactionIndex and OperationIndex fields to GetEventsResponse.EventInfo (#69)
  • refactor: add Events field to TransactionInfo (#67)
  • feat: add new variants of LedgerEntryConfigSetting: (#70)
    • ConfigSettingContractLedgerCostExtV0
    • ConfigSettingContractParallelComputeV0
    • ConfigSettingScpTiming
  • feat: add utility class ClaimableBalanceIdUtils with functions to handle claimable balance ID conversion between formats (#78)
  • feat: add support for retrieving related referencing a given liquidity pool in OperationsRequestBuilder.

Breaking changes:

  • chore: update XDR definitions for Protocol 23 (#63)
  • refactor: rename SorobanResources.ReadBytes to DiskReadBytes (#64)
  • refactor: remove the deprecated field GetEventsResponse.EventInfo.PagingToken (#69)
  • refactor: mark GetEventsResponse.EventInfo.InSuccessfulContractCall field as deprecated. It will be removed in the next release (#69)
  • refactor: rename the following SCAddress to follow standard naming conventions:
    • SCAddress to ScAddress
    • SCAccountId to ScAccountId
    • SCContractId to ScContractId
  • chore: remove ConfigSettingBucketListSizeWindow (#70)
  • refactor: mark the following functions in StrKey as deprecated, they will be removed in the next major release. Please refer to the documentation for each function to see the corresponding replacement functions: (#71)
    • StrKey#EncodeStellarAccountId(byte[])
    • StrKey#EncodeStellarSecretSeed(byte[])
    • StrKey#EncodeStellarMuxedAccount(MuxedAccount)
    • StrKey#DecodeStellarAccountId(string)
    • StrKey#DecodeStellarSecretSeed(string)
    • StrKey#DecodeStellarMuxedAccount(string)
    • StrKey#IsValidMuxedAccount(string)
  • refactor: mark TransactionInfo.DiagnosticEventsXdr field as deprecated. It will be removed in Stellar RPC soon. Use TransactionInfo.Events.DiagnosticEventsXdr instead (#67)
  • refactor: move ContractEvent.Topics and ContractEvent.Data fields to ContractEvent.ContractEventV0 field to align with the XDR version and improve future-proofing (#77)
  • refactor: change the type of TransactionInfo.TransactionMeta from TransactionMetaV3 to TransactionMeta to align with the XDR version and improve future-proofing (#77)
  • refactor: update the following claimable balance related classes and fields for better ID handling:
    • Type changes:
      • Change LedgerEntryClaimableBalance.BalanceId field from byte[] to string
      • Change LedgerKeyClaimableBalance.BalanceId field from byte[] to string
      • Change CreateClaimableBalanceSuccess constructor to accept string instead of byte[]
    • Behavior changes:
      • CreateClaimableBalanceSuccess.BalanceId now returns a complete claimable balance ID
      • The following functions now correctly accept complete claimable balance IDs (0000...) instead of V0 IDs (without leading zeroes):
      • LedgerKeyClaimableBalance(string) constructor
      • LedgerKey#ClaimableBalance(string)
      • RevokeLedgerEntrySponsorshipOperation.ForClaimableBalance(string)
    • Removals:
      • Remove ClaimClaimableBalanceOperation.BalanceIdInBytes field
      • Remove ClawbackClaimableBalanceOperation.BalanceIdInBytes field
      • Remove LedgerKey#ClaimableBalance(byte[]) method
      • Remove LedgerKeyClaimableBalance(byte[]) constructor

Full Changelog: 13.2.1...14.0.0

14.0.0-beta

20 Jul 13:10
f13c058

Choose a tag to compare

14.0.0-beta Pre-release
Pre-release

Update:

  • feat: add support for Muxed_Ed25519 public keys, liquidity pools and claimable balances to StrKey (#71)
  • feat: add support for PreAuthTx and SHA256 hashes to StrKey (#71)
  • feat: add new variants of ScAddress including muxed accounts, liquidity pools and claimable balances (#72)
  • feat: add IsValid* functions to StrKey to help with checking the validity of the corresponding key types (#71)
  • feat: add DestinationMuxedId and DestinationMuxedIdType to InvokeHostFunctionOperationResponse.AssetContractBalanceChange (#65)
  • feat: update SorobanServer#SimulateTransaction to add support for non-root authorization (#68)
  • feat: update LedgerEntryChange to support the new LEDGER_ENTRY_RESTORED variant (#75)
  • feat: add support for TransactionMetaV4, OperationMetaV2, SorobanTransactionMetaV2, TransactionEvent (#77)
  • feat: add OldestLedger, LatestLedgerCloseTime and OldestLedgerCloseTime fields to GetEventsResponse (#69)
  • feat: add TransactionIndex and OperationIndex fields to GetEventsResponse.EventInfo (#69)
  • refactor: add Events field to TransactionInfo (#67)
  • feat: add new variants of LedgerEntryConfigSetting: (#70)
    • ConfigSettingContractLedgerCostExtV0
    • ConfigSettingContractParallelComputeV0
    • ConfigSettingScpTiming
  • feat: add utility class ClaimableBalanceIdUtils with functions to handle claimable balance ID conversion between formats (#78)
  • feat: add support for retrieving related referencing a given liquidity pool in OperationsRequestBuilder.

Breaking changes:

  • chore: update XDR definitions for Protocol 23 (#63)
  • refactor: rename SorobanResources.ReadBytes to DiskReadBytes (#64)
  • refactor: remove the deprecated field GetEventsResponse.EventInfo.PagingToken (#69)
  • refactor: mark GetEventsResponse.EventInfo.InSuccessfulContractCall field as deprecated. It will be removed in the next release (#69)
  • refactor: rename the following SCAddress to follow standard naming conventions:
    • SCAddress to ScAddress
    • SCAccountId to ScAccountId
    • SCContractId to ScContractId
  • chore: remove ConfigSettingBucketListSizeWindow (#70)
  • refactor: mark the following functions in StrKey as deprecated, they will be removed in the next major release. Please refer to the documentation for each function to see the corresponding replacement functions: (#71)
    • StrKey#EncodeStellarAccountId(byte[])
    • StrKey#EncodeStellarSecretSeed(byte[])
    • StrKey#EncodeStellarMuxedAccount(MuxedAccount)
    • StrKey#DecodeStellarAccountId(string)
    • StrKey#DecodeStellarSecretSeed(string)
    • StrKey#DecodeStellarMuxedAccount(string)
    • StrKey#IsValidMuxedAccount(string)
  • refactor: mark TransactionInfo.DiagnosticEventsXdr field as deprecated. It will be removed in Stellar RPC soon. Use TransactionInfo.Events.DiagnosticEventsXdr instead (#67)
  • refactor: move ContractEvent.Topics and ContractEvent.Data fields to ContractEvent.ContractEventV0 field to align with the XDR version and improve future-proofing (#77)
  • refactor: change the type of TransactionInfo.TransactionMeta from TransactionMetaV3 to TransactionMeta to align with the XDR version and improve future-proofing (#77)
  • refactor: update the following claimable balance related classes and fields for better ID handling:
    • Type changes:
      • Change LedgerEntryClaimableBalance.BalanceId field from byte[] to string
      • Change LedgerKeyClaimableBalance.BalanceId field from byte[] to string
      • Change CreateClaimableBalanceSuccess constructor to accept string instead of byte[]
    • Behavior changes:
      • CreateClaimableBalanceSuccess.BalanceId now returns a complete claimable balance ID
      • The following functions now correctly accept complete claimable balance IDs (0000...) instead of V0 IDs (without leading zeroes):
      • LedgerKeyClaimableBalance(string) constructor
      • LedgerKey#ClaimableBalance(string)
      • RevokeLedgerEntrySponsorshipOperation.ForClaimableBalance(string)
    • Removals:
      • Remove ClaimClaimableBalanceOperation.BalanceIdInBytes field
      • Remove ClawbackClaimableBalanceOperation.BalanceIdInBytes field
      • Remove LedgerKey#ClaimableBalance(byte[]) method
      • Remove LedgerKeyClaimableBalance(byte[]) constructor

Full Changelog: 13.2.0...14.0.0

Release 13.2.1

24 Jul 07:49
e21ac93

Choose a tag to compare

What's Changed

  • fix: SubmitTransactionAsync throwing exception for valid HTTP 201 responses #61 by @cuongph87 in #76

Full Changelog: 13.2.0...13.2.1

Release 13.2.0

12 Jun 13:27
108c159

Choose a tag to compare

Changes

  • Improve WebAuthentication: @cuongph87 (#60)
    • Better naming and extracted helper methods for clearer logic flow and better readability
    • Removed unnecessary operations and improved variable usage for improved performance
    • Replaced obsoleted RandomGenerator with the recommended RandomNumberGenerator
    • Time-bounds verification now uses UTC by default
    • ReadChallengeTransaction, VerifyChallengeTransactionSigners and related helpers will evaluate the TimeBounds window against DateTimeOffset.UtcNow when the now argument is not supplied.
      This eliminates false positives/negatives on hosts with a mis-configured time-zone or during DST transitions.
      If your application intentionally needs to evaluate the window against local wall-clock time, pass DateTimeOffset.Now explicitly.
  • Correct paths to example classes @cuongph87 (#58)

Release 13.1.4

27 Mar 05:46
6bf5aeb

Choose a tag to compare

Changes

Release 13.1.3

27 Mar 03:41
c14cbb0

Choose a tag to compare

Changes

Release 13.1.2

26 Mar 15:40
63892b4

Choose a tag to compare

Changes

  • Add required csproj properties for example projects @cuongph87 (#55)

Release 13.1.1

26 Mar 15:25
36be3e7

Choose a tag to compare

Changes