Skip to content

Releases: solana-foundation/solana-go

v1.20.0

08 May 05:00
75c68a3

Choose a tag to compare

1.20.0 (2026-05-08)

Features

  • jsonrpc: add CustomHeader http.Header for multi-value headers (20b37ba)

Performance Improvements

  • migrate to curve25519-voi for ed25519 operations (20713fb)

Internal

  • refactor(base58): replace mr-tron/base58 with in-tree encoder

v1.19.0

24 Apr 15:31
b8d8b10

Choose a tag to compare

1.19.0 (2026-04-23)

Features

  • is token mint classifier (4f72982)

Bug Fixes

  • enhance getUint64 function to handle string inputs (5309095)
  • keep websocket request IDs within JSON-safe range (8ed3105)
  • message: json version detection (1fd2201)
  • message: use gojson (8d211d5)
  • reject malformed ed25519 private keys in PrivateKeyFromBase58 (edcedcc)
  • rpc: match ParsedTransactionMeta to TransactionMeta (a0f95c2)

Performance Improvements

  • json: swap encoding/json and jsoniter for goccy/go-json (c445f76)
  • transaction: add cap hints and use pk instead of str (91e8cec)

v1.18.0

16 Apr 12:33
828ac78

Choose a tag to compare

1.18.0 (2026-04-16)

Features

  • add getters to txn with meta (48d196b)
  • add token-2022 extensions (04dfc79)
  • add token-2022 extensions (db2fdaa)
  • stake state types & ext tests (6325515)
  • stake state types & ext tests (ea77e31)
  • vote program complete (173d7f4)
  • vote program complete (dcff584)

Bug Fixes

Performance Improvements

  • message: eliminate complex scans, struct copies, and redundant allocs (aea7d1f)
  • message: eliminate complex scans, struct copies, and redundant allocs (adbb10e)

v1.17.0

10 Apr 02:58
4370b70

Choose a tag to compare

What's Changed

Performance

  • 16x faster base58 encoding/decoding — migrated to fd_base58 algorithm (ported from Firedancer) with hand-written ARM64/AMD64 assembly. PublicKey.String() drops from 937ns to 57ns. by @sonicfromnewyoke in #379

Bug Fixes

  • Fix SOL/WSOL address mismatch — SolMint and WrappedSol were incorrectly pointing to the same address by @sonicfromnewyoke in #378
  • Fix message version detection and add transaction validation (Sanitize, HasDuplicates, VerifyWithResults) to match Rust SDK by @sonicfromnewyoke in #381
  • Fix WebSocket client goroutine/channel leaks, race conditions, and premature Close() returns — now passes -race flag by @sonicfromnewyoke in #383
  • Actualize SimulateTransaction to match official Solana RPC spec — added InnerInstructions, MinContextSlot, ReturnData, and more by @sonicfromnewyoke in #382

New Features

  • Add SetLoadedAccountsDataSizeLimit instruction to compute budget program by @0xvbetsun in #310
  • Add UpgradeNonceAccount instruction to system program by @datmedevil17 in #355
  • Add token-program-aware ATA helpers for Token-2022 support by @lgalabru in #375
  • Implement GetStakeMinimumDelegation RPC method by @sonicfromnewyoke in #372

Maintenance

  • Replace deprecated Go patterns (ioutilio, interface{}any, sort.Sliceslices.SortFunc) by @sonicfromnewyoke in #373
  • Actualize documentation — streamlined README from ~3,000 to ~865 lines, extracted 63 examples into testable functions by @sonicfromnewyoke in #372

Issues Closed

#311, #327, #334, #270, #350

New Contributors

Full Changelog: v1.16.0...v1.17.0

v1.16.0

02 Apr 12:10
46f9602

Choose a tag to compare

What's Changed

This release updates RPC methods to align with the current Solana RPC API. Deprecated method names have been removed:

Removed Use Instead
GetConfirmedBlock GetBlock
GetRecentBlockhash GetLatestBlockhash
GetConfirmedSignaturesForAddress2 GetSignaturesForAddressWithOpts
GetConfirmedTransaction GetTransaction
CommitmentMax CommitmentFinalized

If your code uses any of the removed methods, update to the new names listed above.

Full Changelog: v1.15.0...v1.16.0

v1.15.0

02 Apr 09:36
439081d

Choose a tag to compare

This release marks solana-go is now a core repo maintained by solana foundation and solana community under solana-foundation/solana-go. Contributions are welcome!
Special thanks to @gagliardetto for creating and maintaining this project over the years. His work has been the backbone of the Solana Go ecosystem. @jacobcreech

What's Changed

Bug Fixes

New Programs & Features

Maintenance

New Contributors

Full Changelog: v1.14.0...v1.15.0

v1.14.0

27 Sep 15:02
ac7125b

Choose a tag to compare

What's Changed

  • Add SetAccounts implementation to be able to access accounts for Create instruction after decoding by @marcin-cb in #337

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

18 Jul 19:26
48bd64f

Choose a tag to compare

What's Changed

  • Fix nil pointer dereference in GetBinary (Fixes #264) by @sina-haseli in #265
  • Add address lookup table program id by @patrulek in #266
  • Added version information in MarshalWithEncoder, UnmarshalWithDecoder methods of GetTransactionResult by @newmanifold in #275
  • Add number of reward partitions field to getBlock response by @OwenJacob in #263
  • accountInfo struct refine by @wmh in #261
  • Add SolDecimals constants by @taobig in #293

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

14 Nov 12:04
19cb601

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11.0...v1.12.0

v1.11.0

26 Jun 13:48
c7a7525

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.0...v1.11.0