solana_kit_stake 0.5.3 copy "solana_kit_stake: ^0.5.3" to clipboard
solana_kit_stake: ^0.5.3 copied to clipboard

Stake Program instruction builders and account codecs for the Solana Kit Dart SDK.

Changelog #

All notable changes to this project will be documented in this file.

This changelog is managed by monochange.

solana_kit_stake 0.1.0 (2026-06-01) #

๐Ÿ’ฅ Breaking Change #

Add Stake program package

Add the Stake Program package with generated instruction builders, stake state codecs, account decoding, and instruction-plan helpers.

import 'package:solana_kit_stake/solana_kit_stake.dart';

final instruction = getStakeInstruction(
  stake: stakeAddress,
  authorized: authorizedAddress,
);

Owner: Ifiok Jr. ยท Introduced in: 872e405 ยท Last updated in: 2a9ae80

Raise minimum Dart SDK to 3.12

Raise the minimum supported Dart SDK constraint to ^3.12.0 across public Dart packages.

This is a breaking change because consumers must use Dart 3.12 or newer. Flutter consumers must use a Flutter SDK that bundles Dart 3.12 or newer.

environment:
  sdk: ^3.12.0

Owner: Ifiok Jr. ยท Introduced in: 32d5d36

๐Ÿ› Fixed #

Add well-known program, sysvar, SPL, Metaplex, and token mint address constants

Add centralized address constants to solana_kit_addresses so that any package can reference well-known on-chain addresses without importing the full domain package or hardcoding strings.

New exports:

  • program_addresses.dart โ€” All Agave/Solana native program addresses (system, ALT, BPF loaders, compute budget, config, stake, vote, etc.)
  • sysvar_addresses.dart โ€” All sysvar addresses (clock, rent, recentBlockhashes, fees, rewards, etc.) plus the sysvar owner address
  • spl_addresses.dart โ€” SPL program addresses (Token, Token-2022, ATA, Memo, Memo Legacy)
  • metaplex_addresses.dart โ€” Metaplex program addresses (Token Metadata, Bubblegum, Auth Rules, Core, SPL Account Compression, Noop)
  • well_known_addresses.dart โ€” Well-known token mint addresses (Wrapped SOL, USDC, USDT)

Also re-exports from solana_kit_address (Address type, codecs, comparator, PublicKey) and solana_kit_address_constants (well-known address constants).

Owner: Ifiok Jr. ยท Introduced in: 3f596ef ยท Last updated in: 4643648

solana_kit_stake 0.2.0 (2026-06-03) #

๐Ÿ’ฅ Breaking Change #

Update upstream program references

Update generated Solana program packages to the latest checked upstream refs:

solana_kit_system: solana-program/system js@v0.12.2
solana_kit_stake: solana-program/stake js@v0.6.1
solana_kit_memo: solana-program/memo js@v0.11.1

solana_kit_system adds the CreateAccountAllowPrefund instruction helpers. solana_kit_stake includes the authority seed u64 size-prefix fix and updated stake delegation layout.

Owner: @ifiokjr ยท Review: PR #182

solana_kit_stake 0.2.1 (2026-08-12) #

๐Ÿ› Fixed #

Bump program reference pins to latest upstream tags

Updates config/reference-repos.json and docs to track the latest upstream tags for program packages whose IDLs are unchanged or tooling-only:

  • Token: js@v0.13.0 โ†’ js@v0.14.0
  • Address Lookup Table: js@v0.11.0 โ†’ js@v0.12.1
  • Memo: js@v0.11.1 โ†’ js@v0.11.2
  • Compute Budget: js@v0.15.0 โ†’ js@v0.16.0
  • Stake: js@v0.6.1 โ†’ js@v0.7.2
  • Loader v3: js@v0.3.0 โ†’ js@v0.4.0

No generated Dart API changes for these packages โ€” IDL comparison confirmed semantic equivalence. Updates are reference pin and documentation only.

Owner: @ifiokjr ยท Review: PR #195

๐Ÿ“– Documentation #

Point package README website badges at package docs

Updated package README website badges to link directly to each package's docs catalog entry and added missing package entries to the documentation website catalog/index.

Owner: @ifiokjr ยท Review: PR #192

solana_kit_stake 0.4.0 (2026-08-18) #

๐Ÿ’ฅ Breaking Change #

Regenerated program packages from upstream v7 IDLs

