Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 2025

Bumps @solana/rpc-types from 3.0.3 to 4.0.0.

Release notes

Sourced from @​solana/rpc-types's releases.

v4.0.0

@​solana/kit

v4.0.0 (2025-10-08)

Major Changes

  • [@solana/react, @solana/signers] #927 c035ab8 Thanks @​mcintyre94! - Update the signer API to return Transaction & TransactionWithLifetime

    The modifyAndSignTransactions function for a TransactionModifyingSigner must now return a Transaction & TransactionWithLifetime & TransactionWithinSizeLimit. Previously it technically needed to return a type derived from the input TransactionMessage, but this wasn't checked.

    If you have written a TransactionModifyingSigner then you should review the changes to useWalletAccountTransactionSigner in the React package for guidance. You may need to use the new getTransactionLifetimeConstraintFromCompiledTransactionMessage function to obtain a lifetime for the transaction being returned.

    If you are using a TransactionModifyingSigner such as useWalletAccountTransactionSigner, then you will now receive a transaction with TransactionWithLifetime when 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 new isTransactionWithBlockhashLifetime or isTransactionWithDurableNonceLifetime functions to check the lifetime type of the returned transaction. For example, if you want to pass it to a function returned by sendAndConfirmTransactionFactory then you must use isTransactionWithBlockhashLifetime or assertIsTransactionWithBlockhashLifetime to check its lifetime first.

  • [@solana/rpc-graphql, @solana/rpc-subscriptions-api, @solana/rpc-types] #550 ce7f91c Thanks @​steveluscher! - Removed rentEpoch from the AccountInfoBase type. 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 to 18_446_744_073_709_551_615n.

Minor Changes

Patch Changes

  • [@solana/codecs-core, @solana/errors] #944 22f18d0 Thanks @​mcintyre94! - Add a function to create a decoder that checks the size of the input bytes

  • [@solana/compat] #906 eabeb3a Thanks @​guibescos! - Fixed a bug where calling fromVersionedTransaction() with a VersionedTransaction that uses address table lookups would result in a runtime fatal

  • [@solana/errors, @solana/transactions] #918 5408f52 Thanks @​mcintyre94! - Add a function to extract the lifetime from a CompiledTransactionMessage

  • [@solana/errors, @solana/transaction-messages, @solana/transactions] #871 cb11699 Thanks @​mcintyre94! - Do not allow decoding transactions with an unsupported version

  • [@solana/errors] #873 9fa8465 Thanks @​steveluscher! - When you use the @solana/errors CLI you will now always get version 5.6.2 of chalk and version 14.0.0 of commander, which themselves are zero-dependency.

  • [@solana/errors, @solana/react] #919 c87cada Thanks @​mcintyre94! - Update useWalletAccountTransactionSigner to return a LifetimeConstraint for the updated transaction

  • [@solana/keys] #901 f591dea Thanks @​guibescos! - Added assertion (assertIsSignatureBytes), guard (isSignatureBytes), and coercion (signatureBytes) methods to make it easier to work with callsites that demand a SignatureBytes type

  • [@solana/kit] #521 98bde94 Thanks @​tao-stones! - Add loadedAccountsDataSize to simulateTransaction response

  • [@solana/rpc-subscriptions] #904 9e8bfe4 Thanks @​steveluscher! - yExported all of the channel creators that form part of createDefaultSolanaRpcSubscriptionsChannelCreator() so that developers can configure their own custom channels

  • [@solana/transaction-confirmation] #793 cfc1d92 Thanks @​steveluscher! - Fixed a bug where transaction errors discovered during recent transaction confirmation might not be thrown

  • [@solana/transaction-messages] #951 54d8445 Thanks @​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] #925 af01f27 Thanks @​mcintyre94! - Add functions to narrow a TransactionWithLifetime to a specific lifetime

  • [@solana/webcrypto-ed25519-polyfill] #806 f254415 Thanks @​steveluscher! - The Ed25519 polyfill now correctly returns ArrayBuffer from exportKey() and sign() rather than Uint8Array

Commits
  • 322edac Version Packages (#792)
  • 54d8445 fix: skip compressing program addresses during transaction message compressio...
  • 22f18d0 Add a function to create a decoder that checks the size of the input bytes (#...
  • 5b735fe Bump @​typescript-eslint/eslint-plugin from 8.43.0 to 8.46.0 (#947)
  • 88b81f0 Bump pino from 9.12.0 to 10.0.0 (#949)
  • d0a1231 Bump tsx from 4.20.5 to 4.20.6 (#946)
  • acf9764 Bump @​types/react from 19.2.0 to 19.2.2 (#948)
  • f47f0f1 Bump @​typescript-eslint/parser from 8.44.1 to 8.45.0 (#941)
  • f70b224 Bump eslint from 9.35.0 to 9.37.0 (#940)
  • e4f3407 Remove the autogenerated API index from the repo (#945)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 9, 2025
@github-actions github-actions bot enabled auto-merge (squash) October 9, 2025 09:29
Bumps [@solana/rpc-types](https://github.com/anza-xyz/kit) from 3.0.3 to 4.0.0.
- [Release notes](https://github.com/anza-xyz/kit/releases)
- [Commits](anza-xyz/kit@v3.0.3...v4.0.0)

---
updated-dependencies:
- dependency-name: "@solana/rpc-types"
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/solana/rpc-types-4.0.0 branch from e1ae162 to 6553965 Compare October 9, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants