---
title: "solana 0.42.0 Breaking Changes on PyPI | Since.dev"
description: "What each solana release removed, renamed or changed: 18 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/solana
last_updated: 2026-12-04
---

# solana breaking changes

solana 0.42.0 (November 11, 2026) is its newest release with breaking changes, 18 of them. The first: Removed solana.rpc.models.ClusterUrls.mainnet_beta. Every breaking API change we have recorded in solana on PyPI: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.42.0`, released November 11, 2026. [Source repository](https://github.com/michaelhly/solana-py)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## solana 0.42.0 breaking changes

solana 0.42.0, released November 11, 2026: 18 breaking changes.

- **Removed** `solana.rpc.models.ClusterUrls.mainnet_beta`  

ClusterUrls.mainnet_beta was removed in solana 0.42.0 [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Removed** `solana.rpc.models.Finalized`  

solana.rpc.models.Finalized was removed in solana 0.42.0 [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Behavior changed** `send_raw_transaction`  

Preflight and confirmation now follow the client commitment instead of always using Finalized when TxOpts(skip_confirmation=False) is passed. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Behavior changed** `send_transaction`  

Preflight and confirmation now follow the client commitment instead of always using Finalized when TxOpts(skip_confirmation=False) is passed. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Default changed** `account_subscribe`  

Account data is now sent base64-encoded by default instead of the server's base58 default. Code that parsed base58 data must request that encoding explicitly. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Default changed** `get_program_accounts`  

Account data is now returned base64-encoded by default instead of base58. Code that parsed base58 data must request that encoding explicitly. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Default changed** `program_subscribe`  

Account data is now sent base64-encoded by default instead of the server's base58 default. Code that parsed base58 data must request that encoding explicitly. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Default changed** `TxOpts.preflight_commitment`  

The default now falls back to the client commitment. Code that relied on the implicit Finalized must pass it explicitly. [github.com](https://github.com/michaelhly/solana-py/blob/v0.42.0/CHANGELOG.md)
- **Signature changed** `solana.rpc.async_api.AsyncClient.get_program_accounts`  

Was async def get_program_accounts(self, pubkey: Pubkey, commitment: Commitment | None = None, encoding: str | None = None, data_slice: DataSliceOptsModel | None = None, filters: Sequence\[int | MemcmpOptsModel\] | None = None) ->... [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.async_api.JsonRpcErrorParser.__call__`  

Was def \_\_call\_\_(self, error: JsonRpcErrorObject, \*, request_id: str | int, method: str | None = None) -> Exception; now def \_\_call\_\_(self, error: JsonRpcErrorObject, \*, request_id: str | int | None, method: str | None = None) -> Exception. [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.async_api.JsonRpcResponseEnvelope.id`  

Was id: str | int; now id: str | int | None. [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.jsonrpc.default_jsonrpc_error_parser`  

Was def default_jsonrpc_error_parser(error: JsonRpcErrorObject, \*, request_id: str | int, method: str | None = None) -> SolanaJsonRpcError; now def default_jsonrpc_error_parser(error: JsonRpcErrorObject, \*, request_id: str | int | None... [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.models.TxOpts.preflight_commitment`  

Was preflight_commitment: Commitment; now preflight_commitment: Commitment | None. [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.websocket_api.SolanaWsClient.__aiter__`  

Was async def \_\_aiter\_\_(self) -> AsyncIterator\[Notification\]; now async def \_\_aiter\_\_(self) -> AsyncIterator\[Notification | SignatureReceivedNotification\]. [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.websocket_api.SolanaWsClient.account_subscribe`  

Was async def account_subscribe(self, \*, pubkey: Pubkey, commitment: Commitment | None = None, encoding: str | None = None, data_slice: DataSliceOpts | None = None, min_context_slot: int | None = None) -> Subscription; now async def... [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.websocket_api.SolanaWsClient.program_subscribe`  

Was async def program_subscribe(self, \*, program_id: Pubkey, commitment: Commitment | None = None, encoding: str | None = None, data_slice: DataSliceOpts | None = None, min_context_slot: int | None = None, filters: Sequence\[int |... [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.rpc.websocket_api.SolanaWsClient.recv`  

Was async def recv(self) -> Notification; now async def recv(self) -> Notification | SignatureReceivedNotification. [pypi.org](https://pypi.org/project/solana/0.42.0/)
- **Signature changed** `solana.utils.security_txt.SecurityTxt.__init__`  

Was def \_\_init\_\_(self, name: str, project_url: str, contacts: str, policy: str, preferred_languages: str | None = None, source_code: str | None = None, encryption: str | None = None, auditors: str | None = None, acknowledgements: str |... [pypi.org](https://pypi.org/project/solana/0.42.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