Regenerated all 8 generated program packages from their latest upstream Codama IDLs:

  • solana_kit_system: js@v0.12.2 โ†’ v0.13.0
  • solana_kit_token: js@v0.14.0 โ†’ v0.15.0
  • solana_kit_token_2022: js@v0.12.0 โ†’ v0.14.1
  • solana_kit_address_lookup_table: js@v0.12.1 โ†’ v0.13.0
  • solana_kit_memo: js@v0.11.2 โ†’ v0.12.0
  • solana_kit_compute_budget: js@v0.16.0 โ†’ v0.17.0
  • solana_kit_stake: js@v0.7.2 โ†’ v0.8.0; applied the upstream Stake Codama preprocessing before rendering so generated defined-type imports resolve to Dart files
  • solana_kit_loader: loader-v3 js@v0.4.0 โ†’ v0.5.0; migrated planning helpers to the generated v0.5 API and retained the handwritten Loader v3 account codecs and Loader v4 client surface

Generated using node scripts/generate_program_packages.mjs โ€” a new generator script that runs the Codama renderer against upstream IDLs.

// Generated clients now match newer upstream IDLs, e.g. the system program:
final instruction = getCreateAccountInstruction(
  payer: payer.address,
  newAccount: newAccount.address,
  lamports: lamports,
  space: space,
  owner: owner,
);

Owner: @ifiokjr ยท Review: PR #204

solana_kit_stake 0.4.1 (2026-08-19) #

Changed #

  • No package-specific changes were recorded; solana_kit_stake was updated to 0.4.1.

solana_kit_stake 0.5.0 (2026-08-30) #

๐Ÿ› Fixed #

Refresh upstream reference pins for solana-program/* and mpl-bubblegum

  • Tracks the latest upstream references in config/reference-repos.json: solana-program/system js@v0.14.0 (was js@v0.13.0), solana-program/token js@v0.16.0 (was js@v0.15.0), solana-program/token-2022 js@v0.16.0 (was js@v0.14.1), solana-program/address-lookup-table js@v0.14.0 (was js@v0.13.0), solana-program/memo js@v0.13.0 (was js@v0.12.0), solana-program/compute-budget js@v0.18.0 (was js@v0.17.0), solana-program/stake js@v0.9.0 (was js@v0.8.0), solana-program/loader-v3 js@v0.6.0 (was js@v0.5.0), solana-program/loader-v4 commit 4f62fb2e (was commit 1d6335be), and mpl-bubblegum commit 6a6a77e3 (was commit 68e4bc20).
  • All of the js releases are @solana/kit ^7 โ†’ ^8 dependency bumps with no instructions, accounts, types, or wire-format changes; the IDL additions are Codama display metadata, which the Dart renderer does not render. Regenerating every affected client from the old and new pins produced byte-identical Dart output, so the generated clients are unchanged. The mpl-bubblegum new commit only re-exports the JS mintV2 helpers and the loader-v4 new commit only bumps its JS client to @solana/kit v8; both IDLs are unchanged. The token-2022 pin supersedes the stale PR #222 (js@v0.15.0).
  • solana-program/stake restructured its IDL to the Codama v1.8.0 format (program metadata block, lockupParams argument links renamed from lockupArgs, IDL program node renamed from solanaStakeInterface to stake). scripts/generate_program_packages.mjs now maps both argument link names and keeps the solanaStakeInterface renderer-facing program name, so the generated APIs (flattened setLockup/setLockupChecked/authorizeWithSeed argument fields, SolanaStakeInterface identifiers) stay stable. No generated Dart code changed.
  • Package READMEs now cite the refreshed upstream versions they mirror.

Owner: @ifiokjr ยท Review: PR #226 ยท Related issues: #222, #225

๐Ÿ“– Documentation #

Unslop package docs and code comments

Rewrote every package README from a reader's perspective with verified, compilable examples, removed AI-tell phrasing from docs and code comments, and added a test that analyzes every Dart block in Markdown so examples cannot drift from the API.

Owner: @ifiokjr ยท Review: PR #223

solana_kit_stake 0.5.1 (2026-08-30) #

Changed #

  • No package-specific changes were recorded; solana_kit_stake was updated to 0.5.1.

solana_kit_stake 0.5.2 (2026-09-06) #

Changed #

  • No package-specific changes were recorded; solana_kit_stake was updated to 0.5.2.

solana_kit_stake 0.5.3 (2026-09-12) #

Fixes #

  • Document program errors and the generated program-client contract. Add library doc comments synchronized from shared MDT sections to thirteen packages: program error matching (isProgramError + TransactionMessageInput) and the generated program-client API shape are now documented inline in each library and in the errors docs page; six barrels that had no library doc comment gain one; three one-line library headers are expanded. No code changes. Owner: @ifiokjr ยท Review: PR #248

0.0.0 #

Placeholder publication.