github stellar/go horizonclient-v6.0.0
horizonclient v6.0.0 & txnbuild v6.0.0

Breaking changes

  • Updates the SEP-10 helper function parameters to support SEP-10 v3.1.
    • The following functions added the webAuthDomain parameter:
      • BuildChallengeTx()
      • ReadChallengeTx()
      • VerifyChallengeTxThreshold()
      • VerifyChallengeTxSigners()
    • The webAuthDomain parameter is verified in the Read* and Verify* functions if it is contained in the challenge transaction, and is ignored if the challenge transaction was generated by an older implementation that does not support the webAuthDomain.
    • The webAuthDomain parameter is included in challenge transactions generated in the Build* function, and the resulting challenge transaction is compatible with SEP-10 v2.1 or greater.
  • Use strings to represent source accounts in Operation structs (#3393) see example below:
    bumpSequenceOp := txnbuild.BumpSequence{BumpTo: 100, SourceAccount: "GB56OJGSA6VHEUFZDX6AL2YDVG2TS5JDZYQJHDYHBDH7PCD5NIQKLSDO"}
  • Remove TxEnvelope() functions from Transaction and FeeBumpTransaction to simplify the API. ToXDR() should be used instead of TxEnvelope() (#3377)

Don't miss a new go release

NewReleases is sending notifications on new releases.