@solana/web3.js breaking changes
Updated December 4, 2026
On this page
Latest version 3.2.1, released November 10, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@solana/web3.js 3.2.1 breaking changes
- Removed
TransactionsForAddressBase58Transaction
TransactionsForAddressBase58Transaction was removed in @solana/web3.js 3.2.1 npmjs.com - Signature changed
AccountSubscriptionBase64ZstdConfig
Was type AccountSubscriptionBase64ZstdConfig = Readonly<{commitment?: Commitment; encoding: 'base64+zstd';}>; now type AccountSubscriptionBase64ZstdConfig = Readonly<{commitment?: Commitment$1; encoding: 'base64+zstd';}>. npmjs.com - Signature changed
AccountSubscriptionBase64ZstdConfig.commitment
Was commitment?: Commitment; now commitment?: Commitment$1. npmjs.com - Signature changed
AccountSubscriptionBinaryConfig
Was type AccountSubscriptionBinaryConfig = Readonly<{commitment?: Commitment; encoding?: 'base58' | 'base64';}>; now type AccountSubscriptionBinaryConfig = Readonly<{commitment?: Commitment$1; encoding?: 'base58' | 'base64';}>. npmjs.com - Signature changed
AccountSubscriptionBinaryConfig.commitment
Was commitment?: Commitment; now commitment?: Commitment$1. npmjs.com - Signature changed
AccountSubscriptionConfig
Was type AccountSubscriptionConfig = Readonly<{commitment?: Commitment; encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';}>; now type AccountSubscriptionConfig = Readonly<{commitment?: Commitment$1; encoding?: 'base58' |... npmjs.com - Signature changed
AccountSubscriptionConfig.commitment
Was commitment?: Commitment; now commitment?: Commitment$1. npmjs.com - Signature changed
AccountSubscriptionParsedConfig
Was type AccountSubscriptionParsedConfig = Readonly<{commitment?: Commitment; encoding: 'jsonParsed';}>; now type AccountSubscriptionParsedConfig = Readonly<{commitment?: Commitment$1; encoding: 'jsonParsed';}>. npmjs.com - Signature changed
AccountSubscriptionParsedConfig.commitment
Was commitment?: Commitment; now commitment?: Commitment$1. npmjs.com - Signature changed
Blockhash
Was export {Blockhash, Commitment, TransactionVersion, V1TransactionConfig} from '@solana/kit'; now export type {AccountChangeCallback, AccountSubscriptionBase64ZstdConfig, AccountSubscriptionBinaryConfig, AccountSubscriptionConfig... npmjs.com - Signature changed
BlockhashWithExpiryBlockHeight
Was type BlockhashWithExpiryBlockHeight = Readonly<{blockhash: Blockhash; lastValidBlockHeight: bigint;}>; now type BlockhashWithExpiryBlockHeight = Readonly<{blockhash: Blockhash$1; lastValidBlockHeight: bigint;}>. npmjs.com - Signature changed
BlockhashWithExpiryBlockHeight.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockheightBasedTransactionConfirmationStrategy.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSignatures
Was type BlockSignatures = {blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; signatures: Array<string>; blockTime: bigint | null; blockHeight: bigint | null;}; now type BlockSignatures = {blockhash: Blockhash$1... npmjs.com - Signature changed
BlockSignatures.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSignatures.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionAccountsModeBlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionAccountsModeBlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionBase58BlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionBase58BlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionBase64BlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionBase64BlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionJsonBlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionJsonBlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionJsonParsedBlockResponse.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
BlockSubscriptionJsonParsedBlockResponse.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
Commitment
Was export {Blockhash, Commitment, TransactionVersion, V1TransactionConfig} from '@solana/kit'; now export type {AccountChangeCallback, AccountSubscriptionBase64ZstdConfig, AccountSubscriptionBinaryConfig, AccountSubscriptionConfig... npmjs.com - Signature changed
CompiledInnerInstruction
Was type CompiledInnerInstruction = {index: number; instructions: CompiledInstruction[];}; now type CompiledInnerInstruction = {index: number; instructions: (CompiledInstruction & {stackHeight?: number;})[];}. npmjs.com - Signature changed
CompiledInnerInstruction.instructions
Was instructions: CompiledInstruction[]; now instructions: (CompiledInstruction & {stackHeight?: number;})[]. npmjs.com - Signature changed
CompileLegacyArgs
Was type CompileLegacyArgs = {payerKey: PublicKey; instructions: Array<InstructionInput>; recentBlockhash: Blockhash;}; now type CompileLegacyArgs = {payerKey: PublicKey; instructions: Array<InstructionInput>; recentBlockhash... npmjs.com - Signature changed
CompileLegacyArgs.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
CompileV0Args
Was type CompileV0Args = {payerKey: PublicKey; instructions: Array<InstructionInput>; recentBlockhash: Blockhash; addressLookupTableAccounts?: Array<AddressLookupTableAccount>;}; now type CompileV0Args = {payerKey: PublicKey; instructions... npmjs.com - Signature changed
CompileV0Args.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
CompileV1Args
Was type CompileV1Args = {payerKey: PublicKey; instructions: Array<InstructionInput>; recentBlockhash: Blockhash; transactionConfig?: V1TransactionConfig;}; now type CompileV1Args = {payerKey: PublicKey; instructions... npmjs.com - Signature changed
CompileV1Args.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
ConfirmedBlock
Was type ConfirmedBlock = {blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; transactions: Array<{transaction: Transaction; meta: ConfirmedTransactionMeta | null;}>; rewards?: Array<{pubkey: string; lamports: bigint... npmjs.com - Signature changed
ConfirmedBlock.blockhash
Was blockhash: Blockhash; now blockhash: Blockhash$1. npmjs.com - Signature changed
ConfirmedBlock.previousBlockhash
Was previousBlockhash: Blockhash; now previousBlockhash: Blockhash$1. npmjs.com - Signature changed
Connection.getTransactionsForAddress
The base58 encoding option was removed from getTransactionsForAddress in a patch release. Pass encoding: 'base64' instead. npmjs.com - Signature changed
Connection.isBlockhashValid
Was isBlockhashValid(blockhash: Blockhash, rawConfig?: IsBlockhashValidConfig): Promise<ReturnType<IsBlockhashValidApi['isBlockhashValid']>>; now isBlockhashValid(blockhash: Blockhash$1, rawConfig?: IsBlockhashValidConfig)... npmjs.com - Signature changed
DurableNonce
Was type DurableNonce = Blockhash; now type DurableNonce = Blockhash$1. npmjs.com - Signature changed
GetFullTransactionsForAddressConfig
Was type GetFullTransactionsForAddressConfig = GetTransactionsForAddressConfig & {encoding?: 'base58' | 'base64' | 'json' | 'jsonParsed'; maxSupportedTransactionVersion?: GetVersionedTransactionConfig['maxSupportedTransactionVersion']... npmjs.com - Signature changed
GetFullTransactionsForAddressConfig.encoding
Was encoding?: 'base58' | 'base64' | 'json' | 'jsonParsed'; now encoding?: 'base64' | 'json' | 'jsonParsed'. npmjs.com - Signature changed
Message.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
MessageArgs
Was type MessageArgs = {header: MessageHeader; accountKeys: string[] | PublicKey[]; recentBlockhash: Blockhash; instructions: CompiledInstruction[];}; now type MessageArgs = {header: MessageHeader; accountKeys: string[] | PublicKey[]... npmjs.com - Signature changed
MessageArgs.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
MessageV0.recentBlockhash
Was recentBlockhash: Blockhash; now recentBlockhash: Blockhash$1. npmjs.com - Signature changed
MessageV0Args
Was type MessageV0Args = {header: MessageHeader; staticAccountKeys: PublicKey[]; recentBlockhash: Blockhash; compiledInstructions: MessageCompiledInstruction[]; addressTableLookups: MessageAddressTableLookup[];}; now type MessageV0Args =... npmjs.com
And 46 more in this version. Sign up to see every change
@solana/web3.js 3.2.0 breaking changes
- Behavior changed
innerInstructions and token balances are typed as nullable or optional; strict TypeScript users may need to add null checks. github.com - Signature changed
Cluster
Was type Cluster = 'devnet' | 'testnet' | 'mainnet-beta'; now type Cluster = 'devnet' | 'testnet' | 'mainnet' | 'mainnet-beta'. npmjs.com
@solana/web3.js 3.1.0 breaking changes
- Behavior changed
getProgramAccounts
Filters that use an unsupported memcmp encoding are now rejected instead of being accepted. Check that getProgramAccounts filters use supported encodings. github.com - Signature changed
Connection
Was class Connection; now class Connection implements ClientWithGetMinimumBalance, ClientWithRpc<SolanaRpcApi>, ClientWithRpcSubscriptions<SolanaRpcSubscriptionsApi>. npmjs.com
@solana/web3.js 3.0.0 breaking changes
- Removed
airdropFactory
airdropFactory was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
createRpcMessage
createRpcMessage was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
decompileTransactionMessageFetchingLookupTables
decompileTransactionMessageFetchingLookupTables was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
getComputeUnitEstimateForTransactionMessageFactory
getComputeUnitEstimateForTransactionMessageFactory was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
RpcRequest
RpcRequest was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
RpcRequestTransformer
RpcRequestTransformer was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
RpcResponse
RpcResponse was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
RpcResponseData
RpcResponseData was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
RpcResponseTransformer
RpcResponseTransformer was removed in @solana/web3.js 3.0.0 npmjs.com - Removed
sendAndConfirmDurableNonceTransactionFactory
sendAndConfirmDurableNonceTransactionFactory was removed in @solana/web3.js 3.0.0 npmjs.com
And 8 more in this version. Sign up to see every change
@solana/web3.js 3.0.0-rc.3 breaking changes
- Removed
Address
The Address class is gone and PublicKey is the canonical type again, with no alias export. Code importing Address must switch to PublicKey. github.com
@solana/web3.js 3.0.0-rc.1 breaking changes
- Behavior changed
Keypair
Keypair was migrated to KeypairSigner, so code relying on Keypair behavior may need to switch to the signer-based API. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
@solana/web3.js 2.0.0 breaking changes
- Removed
Account
Account was removed in @solana/web3.js 2.0.0 npmjs.com - Removed
AccountBalancePair
AccountBalancePair was removed in @solana/web3.js 2.0.0 npmjs.com
And 294 more in this version.
@solana/web3.js 2.0.0-rc.2 breaking changes
- Removed
feePayerSigner
The feePayerSigner attribute was removed; use the existing feePayer attribute instead. github.com - Removed
I64
The I64 type was removed in favour of bigint. github.com
And 14 more in this version.
@solana/web3.js 2.0.0-rc.0 breaking changes
- Behavior changed
If process.env.NODE_ENV is not set, the package now runs in __DEV__ mode instead of production mode. Code relying on minified production errors must set NODE_ENV. github.com - Signature changed
getComputeUnitEstimateForTransactionMessage
The config parameter is now optional and no longer includes transactionMessage. Callers passing transactionMessage in config must update their code. github.com
And 1 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.