@solana/kit
v6.4.0 (2026-03-18)
Minor Changes
-
[
@solana/kit] #14763e9e0a2Thanks @lorisleiva! - Add compute unit limit estimation utilities:estimateComputeUnitLimitFactory,estimateAndSetComputeUnitLimitFactory, andfillTransactionMessageProvisoryComputeUnitLimit. These replace the external@solana-program/compute-budgetestimation functions with Kit-native equivalents that work across all transaction versions. -
[
@solana/plugin-core] #1479abeca1bThanks @mcintyre94! - AddextendClienthelper for plugin authors to merge client objects while preserving property descriptors (getters, symbol-keyed properties, and non-enumerable properties).Plugin authors should migrate plugins to use this instead of spreading the input client.
- return { ...client, rpc }; + return extendClient(client, { rpc });
-
[
@solana/transaction-messages] #1472084e92eThanks @lorisleiva! - Add legacy and v0 transaction support to compute budget setters and getters. Priority fees are now handled by version-gated helpers:(get|set)TransactionMessagePriorityFeeLamportsfor v1 (total lamports) and(get|set)TransactionMessageComputeUnitPricefor legacy/v0 (micro-lamports per compute unit). -
[
@solana/wallet-account-signer] #1368938ca94Thanks @dpsi9! - Add functions to create Kit signers from Wallet StandardUiWalletAccountobjects.createSignerFromWalletAccountreturns aTransactionSignerthat can sign transactions using thesolana:signTransactionand thesolana:signAndSendTransactionfeatures. At least one of these must be present in the wallet account. If thesolana:signMessagefeature is available, then this signer is also aMessageSigner.There are also more specific helpers:
createTransactionSignerFromWalletAccount(account, chain)returns aTransactionModifyingSignerthat uses the wallet'ssolana:signTransactionfeature.createTransactionSendingSignerFromWalletAccount(account, chain)returns aTransactionSendingSignerthat uses the wallet'ssolana:signAndSendTransactionfeature.createMessageSignerFromWalletAccount(account)returns aMessageModifyingSignerthat uses the wallet'ssolana:signMessagefeature.
These enable any wallet-standard wallet to be used as a Kit signer.
Patch Changes
-
[
@solana/codecs-core,@solana/codecs-strings] #139127c3975Thanks @holps-7! - Fix unnecessary array slicing/cloning when using negative offsets matching the array length. -
[
@solana/instruction-plans] #1470896412dThanks @lorisleiva! - Add trailing newline to multi-line error messages so that chained error causes render on their own line. -
[
@solana/kit] #1468304436fThanks @amilz! - Include source files in published packages so IDE "Go to Definition" navigates to TypeScript source instead of .d.ts type declarations