Releases: Beans-BV/dotnet-stellar-sdk
Releases · Beans-BV/dotnet-stellar-sdk
Release 15.0.0
Changes
Breaking Changes
- feature!: improve
Operationresponse classes @cuongph87 (#119) - feature!: improve Effect response classes @cuongph87 (#117)
- fix!:
TransactionResponseclass @cuongph87 (#103) - fix!:
ClaimableBalanceResponseclass @cuongph87 (#102) - fix!:
TradeAggregationResponseclass @cuongph87 (#101) - fix!:
LedgerResponseclass @cuongph87 (#100) - Convert Json.NET to System.Text.Json @cuongph87 (#20)
Features
- feature: SEP-24 @jopmiddelkamp (#134)
- feature: SEP-6 @jopmiddelkamp (#133)
- feature: SEP-10 @jopmiddelkamp (#132)
- feature: SEP-9 @jopmiddelkamp (#131)
- feature: SEP-1 @jopmiddelkamp (#129)
- feature!: improve
Operationresponse classes @cuongph87 (#119) - feature!: improve Effect response classes @cuongph87 (#117)
- feature: issue #82 retry @jopmiddelkamp (#89)
- Convert Json.NET to System.Text.Json @cuongph87 (#20)
Bug Fixes
- fix: typos @cuongph87 (#149)
- fix: missing XML docs for
HealthRequestBuilder@cuongph87 (#147) - fix:
Pricetype inconsistencies @cuongph87 (#111) - fix:
TradeResponseclass @cuongph87 (#108) - fix:
RootResponseclass @cuongph87 (#107) - fix: type inconsistencies for muxed_id properties @cuongph87 (#113)
- fix: type inconsistencies for date time properties @cuongph87 (#115)
- fix:
LiquidityPoolResponseclass @cuongph87 (#106) - fix:
AccountResponseclass @cuongph87 (#104)
Documentation
- docs: added missing docs @jopmiddelkamp (#144)
Maintenance
- chore: version bump workflow action @cuongph87 (#154)
- chore: improve release labeler @cuongph87 (#152)
- chore: extend example app @cuongph87 (#150)
- refactor: unit tests @cuongph87 (#148)
- chore: improve release drafter @cuongph87 (#146)
- chore: add pull request autolabeler @cuongph87 (#145)
- chore: complete Horizon matrix parity @cuongph87 (#139)
- chore: rename Soroban RPC to Stellar RPC @cuongph87 (#143)
- chore: complete RPC matrix parity @cuongph87 (#140)
- chore: update urls @cuongph87 (#142)
- chore: update public API XML docs @cuongph87 (#141)
- chore: response results unit test coverage @jopmiddelkamp (#128)
- chore: request unit test coverage @jopmiddelkamp (#126)
- chore: operations unit test coverage @jopmiddelkamp (#125)
- chore: operations unit test coverage @jopmiddelkamp (#124)
- chore: unit test naming and docs @jopmiddelkamp (#122)
- chore: added unit test coverage for assets @jopmiddelkamp (#121)
- chore: add Soroban examples @cuongph87 (#120)
Contributors
Full Changelog: 14.0.1...15.0.0
Release 14.0.1
fix: use meta.V4.SorobanMeta?.ReturnValue instead of V3 in TransactionInfo
Release 14.0.0
This release adds support for Protocol 23.
Update:
- feat: add support for
Muxed_Ed25519public keys, liquidity pools and claimable balances toStrKey(#71) - feat: add support for
PreAuthTxandSHA256hashes toStrKey(#71) - feat: add new variants of
ScAddressincluding muxed accounts, liquidity pools and claimable balances (#72) - feat: add
IsValid*functions toStrKeyto help with checking the validity of the corresponding key types (#71) - feat: add
DestinationMuxedIdandDestinationMuxedIdTypetoInvokeHostFunctionOperationResponse.AssetContractBalanceChange(#65) - feat: update
SorobanServer#SimulateTransactionto add support for non-root authorization (#68) - feat: update
LedgerEntryChangeto support the newLEDGER_ENTRY_RESTOREDvariant (#75) - feat: add support for
TransactionMetaV4,OperationMetaV2,SorobanTransactionMetaV2,TransactionEvent(#77) - feat: add
OldestLedger,LatestLedgerCloseTimeandOldestLedgerCloseTimefields toGetEventsResponse(#69) - feat: add
TransactionIndexandOperationIndexfields toGetEventsResponse.EventInfo(#69) - refactor: add Events field to
TransactionInfo(#67) - feat: add new variants of
LedgerEntryConfigSetting: (#70)ConfigSettingContractLedgerCostExtV0ConfigSettingContractParallelComputeV0ConfigSettingScpTiming
- feat: add utility class
ClaimableBalanceIdUtilswith 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.ReadBytestoDiskReadBytes(#64) - refactor: remove the deprecated field
GetEventsResponse.EventInfo.PagingToken(#69) - refactor: mark
GetEventsResponse.EventInfo.InSuccessfulContractCallfield as deprecated. It will be removed in the next release (#69) - refactor: rename the following
SCAddressto follow standard naming conventions:SCAddresstoScAddressSCAccountIdtoScAccountIdSCContractIdtoScContractId
- chore: remove
ConfigSettingBucketListSizeWindow(#70) - refactor: mark the following functions in
StrKeyas 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.DiagnosticEventsXdrfield as deprecated. It will be removed in Stellar RPC soon. UseTransactionInfo.Events.DiagnosticEventsXdrinstead (#67) - refactor: move
ContractEvent.TopicsandContractEvent.Datafields toContractEvent.ContractEventV0field to align with the XDR version and improve future-proofing (#77) - refactor: change the type of
TransactionInfo.TransactionMetafromTransactionMetaV3toTransactionMetato 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.BalanceIdfield frombyte[]tostring - Change
LedgerKeyClaimableBalance.BalanceIdfield frombyte[]tostring - Change
CreateClaimableBalanceSuccessconstructor to acceptstringinstead ofbyte[]
- Change
- Behavior changes:
CreateClaimableBalanceSuccess.BalanceIdnow 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)constructorLedgerKey#ClaimableBalance(string)RevokeLedgerEntrySponsorshipOperation.ForClaimableBalance(string)
- Removals:
- Remove
ClaimClaimableBalanceOperation.BalanceIdInBytesfield - Remove
ClawbackClaimableBalanceOperation.BalanceIdInBytesfield - Remove
LedgerKey#ClaimableBalance(byte[])method - Remove
LedgerKeyClaimableBalance(byte[])constructor
- Remove
- Type changes:
Full Changelog: 13.2.1...14.0.0
14.0.0-beta
Update:
- feat: add support for
Muxed_Ed25519public keys, liquidity pools and claimable balances toStrKey(#71) - feat: add support for
PreAuthTxandSHA256hashes toStrKey(#71) - feat: add new variants of
ScAddressincluding muxed accounts, liquidity pools and claimable balances (#72) - feat: add
IsValid*functions toStrKeyto help with checking the validity of the corresponding key types (#71) - feat: add
DestinationMuxedIdandDestinationMuxedIdTypetoInvokeHostFunctionOperationResponse.AssetContractBalanceChange(#65) - feat: update
SorobanServer#SimulateTransactionto add support for non-root authorization (#68) - feat: update
LedgerEntryChangeto support the newLEDGER_ENTRY_RESTOREDvariant (#75) - feat: add support for
TransactionMetaV4,OperationMetaV2,SorobanTransactionMetaV2,TransactionEvent(#77) - feat: add
OldestLedger,LatestLedgerCloseTimeandOldestLedgerCloseTimefields toGetEventsResponse(#69) - feat: add
TransactionIndexandOperationIndexfields toGetEventsResponse.EventInfo(#69) - refactor: add Events field to
TransactionInfo(#67) - feat: add new variants of
LedgerEntryConfigSetting: (#70)ConfigSettingContractLedgerCostExtV0ConfigSettingContractParallelComputeV0ConfigSettingScpTiming
- feat: add utility class
ClaimableBalanceIdUtilswith 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.ReadBytestoDiskReadBytes(#64) - refactor: remove the deprecated field
GetEventsResponse.EventInfo.PagingToken(#69) - refactor: mark
GetEventsResponse.EventInfo.InSuccessfulContractCallfield as deprecated. It will be removed in the next release (#69) - refactor: rename the following
SCAddressto follow standard naming conventions:SCAddresstoScAddressSCAccountIdtoScAccountIdSCContractIdtoScContractId
- chore: remove
ConfigSettingBucketListSizeWindow(#70) - refactor: mark the following functions in
StrKeyas 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.DiagnosticEventsXdrfield as deprecated. It will be removed in Stellar RPC soon. UseTransactionInfo.Events.DiagnosticEventsXdrinstead (#67) - refactor: move
ContractEvent.TopicsandContractEvent.Datafields toContractEvent.ContractEventV0field to align with the XDR version and improve future-proofing (#77) - refactor: change the type of
TransactionInfo.TransactionMetafromTransactionMetaV3toTransactionMetato 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.BalanceIdfield frombyte[]tostring - Change
LedgerKeyClaimableBalance.BalanceIdfield frombyte[]tostring - Change
CreateClaimableBalanceSuccessconstructor to acceptstringinstead ofbyte[]
- Change
- Behavior changes:
CreateClaimableBalanceSuccess.BalanceIdnow 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)constructorLedgerKey#ClaimableBalance(string)RevokeLedgerEntrySponsorshipOperation.ForClaimableBalance(string)
- Removals:
- Remove
ClaimClaimableBalanceOperation.BalanceIdInBytesfield - Remove
ClawbackClaimableBalanceOperation.BalanceIdInBytesfield - Remove
LedgerKey#ClaimableBalance(byte[])method - Remove
LedgerKeyClaimableBalance(byte[])constructor
- Remove
- Type changes:
Full Changelog: 13.2.0...14.0.0
Release 13.2.1
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
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
RandomGeneratorwith the recommendedRandomNumberGenerator - Time-bounds verification now uses UTC by default
ReadChallengeTransaction,VerifyChallengeTransactionSignersand related helpers will evaluate the TimeBounds window againstDateTimeOffset.UtcNowwhen thenowargument 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, passDateTimeOffset.Nowexplicitly.
- Correct paths to example classes @cuongph87 (#58)
Release 13.1.4
Changes
- Update .NET SDK version in global.json @cuongph87 (#57)
Release 13.1.3
Changes
- Specify .NET version for building docs action @cuongph87 (#56)
Release 13.1.2
Changes
- Add required csproj properties for example projects @cuongph87 (#55)
Release 13.1.1
Changes
- Bump version for artifact actions @cuongph87 (#54)