github.com/stellar/go-stellar-sdk
v0.7.2
#1284 most downloaded on Go modules
stellar/go-stellar-sdk
What this package is like to depend on
Last release 4 days ago
20 Aug 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
116 releases · first in 2018
115 releases in the last 12 months
see the full history below
Release timeline
116 releases · May 2018 to Aug 2026Releases
latest 60 of 116-
v0.7.3-0.20260820070939-3865b531094220 Aug 2026 pre-releaseNothing published for this version
-
v0.7.3-0.20260820054658-968da50ab52320 Aug 2026 pre-releaseNothing published for this version
-
v0.7.3-0.20260819154218-a7921ddf657e19 Aug 2026 pre-releaseNothing published for this version
-
v0.7.3-0.20260819053947-7cf218897cec19 Aug 2026 pre-releaseNothing published for this version
-
v0.7.212 Aug 2026Release notes
Open source →What's Changed
- xdr: compare assets by their XDR encoding, and use Equals for asset equality by @karthikiyer56 in #5974
- txnbuild: consolidate liquidity pool ordering guards; xdr and ingest cleanups by @karthikiyer56 in #5978
- strkey: enforce SEP-23 payload lengths in Decode and DecodeAny by @karthikiyer56 in #5977
Full Changelog: v0.7.1...v0.7.2
Release notes
Open source →Breaking Changes
- strkey:
DecodeandDecodeAnynow validate the payload length against the version byte per SEP-23. Fixed-length keys (account ID, seed, muxed account, contract, liquidity pool, claimable balance, hashTx, hashX) must decode to their exact canonical size, and signed payloads must carry a declared payload length of 1–64 bytes matched by their zero padding. Inputs with a valid checksum but a wrong-length payload — previously accepted byDecode,DecodeAny, and everyIsValid*helper — are now rejected. (#5977)NewSignedPayloadrejects empty payloads, matching CAP-40 (the protocol fails such signers withSET_OPTIONS_BAD_SIGNER/txMALFORMED) and keepingSignedPayload.Encodeoutput decodable.- Length re-checks that
Decodenow subsumes were removed fromxdr.AccountId.SetAddress,xdr.MuxedAccount.SetAddress,xdr.SignerKey.SetAddress,xdr.ClaimableBalanceId.DecodeFromStrkey,strkey.DecodeMuxedAccount,strkey.MuxedAccount.SetAccountID, and txnbuild contract-address parsing. For wrong-length inputs, the xdr and txnbuild callers now return strkey'sinvalid payload lengtherror instead of their own; the strkey muxed-account helpers keep their genericinvalid muxed account/invalid ed25519 public keyerrors;xdr.MuxedAccount.SetAddressis unchanged (it rejects on encoded string length before decoding). keypair.ParseAddresswraps every decode failure withErrInvalidKey, soerrors.Is(err, ErrInvalidKey)keeps matching wrong-length keys (and now also matches checksum/encoding failures, which previously returned the bare strkey error).DecodeSignedPayloaddelegates structure validation toDecode; structurally invalid inputs now uniformly error withinvalid signed payload(previouslysigned payload too short: ...orinvalid signed payload padding).
- xdr:
Asset.LessThannow orders assets the way the protocol does — by the raw 32-byte issuer key — instead of by base32 strkey text, andxdr.NewPoolIdrequires strictlya < b, rejecting reversed and identical pairs (#5974) - txnbuild: liquidity pool operations reject asset pairs that are not strictly ordered; see the txnbuild changelog (#5974, #5978)
Bug Fixes
- processors/token_transfer: trustline revocation now compares liquidity pool assets by value instead of pointer identity, fixing wrong-leg selection when burning pool shares (#5974)
- ingest:
ApplyLedgerMetadatanow closes the datastore and the ledger backend, and returns thePrepareRangeerror instead of discarding it — an early return previously stranded one goroutine per configured worker and a failed prepare went unnoticed (#5974)
Updates
- go.mod: Bumped github.com/stellar/go-xdr to dc590f1, normalizing the schema bound in
mergeInputLenAndMaxSizeso a variable-length field whose length prefix ends the input keeps both its schema and input-length bounds. Every generated type decodes through this decoder (#5974)
-
v0.7.2-0.20260812223812-b46a4639ccc512 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260810191912-f8cd5dfd675a10 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260806235222-d2f530f4327b06 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260805080633-1abd26ac5cec05 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260805060836-46c4f74bf53a05 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260805054052-7912f5b9eeb505 Aug 2026 pre-releaseNothing published for this version
-
v0.7.2-0.20260804165024-f3490ecd3cb704 Aug 2026 pre-releaseNothing published for this version
-
v0.7.104 Aug 2026Release notes
Open source →What's Changed
- stellartoml: validate domain in GetStellarToml for parity with sibling by @karthikiyer56 in #5970
- ingest: one ledger walk — ExtractLedgerTxParts + EventsFromTxParts/FeesFromTxParts (supersedes the extractor bundles) by @karthikiyer56 in #5966
Full Changelog: v0.7.0...v0.7.1
Release notes
Open source →New Features
- ingest: Added
ExtractLedgerTxPartsplusEventsFromTxPartsandFeesFromTxParts(experimental), a single-walk zero-copy extraction API that supersedes the earlier extractor bundles; see the ingest changelog (#5966)
Bug Fixes
- clients/stellartoml:
GetStellarTomlvalidates the domain before requesting it, for parity with its sibling client (#5970)
-
v0.7.003 Aug 2026Release notes
Open source →What's Changed
- ingest,network,xdr: zero-copy XDR view extractors for full-history ingestion by @chowbao in #5949
- xdr,xdrgen,ingest: extend xdr views (decoded discriminants, typed opaque, count validation, Fields) and rebuild the view extractors on them by @tamirms in #5951
- protocols/rpc: add UseUpgradedAuth flag to SimulateTransactionRequest by @Ryang-21 in #5948
- protocols/rpc: Add LedgerCloseTime to GetHealthResponse by @felixl256 in #5958
- ingest/loadtest: expand loadtest functionality to handle multiple ledger bundles by @cjonas9 in #5959
- ingest: expose fee-bump inner hashes on the view extractors by @tamirms in #5964
- ingest/ledgerbackend: Update captive-core-pubnet.cfg: swap SP with Obsrvr by @drebelsky in #5963
- Protocol 28 (CAP-0085) by @sisuresh in #5965
New Contributors
- @Ryang-21 made their first contribution in #5948
- @felixl256 made their first contribution in #5958
Full Changelog: v0.6.0...v0.7.0
-
v0.6.110 Aug 2026Release notes
Open source →What's Changed
- Backports for Horizon 27.0.1 (release-0.6.1) by @karthikiyer56 in #5979
Full Changelog: v0.6.0...v0.6.1
-
v0.6.1-0.20260803175255-2b16db0ecd4503 Aug 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260731231047-149b99446cfe31 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260727053836-9156a311aae927 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260724075953-80ad52de7fcf24 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260722220414-82df7643786e22 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260716214456-8dd9cad9a8ac16 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260716145807-2bfffb159f3616 Jul 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260625225930-6181cdf8bda525 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260625211122-1a74f7a0942325 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260624185910-fc9acb3f1ba624 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260623184313-0844c2c845ff23 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260623174843-428cef8c741f23 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260618191317-308407eca8c618 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260616165505-26fec7c0e89116 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260616085144-4b4bbfe7acea16 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260612170608-1555ec5e33ed12 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260612152845-f92b870facfb12 Jun 2026 pre-releaseNothing published for this version
-
v0.6.1-0.20260612000013-b376025e906612 Jun 2026 pre-releaseNothing published for this version
-
v0.6.009 Jun 2026Release notes
Open source →Adds Support for Protocol 27
What's Changed
- services/stellar-archivist: fix nil pointer panics in S3Storage.ListFiles by @satyamz in #5934
- strkey: bound decode input length to avoid unnecessary allocation by @tamirms in #5935
- go.mod: bump github.com/stellar/go-xdr to a87d4d0 by @tamirms in #5938
- xdr: Add zero-copy XDR view types and code generator by @tamirms in #5937
- ingest/loadtest: add stellar-core apply-load tooling by @cjonas9 in #5940
- apiclient: support non-JSON responses via ResponseType by @amishas157 in #5939
- ingest/ledgerbackend: integrate XDR views into BSB + add GetLedgerRaw by @tamirms in #5941
- txnbuild: validate payload length in contract address decoding by @tamirms in #5943
- ingest/ledgerbackend: add LedgerStream streaming ingestion API by @tamirms in #5944
- Protocol 27 (CAP-0071) XDR by @sisuresh in #5945
- Protocol 27 Support by @Shaptic in #5947
New Contributors
Full Changelog: v0.5.0...v0.6.0
Release notes
Open source →Adds support for Protocol 27 (CAP-0071).
New Features
- xdr: Protocol 27 (CAP-0071) XDR (#5945, #5947)
- xdr: Added zero-copy XDR view types and code generator (#5937)
- ingest/ledgerbackend: Integrated XDR views into the buffered storage backend and added
GetLedgerRaw(#5941) - ingest/ledgerbackend: Added
LedgerStreamstreaming ingestion API (#5944) - ingest/loadtest: Added stellar-core apply-load tooling (#5940)
- apiclient: Support non-JSON responses via
ResponseType(#5939)
Bug Fixes
- services/stellar-archivist: Fixed nil pointer panics in
S3Storage.ListFiles(#5934) - strkey: Bounded decode input length to avoid unnecessary allocation (#5935)
- txnbuild: Validate payload length in contract address decoding (#5943)
Updates
- go.mod: Bumped github.com/stellar/go-xdr to a87d4d0 (#5938)
-
v0.5.1-0.20260622203350-519833b52d3522 Jun 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260618200753-4daf27b6f1bf18 Jun 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260605220916-532e2b5144d405 Jun 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260604220920-ff1e140adca504 Jun 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260525183917-db1dd340f45525 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260525170802-6b88c584359e25 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260525142058-6c566fd1099825 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260525140005-b535db11d40b25 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260516061524-a89c55433c5916 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260512162508-8d3416569d3912 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260506215501-d170348eff6c06 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260506155819-2cb812f7648406 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260504183245-04c473a4e89204 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260504173038-3f90dff249a904 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260504170500-e86a418c8fe404 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260501235941-1f947aa0086f01 May 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260429085433-3e86de97395029 Apr 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260424205346-34fb5f10fa2024 Apr 2026 pre-releaseNothing published for this version
-
v0.5.1-0.20260423140634-a42225b082cc23 Apr 2026 pre-releaseNothing published for this version
-
v0.5.007 Apr 2026Release notes
Open source →What's Changed
- Fix VerifyEvents to handle amounts exceeding int64 range by @karthikiyer56 in #5932
Full Changelog: v0.4.0...v0.5.0
Release notes
Open source →Bug Fixes
- ingest: Fixed
VerifyEventsto handle amounts exceeding the int64 range (#5932)
-
v0.4.001 Apr 2026Release notes
Open source →Add Support for Protocol 26
What's Changed
- support/datastore: Fix ListFilePath for datastore bucket with no prefix by @urvisavla in #5923
- Merge protocol-next (P26) back to main by @urvisavla in #5930
Full Changelog: v0.3.0...v0.4.0
Release notes
Open source →Adds support for Protocol 26.
New Features
- xdr: Protocol 26 support, merged from protocol-next (#5930)
Bug Fixes
- support/datastore: Fixed
ListFilePathfor a datastore bucket with no prefix (#5923)
-
v0.3.1-0.20260325174035-031e5bfdc4bd25 Mar 2026 pre-releaseNothing published for this version
-
v0.3.1-0.20260323224849-cbd446204cd323 Mar 2026 pre-releaseNothing published for this version
-
v0.3.013 Mar 2026Release notes
Open source →What's Changed
- xdr: add SafeUnmarshalBase64WithOptions and regenerate by @tamirms in #5916
- historyarchive: add size bound to GetPathHAS to prevent resource exhaustion by @tamirms in #5918
- Update changelog for v0.3.0 release by @urvisavla in #5920
Full Changelog: v0.2.0...v0.3.0
-
v0.2.1-0.20260319161038-e4d2cd53868119 Mar 2026 pre-releaseNothing published for this version
-
v0.2.1-0.20260317004630-b70dde8ec26217 Mar 2026 pre-releaseNothing published for this version