build(deps): bump @solana/instructions from 2.0.0 to 4.0.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 2
(about 1 month ago)
(about 1 month ago)
(about 1 month ago)
Bumps @solana/instructions from 2.0.0 to 4.0.0.
Release notes
Sourced from @solana/instructions's releases.
v4.0.0
@solana/kitv4.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! - The Ed25519 polyfill now correctly returnsArrayBufferfromexportKey()andsign()rather thanUint8Arrayv3.0.3
... (truncated)
Commits
322edacVersion Packages (#792)54d8445fix: skip compressing program addresses during transaction message compressio...22f18d0Add a function to create a decoder that checks the size of the input bytes (#...5b735feBump@typescript-eslint/eslint-pluginfrom 8.43.0 to 8.46.0 (#947)88b81f0Bump pino from 9.12.0 to 10.0.0 (#949)d0a1231Bump tsx from 4.20.5 to 4.20.6 (#946)acf9764Bump@types/reactfrom 19.2.0 to 19.2.2 (#948)f47f0f1Bump@typescript-eslint/parserfrom 8.44.1 to 8.45.0 (#941)f70b224Bump eslint from 9.35.0 to 9.37.0 (#940)e4f3407Remove the autogenerated API index from the repo (#945)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by solana-devs, a new releaser for @solana/instructions since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10501254 |
| UUID: | 3535902562 |
| Node ID: | PR_kwDONl-Dz86uzzWL |
| Host: | GitHub |
| Repository: | techdev-loop/solana-library-basic |