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
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.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] #100318e7e2cThanks @damianac! - Actually fixed a bug where transaction errors discovered during recent transaction confirmation might not be thrown. The fix in #793 was insufficient.[
@solana/transaction-messages] #102681a0eecThanks @mcintyre94! - Export BlockhashLifetimeConstraint and NonceLifetimeConstraint[
@solana/transactions] #10582f7bda8Thanks @mcintyre94! - RemoveTransactionWithLifetimefrom required input type forsignTransactionandpartiallySignTransactionv5.0.0Compare Source
@solana/kit
v5.0.0 (2025-10-23)
Major Changes
@solana/errors,@solana/rpc-types] #9740fed638Thanks @joncinque! -BorshIoErrorsfrom the RPC no longer contain anencodedDataproperty. This property used to hold the underlying error from the serialization library used on the server. This message was always subject to changes in the version of that library, or changes in the choice of library itself. New versions of the server no longer throw the underlying error, so for consistency it has been removed everywhere in Kit.v4.0.0Compare Source
@solana/kit
v4.0.0 (2025-10-08)
Major Changes
[
@solana/react,@solana/signers] #927c035ab8Thanks @mcintyre94! - Update the signer API to return Transaction & TransactionWithLifetimeThe
modifyAndSignTransactionsfunction for aTransactionModifyingSignermust now return aTransaction & TransactionWithLifetime & TransactionWithinSizeLimit. Previously it technically needed to return a type derived from the inputTransactionMessage, but this wasn't checked.If you have written a
TransactionModifyingSignerthen you should review the changes touseWalletAccountTransactionSignerin the React package for guidance. You may need to use the newgetTransactionLifetimeConstraintFromCompiledTransactionMessagefunction to obtain a lifetime for the transaction being returned.If you are using a
TransactionModifyingSignersuch asuseWalletAccountTransactionSigner, then you will now receive a transaction withTransactionWithLifetimewhen you would previously have received a type with a lifetime matching the input transaction message. This was never guaranteed to match at runtime, but we incorrectly returned a stronger type than can be guaranteed. You may need to use the newisTransactionWithBlockhashLifetimeorisTransactionWithDurableNonceLifetimefunctions to check the lifetime type of the returned transaction. For example, if you want to pass it to a function returned bysendAndConfirmTransactionFactorythen you must useisTransactionWithBlockhashLifetimeorassertIsTransactionWithBlockhashLifetimeto check its lifetime first.[
@solana/rpc-graphql,@solana/rpc-subscriptions-api,@solana/rpc-types] #550ce7f91cThanks @steveluscher! - RemovedrentEpochfrom theAccountInfoBasetype. This property is no longer relevant post SIMD-215. Developers whose applications rely on this property being numeric should either eliminate it or hardcode it to18_446_744_073_709_551_615n.Minor Changes
@solana/rpc-transport-http] #88805970dfThanks @prashanFOMO! - The React Native and Node builds now permit you to set theOriginheader. This header continues to be forbidden in the browser build, as it features on the list of forbidden request headers: https://developer.mozilla.org/en-US/docs/Glossary/Forbidden\\_request\\_headerPatch Changes
[
@solana/codecs-core,@solana/errors] #94422f18d0Thanks @mcintyre94! - Add a function to create a decoder that checks the size of the input bytes[
@solana/compat] #906eabeb3aThanks @guibescos! - Fixed a bug where callingfromVersionedTransaction()with aVersionedTransactionthat uses address table lookups would result in a runtime fatal[
@solana/errors,@solana/transactions] #9185408f52Thanks @mcintyre94! - Add a function to extract the lifetime from a CompiledTransactionMessage[
@solana/errors,@solana/transaction-messages,@solana/transactions] #871cb11699Thanks @mcintyre94! - Do not allow decoding transactions with an unsupported version[
@solana/errors] #8739fa8465Thanks @steveluscher! - When you use the@solana/errorsCLI you will now always get version 5.6.2 ofchalkand version 14.0.0 ofcommander, which themselves are zero-dependency.[
@solana/errors,@solana/react] #919c87cadaThanks @mcintyre94! - Update useWalletAccountTransactionSigner to return a LifetimeConstraint for the updated transaction[
@solana/keys] #901f591deaThanks @guibescos! - Added assertion (assertIsSignatureBytes), guard (isSignatureBytes), and coercion (signatureBytes) methods to make it easier to work with callsites that demand aSignatureBytestype[
@solana/kit] #52198bde94Thanks @tao-stones! - Add loadedAccountsDataSize to simulateTransaction response[
@solana/rpc-subscriptions] #9049e8bfe4Thanks @steveluscher! - yExported all of the channel creators that form part ofcreateDefaultSolanaRpcSubscriptionsChannelCreator()so that developers can configure their own custom channels[
@solana/transaction-confirmation] #793cfc1d92Thanks @steveluscher! - Fixed a bug where transaction errors discovered during recent transaction confirmation might not be thrown[
@solana/transaction-messages] #95154d8445Thanks @tanmay5114! -compressTransactionMessageUsingAddressLookupTables()will no longer convert an account to a lookup table account, if the address of that account is used as a program address anywhere in the transaction.[
@solana/transactions] #925af01f27Thanks @mcintyre94! - Add functions to narrow a TransactionWithLifetime to a specific lifetime[
@solana/webcrypto-ed25519-polyfill] #806f254415Thanks @steveluscher! - TheEd25519polyfill now correctly returnsArrayBufferfromexportKey()andsign()rather thanUint8Arrayv3.0.3Compare Source
@solana/kit
v3.0.3 (2025-09-11)
Patch Changes
@solana/errors] #874a085209Thanks @github-actions! - When you use the@solana/errorsCLI you will now always get version 5.6.2 ofchalkand version 14.0.0 ofcommander, which themselves are zero-dependency.v3.0.2Compare Source
@solana/kit
v3.0.2 (2025-09-03)
Patch Changes
@solana/kit] #8216e095fbThanks @github-actions! - Add loadedAccountsDataSize to simulateTransaction responsev3.0.1Compare Source
@solana/kit
v3.0.1 (2025-08-29)
Patch Changes
@solana/transaction-confirmation] #803eb0a122Thanks @github-actions! - Fixed a bug where transaction errors discovered during recent transaction confirmation might not be thrownv3.0.0Compare Source
@solana/kit
v3.0.0 (2025-08-27)
Major Changes
[
@solana/codecs-data-structures] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes the following deprecated functions:getDataEnumEncoder,getDataEnumDecoder,getDataEnumCodec,getScalarEnumEncoder,getScalarEnumDecoderandgetScalarEnumCodec.[
@solana/instructions] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes the following deprecated types:IAccountMeta,IAccountLookupMeta,IInstruction,IInstructionWithAccountsandIInstructionWithData.[
@solana/kit,@solana/transactions] #48200d66fbThanks @lorisleiva! - BREAKING CHANGE: Transactions must now satisfy theSendableTransactiontype before being provided to helper functions that send transactions to the network. On top of ensuring the transaction is fully signed, this type also ensures the transaction is within size limit.[
@solana/kit,@solana/transaction-messages] #594733605dThanks @lorisleiva! - Extract lifetime token fromCompiledTransactionMessage.CompiledTransactionMessage & CompiledTransactionMessageWithLifetimemay now be used to refer to a compiled transaction message with a lifetime token. This enablesCompiledTransactionMessagesto be encoded without the need to specify a mock lifetime token.[
@solana/kit,@solana/signers,@solana/transactions] #462a74ea02Thanks @lorisleiva! - BREAKING CHANGE: TheFullySignedTransactionno longer extends theTransactiontype so it can be composed with other flags that also narrow transaction types. This means, wheneverFullySignedTransactionis used on its own, it will need to be replaced withFullySignedTransaction & Transaction.[
@solana/kit] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes thegetComputeUnitEstimateForTransactionMessageFactorydeprecated function.[
@solana/rpc-spec-types] #73281c83b1Thanks @nonergodic! - BREAKING CHANGE: RenamestringifyJsonWithBigintstostringifyJsonWithBigIntsfor consistency with the rest of the API.[
@solana/signers,@solana/transactions] #5740bd053bThanks @lorisleiva! - Add theTransactionWithLifetimerequirement when signing transactions. This is because, whilst a lifetime may not always be required before compile a transaction message, it is always required when signing a transaction. Otherwise, the transaction signatures will be invalid when one is added later.[
@solana/signers] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes the following deprecated types:ITransactionMessageWithSigners,ITransactionMessageWithFeePayerSigner,ITransactionMessageWithSingleSendingSigner,IAccountSignerMetaandIInstructionWithSigners.[
@solana/transaction-messages] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes the following deprecated types and functions:CompilableTransactionMessage,ITransactionMessageWithFeePayer,assertIsDurableNonceTransactionMessageandisDurableNonceTransaction. Removes the deprecatedreadableIndicesandwritableIndicesproperties from theAddressTableLookuptype — usereadonlyIndexesandwritableIndexesrespectively instead.[
@solana/transactions] #691771f8aeThanks @lorisleiva! - BREAKING CHANGE: Removes theassertTransactionIsFullySigneddeprecated function.[
@solana/transactions] #58155d6b04Thanks @lorisleiva! - Allow transaction messages with no lifetime constraints to be compiled. RenamesTransactionFromCompilableTransactionMessageandSetTransactionLifetimeFromCompilableTransactionMessagetype helpers toTransactionFromTransactionMessageandSetTransactionLifetimeFromTransactionMessagerespectively, to reflect that they can now be used with transaction messages that do not have a lifetime constraint.Minor Changes
[
@solana/errors,@solana/instruction-plans] #6649feba85Thanks @lorisleiva! - AddcreateTransactionPlanExecutorimplementation for theTransactionPlanExecutortype.[
@solana/errors,@solana/instruction-plans] #64801f159aThanks @lorisleiva! - AddcreateTransactionPlannerimplementation for theTransactionPlannertype.[
@solana/instruction-plans] #543358df82Thanks @lorisleiva! - Add newTransactionPlanResulttype with helpers. This type describes the execution results of transaction plans with the same structural hierarchy — capturing the execution status of each transaction message whether executed in parallel, sequentially, or as a single transaction.[
@solana/instruction-plans] #54612d06d1Thanks @lorisleiva! - Add aTransactionPlannerfunction type that defines howInstructionPlansgets planned and turned intoTransactionPlans.[
@solana/instruction-plans] #54724967d1Thanks @lorisleiva! - Add aTransactionPlanExecutorfunction type that defines howTransactionPlansget executed and turned intoTransactionPlanResults.[
@solana/instruction-plans] #5337d48ccdThanks @lorisleiva! - Add a new@solana/instruction-planspackage offering a newInstructionPlantype that aims to describe a set of instructions with constraints on how they should be executed — e.g. sequentially, in parallel, divisible, etc.[
@solana/instruction-plans] #542f79d05aThanks @lorisleiva! - Add newTransactionPlantype with helpers. This type defines a set of transaction messages with constraints on how they should be executed — e.g. sequentially, in parallel, divisible, etc.[
@solana/kit] #725ce8f9dbThanks @lorisleiva! - Re-export@solana/instruction-plansfrom@solana/kit.[
@solana/signers] #58293ae6f9Thanks @lorisleiva! - Allow transaction messages with no lifetime constraints to be signed using the Signer API helpers such assignTransactionMessageWithSignersandpartiallySignTransactionMessageWithSigners. This is because someTransactionSignerssuch asTransactionModifyingSignershave the ability to update the transaction before signing it, meaning that the lifetime constraint may not be known until the transaction is signed.[
@solana/signers,@solana/transaction-messages] #58155d6b04Thanks @lorisleiva! - Allow transaction messages with no lifetime constraints to be compiled. RenamesTransactionFromCompilableTransactionMessageandSetTransactionLifetimeFromCompilableTransactionMessagetype helpers toTransactionFromTransactionMessageandSetTransactionLifetimeFromTransactionMessagerespectively, to reflect that they can now be used with transaction messages that do not have a lifetime constraint.[
@solana/transactions] #583a894d53Thanks @lorisleiva! - Allow transaction messages with no lifetime constraints in transaction size helpers — i.e.getTransactionMessageSize,isTransactionMessageWithinSizeLimitandassertIsTransactionMessageWithinSizeLimit.Patch Changes
@solana/codecs-core] #68598eabacThanks @steveluscher! -padBytesnow strips extra types from the input array, but otherwise returns the same flavour of `Uint8ArrConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.