fix(deps): update dependency @solana/kit to v6#289
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency @solana/kit to v6#289renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
d53adc5 to
25309bd
Compare
25309bd to
8c6de26
Compare
8c6de26 to
a20c0bb
Compare
393c6d3 to
78d98ac
Compare
d785ad6 to
408a832
Compare
9fc7aa6 to
dc534e1
Compare
dc534e1 to
6566355
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.1.0→^6.0.0Release Notes
anza-xyz/kit (@solana/kit)
v6.7.0Compare Source
@solana/kit
v6.7.0 (2026-04-02)
Minor Changes
@solana/plugin-core] #15092763d0cThanks @lorisleiva! - AddcreateClientfunction that replacescreateEmptyClientand accepts an optional initial value. The oldcreateEmptyClientis preserved as a deprecated re-export.v6.6.0Compare Source
@solana/kit
v6.6.0 (2026-04-01)
Minor Changes
[
@solana/errors,@solana/transaction-messages] #14967f02d23Thanks @mcintyre94! -compileTransactionMessagenow enforces four Solana protocol limits at compile time, throwing a typedSolanaErrorinstead of silently producing a transaction that would be rejected by the network:SOLANA_ERROR__TRANSACTION__TOO_MANY_ACCOUNT_ADDRESSESSOLANA_ERROR__TRANSACTION__TOO_MANY_SIGNER_ADDRESSESSOLANA_ERROR__TRANSACTION__TOO_MANY_INSTRUCTIONSSOLANA_ERROR__TRANSACTION__TOO_MANY_ACCOUNTS_IN_INSTRUCTIONAll four error codes (and their context types / human-readable messages) are exported from
@solana/errors.[
@solana/instruction-plans,@solana/transactions] #1499742ffcaThanks @mcintyre94! - Add version-aware transaction size limits. Version 1 transactions now allow up to 4096 bytes, while legacy and v0 transactions continue to use the existing 1232-byte limit. Two new helper functions are exported from@solana/transactions:getTransactionSizeLimitfor compiledTransactionobjects, andgetTransactionMessageSizeLimitforTransactionMessageobjects.The existing
TRANSACTION_SIZE_LIMIT,TRANSACTION_PACKET_SIZE, andTRANSACTION_PACKET_HEADERconstants are now deprecated in favour ofgetTransactionSizeLimitand will be removed in a future major version.[
@solana/plugin-core] #14809c4fd6eThanks @mcintyre94! - AddwithCleanupfunction to@solana/plugin-core. Plugin authors can use it to register teardown logic (e.g. closing connections or clearing timers) on a client, making itDisposable. If the client already implementsSymbol.dispose, the new cleanup function is chained so both run on disposal.Patch Changes
[
@solana/instruction-plans] #1497f055201Thanks @mcintyre94! - The transaction planner now handles the four new transaction compilation constraint errors (TOO_MANY_ACCOUNT_ADDRESSES,TOO_MANY_SIGNER_ADDRESSES,TOO_MANY_INSTRUCTIONS,TOO_MANY_ACCOUNTS_IN_INSTRUCTION) gracefully. When adding an instruction to an existing candidate transaction would violate a constraint, the planner splits it into a new transaction — the same behaviour it already had for transactions that exceed the byte size limit. If even a fresh transaction cannot accommodate the instruction, the constraint error propagates to the caller.[
@solana/signers] #14920fa54a4Thanks @lorisleiva! - AllowdeduplicateSignersto handle structurally equivalent signers (e.g. twocreateNoopSignercalls with the same address) instead of throwing.v6.5.0Compare Source
@solana/kit
v6.5.0 (2026-03-19)
Minor Changes
[
@solana/plugin-interfaces] #148610cb920Thanks @lorisleiva! - AddClientWithGetMinimumBalanceplugin interface for computing the minimum balance required for an account. Implementations can use any strategy (e.g., RPC call, cached value) to provide this value through a uniform API.[
@solana/signers] #14879e05736Thanks @lorisleiva! - AddpartiallySignTransactionWithSigners,signTransactionWithSigners, andsignAndSendTransactionWithSignersfunctions that accept a set of signers and a compiledTransactiondirectly, without requiring signers to be embedded in a transaction message. Also addassertContainsResolvableTransactionSendingSignerto validate that a set of signers contains an unambiguously resolvable sending signer. The existing transaction message helpers now delegate to these new functions internally.Patch Changes
@solana/kit] #14854a4c217Thanks @lorisleiva! - DeprecatedgetMinimumBalanceForRentExemption. The minimum balance for an account is being actively reduced (see SIMD-0437) and is expected to become dynamic in future Solana upgrades (see SIMD-0194 and SIMD-0389). Use thegetMinimumBalanceForRentExemptionRPC method or aClientWithGetMinimumBalanceplugin instead. This function will be removed in v7.v6.4.0Compare Source
@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.
[
@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 declarationsv6.3.1Compare Source
@solana/kit
v6.3.1 (2026-03-12)
Patch Changes
@solana/instruction-plans] #1464a557a62Thanks @lorisleiva! - Add the last 8 transaction log lines to the error message ofSOLANA_ERROR__FAILED_TO_SEND_TRANSACTIONandSOLANA_ERROR__FAILED_TO_SEND_TRANSACTIONS(when only one transaction failed).v6.3.0Compare Source
@solana/kit
v6.3.0 (2026-03-11)
Minor Changes
@solana/errors,@solana/instruction-plans] #1444f47d5cfThanks @lorisleiva! - Enrich theSOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMITerror context with the full simulation result (Omit<RpcSimulateTransactionResult, 'err'>) and add it toSolanaErrorCodeWithCause, aligning it with theSOLANA_ERROR__JSON_RPC__SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILUREerror.v6.2.0Compare Source
@solana/kit
v6.2.0 (2026-03-09)
Minor Changes
[
@solana/codecs-data-structures] #13943f4c5f0Thanks @mcintyre94! - Adds new functionsgetPatternMatchEncoder,getPatternMatchDecoderandgetPatternMatchCodec.These can be used to write an encoder that switches between any number of encoders based on the value being encoded, or a decoder that switches between any number of decoders based on the byte array being decoded.
For example for the encoder, the input is a list of [predicate, encoder] pairs. Each predicate is a function from the value being encoded to true/false. The encoder used is the first one where its predicate is true.
[
@solana/wallet-account-signer] #1415587ede3Thanks @mcintyre94! - Add new@solana/wallet-account-signerpackage that will contain functions for converting from Wallet Standard accounts on Solana chains, to Kit Signer objects.Patch Changes
[
@solana/codecs-data-structures] #14205390602Thanks @mcintyre94! - Enable pattern match encoder/codec to use type narrowing. This means that if your predicate narrows the type of the value, then the matching encoder only needs to handle the narrowed type.This means that you can write, for example:
[
@solana/errors] #14400d0be3eThanks @lorisleiva! - Append the instruction index to all instruction error messages (e.g.(instruction #​1)) and add a human-readable message for unknown instruction errors.[
@solana/errors] #14327568a12Thanks @lorisleiva! - AddSOLANA_ERROR__FAILED_TO_SEND_TRANSACTIONandSOLANA_ERROR__FAILED_TO_SEND_TRANSACTIONSerror codes for high-level transaction sending wrappers.[
@solana/errors] #1442e33a65fThanks @lorisleiva! - Remove stale$encodedDatainterpolation from theBORSH_IO_ERRORmessage. TheencodedDatacontext property was removed in v5.0.0 but the message template was not updated, causing the literal$encodedDatato appear in the rendered error message.[
@solana/errors,@solana/instruction-plans] #143349c1195Thanks @lorisleiva! - AddabortReasonto theSOLANA_ERROR__INSTRUCTION_PLANS__FAILED_TO_EXECUTE_TRANSACTION_PLANerror context so consumers can access the abort reason when converting this error to higher-level error types.[
@solana/instruction-plans] #143598a8869Thanks @lorisleiva! - AddcreateFailedToExecuteTransactionPlanErrorfactory helper for custom transaction plan executor authors and refactor the built-in executor to use it.[
@solana/instruction-plans] #143479db829Thanks @lorisleiva! - AddcreateFailedToSendTransactionErrorandcreateFailedToSendTransactionsErrorfactory helpers that create high-levelSolanaErrorinstances from failed or canceled transaction plan results, with unwrapped simulation errors, preflight data, and logs in the error context.[
@solana/sysvars] #1428b28b843Thanks @datasalaryman! - use internals codecs dependenciesv6.1.0Compare Source
@solana/kit
v6.1.0 (2026-02-16)
Minor Changes
[
@solana/codecs-data-structures] #136370b1ed8Thanks @mcintyre94! - Adds new functionsgetPredicateEncoder,getPredicateDecoderandgetPredicateCodec.These can be used to write an encoder that switches between two encoders based on the value being encoded, or a decoder that switches between two decoders based on the byte array being decoded.
[
@solana/codecs-data-structures] #13697ce7545Thanks @mcintyre94! - Allow passing a description to array and tuple encoders and codecsArrayCodecConfigis extended with an optional descriptionTupleCodecConfigwith an optional descriptionSOLANA_ERROR__CODECS__INVALID_NUMBER_OF_ITEMSwhen encoding, thecodecDescriptionfield will be the description passed in the config. If no description is included then they will continue to default toarrayandtuplerespectively.[
@solana/instruction-plans] #13341f6cd4bThanks @lorisleiva! - AddparseInstructionOrTransactionPlanInputhelper that converts flexible inputs (instruction plan input or transaction plan input) into anInstructionPlanorTransactionPlan[
@solana/instruction-plans] #133250010b5Thanks @lorisleiva! - AddparseInstructionPlanInputhelper that converts flexible inputs (single instruction, instruction plan, or array) into anInstructionPlan[
@solana/instruction-plans] #133333234f5Thanks @lorisleiva! - AddparseTransactionPlanInputhelper that converts flexible inputs (single transaction message, transaction plan, or array) into anTransactionPlan[
@solana/kit] #1356da61429Thanks @lorisleiva! - Add@solana/kit/program-client-coreas a subpath export for@solana/program-client-corewithout changing root@solana/kitexports.[
@solana/plugin-interfaces] #1339ee558a1Thanks @lorisleiva! - Add@solana/plugin-interfacespackage with TypeScript interfaces for building pluggable Solana clients. IncludesClientWithPayer,ClientWithAirdrop,ClientWithRpc,ClientWithRpcSubscriptions,ClientWithTransactionPlanning, andClientWithTransactionSendinginterfaces.[
@solana/program-client-core] #1345d3314a6Thanks @lorisleiva! - Add new@solana/program-client-corepackage containing types and utilities for building Solana program clients. This is mainly used by the JavaScript Codama renderer to generate Kit-compatible program clients.Patch Changes
[
@solana/errors] #13443f711e1Thanks @lorisleiva! - Add new error codes for program clients:SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,SOLANA_ERROR__PROGRAM_CLIENTS__UNRECOGNIZED_INSTRUCTION_TYPE,SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_INSTRUCTION,SOLANA_ERROR__PROGRAM_CLIENTS__UNEXPECTED_RESOLVED_INSTRUCTION_INPUT_TYPE, andSOLANA_ERROR__PROGRAM_CLIENTS__RESOLVED_INSTRUCTION_INPUT_MUST_BE_NON_NULL.[
@solana/errors] #1366215027cThanks @lorisleiva! - Add two newSolanaErrorcodes for program clients:SOLANA_ERROR__PROGRAM_CLIENTS__UNRECOGNIZED_ACCOUNT_TYPEandSOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_ACCOUNT.v6.0.1Compare Source
@solana/kit
v6.0.1 (2026-02-05)
Patch Changes
[
@solana/kit,@solana/signers,@solana/transaction-messages] #13212d3296fThanks @mcintyre94! - Fix a bug in the type ofTransactionMessageWithSigners[
@solana/transaction-messages] #1318a8a57ceThanks @mcintyre94! - Fix bugs in types ofsetTransactionMessageLifetimeUsingBlockhashandsetTransactionMessageLifetimeUsingDurableNoncev6.0.0Compare Source
@solana/kit
v6.0.0 (2026-02-04)
Major Changes
[
@solana/instruction-plans] #13025f12df2Thanks @lorisleiva! - TheexecuteTransactionMessagecallback increateTransactionPlanExecutornow receives a mutable context object as its first argument. This context can be incrementally populated during execution (e.g. with the latest transaction message, the compiled transaction, or custom properties) and is preserved in the resultingSingleTransactionPlanResultregardless of the outcome. If an error is thrown at any point in the callback, any attributes already saved to the context will still be available in theFailedSingleTransactionPlanResult, which is useful for debugging failures or building recovery plans.The callback must now return either a
Signatureor a fullTransactionobject directly, instead of wrapping the result in an object.BREAKING CHANGES
executeTransactionMessagecallback signature changed. The callback now receives(context, message, config)instead of(message, config)and returnsSignature | Transactioninstead of{ transaction: Transaction } | { signature: Signature }.const executor = createTransactionPlanExecutor({ - executeTransactionMessage: async (message, { abortSignal }) => { + executeTransactionMessage: async (context, message, { abortSignal }) => { const transaction = await signTransactionMessageWithSigners(message); + context.transaction = transaction; await sendAndConfirmTransaction(transaction, { commitment: 'confirmed' }); - return { transaction }; + return transaction; } });Custom context is now set via mutation instead of being returned. Previously, custom context was returned as part of the result object. Now, it must be set directly on the mutable context argument.
const executor = createTransactionPlanExecutor({ - executeTransactionMessage: async (message) => { - const transaction = await signAndSend(message); - return { transaction, context: { custom: 'value' } }; + executeTransactionMessage: async (context, message) => { + context.custom = 'value'; + const transaction = await signAndSend(message); + return transaction; } });[
@solana/instruction-plans] #12935c810acThanks @lorisleiva! - Reshape the successfulSingleTransactionPlanResultfactory functions. ThesuccessfulSingleTransactionPlanResulthelper now accepts a context object (which must include asignatureproperty) instead of a separatesignatureargument. A newsuccessfulSingleTransactionPlanResultFromTransactionhelper is introduced for the common case of creating a successful result from a fullTransactionobject.BREAKING CHANGES
successfulSingleTransactionPlanResultrenamed tosuccessfulSingleTransactionPlanResultFromTransaction. If you were creating a successful result from aTransaction, update the function name.successfulSingleTransactionPlanResultFromSignaturerenamed tosuccessfulSingleTransactionPlanResultwith a new signature. Thesignatureis no longer a separate argument — it must be included in thecontextobject.[
@solana/instruction-plans] #1309bd3d5f1Thanks @lorisleiva! - Add a newplanTypeproperty to allInstructionPlan,TransactionPlan, andTransactionPlanResulttypes to distinguish them from each other at runtime. This property is a string literal with the value'instructionPlan','transactionPlan', or'transactionPlanResult'respectively. It also adds new type guard functions that make use of that new property:isInstructionPlan,isTransactionPlan, andisTransactionPlanResult.BREAKING CHANGES
InstructionPlan,TransactionPlan, andTransactionPlanResulttype guards updated. All factories have been updated to add the newplanTypeproperty but any custom instantiation of these types must be updated to include it as well.const myInstructionPlan: InstructionPlan = { kind: 'parallel', plans: [/* ... */], + planType: 'instructionPlan', }; const myTransactionPlan: TransactionPlan = { kind: 'parallel', plans: [/* ... */], + planType: 'transactionPlan', }; const myTransactionPlanResult: TransactionPlanResult = { kind: 'parallel', plans: [/* ... */], + planType: 'transactionPlanResult', };[
@solana/instruction-plans] #131191cdb71Thanks @lorisleiva! - Remove deprecated functiongetAllSingleTransactionPlansBREAKING CHANGES
getAllSingleTransactionPlansremoved. UseflattenTransactionPlaninstead.[
@solana/instruction-plans] #12762fbad6aThanks @lorisleiva! - ReshapeSingleTransactionPlanResultfrom a single object type with astatusdiscriminated union into three distinct types:SuccessfulSingleTransactionPlanResult,FailedSingleTransactionPlanResult, andCanceledSingleTransactionPlanResult. This flattens the result structure so thatstatusis now a string literal ('successful','failed', or'canceled') and properties likecontext,error, andplannedMessagelive at the top level of each variant.Other changes include:
messageproperty toplannedMessageon all single transaction plan result types. This makes it clearer that this original planned message from theTransactionPlan, not the final message that was sent to the network.contextobject from inside thestatusfield to the top level of each result variant. All variants now carry acontext— not just successful ones.contextattribute to optionally includemessage,signature, andtransactionproperties. These properties are meant to hold the actualTransactionMessage,Signature, andTransactionused when the transaction was sent to the network — which may differ from the originallyplannedMessage.TransactionPlanResultStatustype.failedSingleTransactionPlanResultandcanceledSingleTransactionPlanResultnow accept an optionalcontextparameter too.BREAKING CHANGES
Accessing the status kind. Replace
result.status.kindwithresult.status.Accessing the signature. The signature has moved from
result.status.signaturetoresult.context.signature.Accessing the transaction. The transaction has moved from
result.status.transactiontoresult.context.transaction.Accessing the error. The error has moved from
result.status.errortoresult.error.Accessing the context. The context has moved from
result.status.contexttoresult.context.Accessing the message. The
messageproperty has been renamed toplannedMessage.TransactionPlanResultStatusremoved. Code that references this type must be updated to use the individual result variant types (SuccessfulSingleTransactionPlanResult,FailedSingleTransactionPlanResult,CanceledSingleTransactionPlanResult) or theSingleTransactionPlanResultunion directly.[
@solana/transaction-messages] #1289b82df4cThanks @mcintyre94! - Remove the export of BaseTransactionMessage, which was previously deprecated. Use TransactionMessage instead.Minor Changes
@solana/instruction-plans] #1275f8ef83eThanks @lorisleiva! - Add missingTContext,TTransactionMessageand/orTSingletype parameters toTransactionPlanResulttypes and helper functions to better preserve type information through narrowing operations.Patch Changes
[
@solana/transaction-messages] #1287f80b6deThanks @mcintyre94! - Refactor compressTransactionMessageUsingAddressLookupTables to not use BaseTransactionMessage[
@solana/transaction-messages] #1288986a09cThanks @mcintyre94! - Refactor transaction-messages package to stop using BaseTransactionMessagev5.5.1Compare Source
@solana/kit
v5.5.1 (2026-01-28)
Patch Changes
@solana/errors,@solana/instruction-plans] #1264d957526Thanks @lorisleiva! - Exports missing helpers in errors and instruction-plansv5.5.0Compare Source
@solana/kit
v5.5.0 (2026-01-27)
Minor Changes
[
@solana/errors,@solana/instruction-plans] #1253b4f5897Thanks @lorisleiva! - AddisXandassertIsXtype guard helpers for instruction plans, transaction plans, and transaction plan results[
@solana/errors] #126008c9062Thanks @mcintyre94! - Mark thecausedeprecated forSOLANA_ERROR__INSTRUCTION_PLANS__FAILED_TO_EXECUTE_TRANSACTION_PLANerror[
@solana/errors,@solana/instruction-plans] #1254ba3f186Thanks @lorisleiva! - AddSuccessfulTransactionPlanResulttype withisSuccessfulTransactionPlanResultandassertIsSuccessfulTransactionPlanResulttype guards[
@solana/errors,@solana/instruction-plans] #12361cc0a31Thanks @mcintyre94! - AddgetFirstFailedSingleTransactionPlanResult, which you can use to get the first failed transaction plan result from a transaction plan result, or throw if none failed[
@solana/errors] #12306af7c15Thanks @mcintyre94! - Add a functionunwrapSimulationError, which will return the cause of an error if it is a simulation error. Otherwise it is returned unchanged.[
@solana/instruction-plans] #1245f731129Thanks @mcintyre94! - AddflattenInstructionPlanandflattenTransactionPlanfunctions, that can be used to remove the sequential/parallel structure from these plans. DeprecategetAllSingleTransactionPlanswhich is superseded byflattenTransactionPlan.[
@solana/instruction-plans] #1233b174ed5Thanks @lorisleiva! - AddeveryInstructionPlan,everyTransactionPlanandeveryTransactionPlanResultfunctions that can be used to ensure a given predicate holds for all nodes inside their respective plan structures.[
@solana/instruction-plans] #1247ea97d43Thanks @mcintyre94! - Add a new functionappendTransactionMessageInstructionPlanthat can be used to add the instructions from an instruction plan to a transaction message[
@solana/instruction-plans] #124360e8c45Thanks @lorisleiva! - AddtransformInstructionPlan,transformTransactionPlanandtransformTransactionPlanResulthelpers for bottom-up transformation of instruction plan trees.[
@solana/instruction-plans] #1235a47e441Thanks @lorisleiva! - AddpassthroughFailedTransactionPlanExecutionhelper function that wraps a transaction plan execution promise to return aTransactionPlanResulteven on execution failure. This allows handling execution results in a unified way without try/catch.[
@solana/instruction-plans] #1232589d761Thanks @mcintyre94! - AddfindInstructionPlan,findTransactionPlanandfindTransactionPlanResultfunctions that can be used to find the plan matching a given predicatePatch Changes
[
@solana/instruction-plans] #1256cccea6fThanks @mcintyre94! - Fix a bug where a message packer that requires multiple iterations is not correctly added when forced to fit in a single transaction, even if it can fit[
@solana/kit] #12347e0377bThanks @mcintyre94! - Fix a race condition insendAndConfirmDurableNonceTransactionFactory[
@solana/react] #121056433e9Thanks @rajgoesout! - Return immediately when passing empty array of transactions touseSignTransactionsanduseSignAndSendTransactionsv5.4.0Compare Source
@solana/kit
v5.4.0 (2026-01-13)
Minor Changes
[
@solana/accounts] #1152fb1c576Thanks @rajgoesout! - Include program + type when available in fetchJsonParsedAccount[
@solana/react] #1154fec04aeThanks @ningthoujamSwamikumar! - Add a context provider<SelectedWalletAccountContext>anduseSelectedWalletAccountto persist a selected wallet account[
@solana/react] #1105a301da8Thanks @rajgoesout! - AdduseSignTransactionsanduseSignAndSendTransactionshooks that you can use to send multiple transactions to a connected wallet.Patch Changes
[
@solana/accounts,@solana/addresses,@solana/assertions,@solana/codecs,@solana/codecs-core,@solana/codecs-data-structures,@solana/codecs-numbers,@solana/codecs-strings,@solana/compat,@solana/errors,@solana/fast-stable-stringify,@solana/functional,@solana/instruction-plans,@solana/instructions,@solana/keys,@solana/kit,@solana/nominal-types,@solana/offchain-messages,@solana/options,@solana/plugin-core,@solana/programs,@solana/promises,@solana/rpc,@solana/rpc-api,@solana/rpc-graphql,@solana/rpc-parsed-types,@solana/rpc-spec,@solana/rpc-spec-types,@solana/rpc-subscriptions,@solana/rpc-subscriptions-api,@solana/rpc-subscriptions-channel-websocket,@solana/rpc-subscriptions-spec,@solana/rpc-transformers,@solana/rpc-transport-http,@solana/rpc-types,@solana/signers,@solana/subscribable,@solana/sysvars,@solana/transaction-confirmation,@solana/transaction-messages,@solana/transactions,@solana/webcrypto-ed25519-polyfill] #1187f5f89ebThanks @mcintyre94! - Make Typescript peer dependency optional + reduce required version to ^5[
@solana/errors,@solana/rpc-transformers] #1186189de37Thanks @mcintyre94! - Fix type of error in sendTransaction preflight errorSome fields in
RpcSimulateTransactionResultwere incorrectly typed as number when they should have been bigint. At runtime these were bigint because of a bug.At runtime all numeric fields in
RpcSimulateTransactionResultwere a bigint, but those typed as number are now correct.[
@solana/react] #11999bde4d7Thanks @rajgoesout! - Correct featureName insignTransactionerrorv5.3.0Compare Source
@solana/kit
v5.3.0 (2026-01-07)
Minor Changes
@solana/kit] #1065fafa52fThanks @rajgoesout! - Add local rent exemption calculatorv5.2.0Compare Source
@solana/kit
v5.2.0 (2026-01-07)
Minor Changes
[
@solana/instruction-plans,@solana/kit,@solana/signers,@solana/transaction-messages,@solana/transactions] #11396dbaf66Thanks @mcintyre94! - Return more precise types from transaction message functionsDeprecate
BaseTransactionMessagein favour ofTransactionMessage[
@solana/kit,@solana/plugin-core] #1113b1937c7Thanks @lorisleiva! - Add new@solana/plugin-corepackage enabling us to create modular Kit clients that can be extended with plugins.Patch Changes
[
@solana/codecs-core] #1115c391a44Thanks @steveluscher! - Created a function that gives you a non-sharedArrayBuffergiven any kind ofUint8Array[
@solana/codecs-core,@solana/codecs-numbers,@solana/codecs-strings,@solana/compat,@solana/keys] #1116109c78eThanks @steveluscher! - AnySharedArrayBufferthat gets passed to a crypto operation likesignBytesorverifySignaturewill now be copied as non-shared. Crypto operations likesignandverifyrejectSharedArrayBuffersotherwise[
@solana/errors,@solana/instruction-plans] #1155b80b092Thanks @lorisleiva! - Throw early when the default transaction plan executor encounters a non-divisible transaction plan.[
@solana/rpc-subscriptions-channel-websocket] #11637d5a57cThanks @lorisleiva! - Node users no longer need to manually installws. Browser builds remain unaffected as conditional exports ensurewsis never bundled for browser environments.v5.1.0Compare Source
@solana/kit
v5.1.0 (2025-12-12)
Minor Changes
[
@solana/errors,@solana/kit,@solana/offchain-messages] #880becf5f6Thanks @steveluscher! - Added codecs for encoding and decoding Solana Offchain Messages (see https://redirect.github.com/solana-foundation/SRFCs/discussions/3)[
@solana/errors,@solana/kit,@solana/offchain-messages] #98432214f5Thanks @steveluscher! - Added the capability to sign Solana Offchain Messages using aCryptoKey[
@solana/instruction-plans] #1044e64a9b2Thanks @mcintyre94! - Add a function to summarize aTransactionPlanResult[
@solana/instruction-plans] #10352bd0bc2Thanks @mcintyre94! - Add a function to flatten a transaction plan result[
@solana/instruction-plans] #1056a0c394bThanks @lorisleiva! - Accept anyErrorobject in failedSingleTransactionPlanResult[
@solana/instruction-plans] #10435c1f9e5Thanks @mcintyre94! - Make Transaction optional in successful transaction plan result + add signaturePatch Changes
[
@solana/addresses,@solana/codecs-core,@solana/offchain-messages,@solana/react,@solana/transactions] #104032b13a8Thanks @OrmEmbaar! - Add a function called bytesEqual to codecs-core that you can use to compare two byte arrays for equality.[
@solana/codecs-strings,@solana/kit] #999d7f5a0cThanks @tmm! - Some npm packages are needed for specific runtimes only (eg. React Native, Node). To prevent package managers from unconditionally installing these packages when they haveauto-install-peersenabled, we are marking them as optional inpeerDependenciesMeta. When running in React Native, be sure to explicitly installfastestsmallesttextencoderdecoder. When running in Node, be sure to explicitly installws. When using@solana/react, we will presume that you have already installedreact.[
@solana/rpc] #1028eb49ed7Thanks @mcintyre94! - Add a typeSolanaRpcApiFromClusterUrl[
@solana/rpc-api] #978c97df88Thanks @nonergodic! - Expanded the type of several RPC inputs to accept readonly arrays of values[
@solana/transaction-confirmation] #1003 [18e7e2c](https://redirect.github.com/anza-xyz/kit/commit/18e7e2c9d9013be6223932398f40cbc276c4a0e9Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.