solana_kit_stake 0.5.3
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 addressspl_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_stakewas 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/systemjs@v0.14.0(wasjs@v0.13.0),solana-program/tokenjs@v0.16.0(wasjs@v0.15.0),solana-program/token-2022js@v0.16.0(wasjs@v0.14.1),solana-program/address-lookup-tablejs@v0.14.0(wasjs@v0.13.0),solana-program/memojs@v0.13.0(wasjs@v0.12.0),solana-program/compute-budgetjs@v0.18.0(wasjs@v0.17.0),solana-program/stakejs@v0.9.0(wasjs@v0.8.0),solana-program/loader-v3js@v0.6.0(wasjs@v0.5.0),solana-program/loader-v4commit4f62fb2e(was commit1d6335be), andmpl-bubblegumcommit6a6a77e3(was commit68e4bc20). - All of the
jsreleases 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. Thempl-bubblegumnew commit only re-exports the JSmintV2helpers and theloader-v4new commit only bumps its JS client to@solana/kitv8; both IDLs are unchanged. Thetoken-2022pin supersedes the stale PR #222 (js@v0.15.0). solana-program/stakerestructured its IDL to the Codama v1.8.0 format (program metadata block,lockupParamsargument links renamed fromlockupArgs, IDL program node renamed fromsolanaStakeInterfacetostake).scripts/generate_program_packages.mjsnow maps both argument link names and keeps thesolanaStakeInterfacerenderer-facing program name, so the generated APIs (flattenedsetLockup/setLockupChecked/authorizeWithSeedargument fields,SolanaStakeInterfaceidentifiers) 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_stakewas updated to 0.5.1.
solana_kit_stake 0.5.2 (2026-09-06) #
Changed #
- No package-specific changes were recorded;
solana_kit_stakewas 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.