Skip to content

Release 10.0.0

Compare
Choose a tag to compare
@jopmiddelkamp jopmiddelkamp released this 21 May 08:57
· 10 commits to master since this release

What's Changed:

  • Added support for Soroban writing operations through SorobanServer.
  • Added support for Protocol 21.
  • Support for global .NET naming conventions.
  • Code clean up.
  • File structure improvements.

Breaking changes:

  • TransactionResult.FromXdr(string encoded) replaced with TransactionResult.FromXdrBase64(string xdrBase64).
  • Util.HexArray is no longer publicly accessible.
  • TransactionPreconditions.MAX_EXTRA_SIGNERS_COUNT renamed to MaxExtraSignersCount.
  • TransactionPreconditions.TIMEOUT_INFINITE renamed to TimeoutInfinite.
  • SignedPayloadSigner.SIGNED_PAYLOAD_MAX_PAYLOAD_LENGTH renamed to SignedPayloadMaxPayloadLength.
  • OperationThreshold.Low renamed to LOW, High renamed to HIGH, Medium renamed to MEDIUM.
  • All AccountRequiresMemoException properties removed.
  • All AccountNotFoundException properties removed.
  • AccountFlag.AuthRequiredFlag renamed to AUTH_REQUIRED_FLAG, AuthRevocableFlag renamed to AUTH_REVOCABLE_FLAG, AuthImmutableFlag renamed to AUTH_IMMUTABLE_FLAG, AuthClawbackFlag renamed to AUTH_CLAWBACK_FLAG
  • RevokeSponsorshipOperation and AllowTrustOperation removed.
  • SignerUtil is now a static class.
  • LedgerKeyTTL constructor now accepts a base64 encoded string instead of a hex encoded string.
  • LedgerKeyTTL.Key type changed from Hash to byte[].
  • LedgerKeyContractCode.Key type changed from Hash to byte[].
  • LedgerEntryContractCode.Key type changed from Hash to byte[].
  • LedgerEntryClaimableBalance.Key type changed from Hash to byte[].
  • LedgerKeyClaimableBalance.Key type changed from Hash to byte[].
  • OfferEntryFlags.Passive renamed to OfferEntryFlags.PASSIVE.
  • Methods ToXdr(), FromXdrLedgerEntry() and FromXdrBase64(), setter for properties from all derived classes (and their extension classes) of LedgerEntry removed.
  • CreateContractOperation.FromInvokeHostFunctionOperationXdr() removed.
  • RestoreFootprintOperation.FromRestoreFootprintOperationXdr() removed.
  • ClaimOfferAtomV0 replaced with ClaimAtomV0.
  • ClaimOfferAtom replaced with ClaimAtomOrderBook.
  • ClaimLiquidityAtom replaced with ClaimAtomLiquidityPool.
  • Class Signer moved to AccountResponse.Signer.
  • SubmitTransactionResponse.IsSuccess() changed from being a method to a property.
  • EnumerableExtensions class removed.
  • TransactionPreconditions.MinSeqLedgerGap renamed to MinSequenceLedgerGap.
  • TransactionPreconditions.MinSeqNumber renamed to MinSequenceNumber.
  • TransactionPreconditions.MinSeqAge renamed to MinSequenceAge.
  • TransactionPreconditions.FromXDR() renamed to TransactionPreconditions.FromXdr().
  • TransactionPreconditions.ToXDR() renamed to TransactionPreconditions.ToXdr().
  • TransactionPreconditions.IsValid() no longer checks for TimeBounds nullability.
  • SetOptionsOperation.SignerKey and SignerWeight properties merged into Signer.
  • OperationResponse.SourceAccountMuxedID renamed to SourceAccountMuxedId.
  • SSEEventSource renamed to SseEventSource.
  • EffectResponse.AccountMuxedID renamed to AccountMuxedId.
  • Builder for all operation classes removed. Use the operation constructors instead.