github anza-xyz/kit v6.4.0

17 hours ago

@solana/kit

v6.4.0 (2026-03-18)

Minor Changes

  • [@solana/kit] #1476 3e9e0a2 Thanks @lorisleiva! - Add compute unit limit estimation utilities: estimateComputeUnitLimitFactory, estimateAndSetComputeUnitLimitFactory, and fillTransactionMessageProvisoryComputeUnitLimit. These replace the external @solana-program/compute-budget estimation functions with Kit-native equivalents that work across all transaction versions.

  • [@solana/plugin-core] #1479 abeca1b Thanks @mcintyre94! - Add extendClient helper 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] #1472 084e92e Thanks @lorisleiva! - Add legacy and v0 transaction support to compute budget setters and getters. Priority fees are now handled by version-gated helpers: (get|set)TransactionMessagePriorityFeeLamports for v1 (total lamports) and (get|set)TransactionMessageComputeUnitPrice for legacy/v0 (micro-lamports per compute unit).

  • [@solana/wallet-account-signer] #1368 938ca94 Thanks @dpsi9! - Add functions to create Kit signers from Wallet Standard UiWalletAccount objects.

    createSignerFromWalletAccount returns a TransactionSigner that can sign transactions using the solana:signTransaction and the solana:signAndSendTransaction features. At least one of these must be present in the wallet account. If the solana:signMessage feature is available, then this signer is also a MessageSigner.

    There are also more specific helpers:

    • createTransactionSignerFromWalletAccount(account, chain) returns a TransactionModifyingSigner that uses the wallet's solana:signTransaction feature.
    • createTransactionSendingSignerFromWalletAccount(account, chain) returns a TransactionSendingSigner that uses the wallet's solana:signAndSendTransaction feature.
    • createMessageSignerFromWalletAccount(account) returns a MessageModifyingSigner that uses the wallet's solana:signMessage feature.

    These enable any wallet-standard wallet to be used as a Kit signer.

Patch Changes

  • [@solana/codecs-core, @solana/codecs-strings] #1391 27c3975 Thanks @holps-7! - Fix unnecessary array slicing/cloning when using negative offsets matching the array length.

  • [@solana/instruction-plans] #1470 896412d Thanks @lorisleiva! - Add trailing newline to multi-line error messages so that chained error causes render on their own line.

  • [@solana/kit] #1468 304436f Thanks @amilz! - Include source files in published packages so IDE "Go to Definition" navigates to TypeScript source instead of .d.ts type declarations

Don't miss a new kit release

NewReleases is sending notifications on new releases.