github solana-foundation/solana-go v1.21.0

11 hours ago

1.21.0 (2026-05-25)

Features

  • rpc: add NewWithCommitment / NewWithTimeout / NewWithTimeoutAndCommitment (#436) (e93ff5e), closes #414
  • rpc: forward MinContextSlot in getProgramAccounts and getTokenAccounts (#431) (17984a5)
  • rpc: support EncodingJSON in GetTransaction (#420) (b906b70)
  • wallet: derive PrivateKey/Wallet from BIP-39 mnemonic (#429) (89ef706)
  • ws: support dataSlice in AccountSubscribe (#433) (fb31fb1)
  • ws: support dataSlice in ProgramSubscribe (#434) (950b110)
  • ws: support enableReceivedNotification in SignatureSubscribe (#432) (810f171)

Bug Fixes

  • rpc: support EncodingJSON in GetBlockWithOpts (#419) (eee363a)
  • ws: reject EncodingJSONParsed in BlockSubscribe (#426) (bf130a2)
  • ws: use spec "showRewards" key in blockSubscribe params (#430) (6969f12)
  • ws: use uint64 for params.Subscription in incoming notifications (#427) (427de1a)

Don't miss a new solana-go release

NewReleases is sending notifications on new releases.