Skip to content

build(deps): bump solana from 0.36.12 to 0.40.0 in /clients/py#766

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/clients/py/solana-0.40.0
Open

build(deps): bump solana from 0.36.12 to 0.40.0 in /clients/py#766
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/clients/py/solana-0.40.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps solana from 0.36.12 to 0.40.0.

Release notes

Sourced from solana's releases.

v0.40.0

Added

  • Add AsyncClient.send_rpc_request(...) for custom JSON-RPC methods backed by Pydantic request serializers, result models, and an optional custom JSON-RPC error parser hook.
  • Add transaction_details, rewards, and commitment parameters to AsyncClient.get_block [(#684)](michaelhly/solana-py#684).
  • Add an exclude_non_circulating_accounts_list parameter to AsyncClient.get_supply [(#684)](michaelhly/solana-py#684).

Removed

  • BREAKING: Remove deprecated Client (sync RPC client) — use solana.rpc.async_api.AsyncClient instead.
  • BREAKING: Remove deprecated Token (sync SPL Token client) and AsyncToken (async SPL Token client) — use AsyncClient with spl.token.instructions directly instead.
  • BREAKING: Remove deprecated _TokenCore, AccountInfo, and MintInfo from spl.token.core — use spl.token.models instead.
  • BREAKING: Remove sync HTTP provider (solana.rpc.providers.http.HTTPProvider) and sync base provider (solana.rpc.providers.base.BaseProvider) — use solana.rpc.providers.async_http.AsyncHTTPProvider instead.
  • BREAKING: Remove deprecated NamedTuple compatibility types from solana.rpc.types, solana.vote_program, spl.memo.instructions, and spl.token.instructions. Use model types from solana.rpc.models, solana.models, spl.memo.models, and spl.token.models.
  • BREAKING: Remove PydanticModel.from_namedtuple and all API boundary coercion paths. RPC and instruction helpers now accept only the Pydantic model params/options types.
  • Remove HTTP batch request plumbing from the HTTP provider path; use individual async requests and compose concurrency with asyncio.gather when needed.
  • Remove integration test test_http_client.py and unit test test_client.py.
  • Remove obsolete documentation pages (docs/rpc/api.md, docs/spl/token/client.md, docs/spl/token/async_client.md, docs/spl/token/core.md).
  • Remove obsolete docs/rpc/types.md.
  • Update random_funded_keypair fixture to be async.

Changed

  • Simplify AsyncClient RPC plumbing by removing unnecessary internal abstractions while preserving the existing solders request/response path for built-in RPC methods.
  • Rewrite test_spl_token.py to use AsyncClient with spl.token.instructions directly instead of the removed Token/AsyncToken classes.
  • Rewrite test_spl_memo.py to use AsyncClient with spl.memo.instructions directly instead of the removed Client class.
  • Update README.md code examples to use AsyncClient.
  • Update mkdocs.yml navigation to remove deleted doc pages.
  • Update docs/cookbook/token-operations/get-token-mint.md to import from spl.token.models instead of spl.token.core.

Docs

Full Changelog: https://github.com/michaelhly/solana-py/blob/master/CHANGELOG.md


Thanks to @​kingsznhone for driving the bulk of this release.

v0.39.0

Changed

  • BREAKING: Refactor Commitment from NewType("Commitment", str) to StrEnum. The valid values are now Commitment.PROCESSED, Commitment.CONFIRMED, and Commitment.FINALIZED. Module-level aliases (Processed, Confirmed, Finalized) are preserved for backward compatibility.
  • BREAKING: Remove deprecated commitment constants Max, Root, Single, and Recent. These values were never valid on the current Solana wire protocol and have emitted deprecation warnings since earlier versions.
  • BREAKING: Drop Python 3.10 support — the minimum required Python version is now 3.11.
  • Add deprecated marks to Client, Token, and AsyncToken

Added

... (truncated)

Changelog

Sourced from solana's changelog.

[0.40.0] - 2026-06-27

Added

  • Add AsyncClient.send_rpc_request(...) for custom JSON-RPC methods backed by Pydantic request serializers, result models, and an optional custom JSON-RPC error parser hook.
  • Add transaction_details, rewards, and commitment parameters to AsyncClient.get_block [(#684)](michaelhly/solana-py#684).
  • Add an exclude_non_circulating_accounts_list parameter to AsyncClient.get_supply [(#684)](michaelhly/solana-py#684).

Removed

  • BREAKING: Remove deprecated Client (sync RPC client) — use solana.rpc.async_api.AsyncClient instead.
  • BREAKING: Remove deprecated Token (sync SPL Token client) and AsyncToken (async SPL Token client) — use AsyncClient with spl.token.instructions directly instead.
  • BREAKING: Remove deprecated _TokenCore, AccountInfo, and MintInfo from spl.token.core — use spl.token.models instead.
  • BREAKING: Remove sync HTTP provider (solana.rpc.providers.http.HTTPProvider) and sync base provider (solana.rpc.providers.base.BaseProvider) — use solana.rpc.providers.async_http.AsyncHTTPProvider instead.
  • BREAKING: Remove deprecated NamedTuple compatibility types from solana.rpc.types, solana.vote_program, spl.memo.instructions, and spl.token.instructions. Use model types from solana.rpc.models, solana.models, spl.memo.models, and spl.token.models.
  • BREAKING: Remove PydanticModel.from_namedtuple and all API boundary coercion paths. RPC and instruction helpers now accept only the Pydantic model params/options types.
  • Remove HTTP batch request plumbing from the HTTP provider path; use individual async requests and compose concurrency with asyncio.gather when needed.
  • Remove integration test test_http_client.py and unit test test_client.py.
  • Remove obsolete documentation pages (docs/rpc/api.md, docs/spl/token/client.md, docs/spl/token/async_client.md, docs/spl/token/core.md).
  • Remove obsolete docs/rpc/types.md.
  • Update random_funded_keypair fixture to be async.

Changed

  • Simplify AsyncClient RPC plumbing by removing unnecessary internal abstractions while preserving the existing solders request/response path for built-in RPC methods.
  • Rewrite test_spl_token.py to use AsyncClient with spl.token.instructions directly instead of the removed Token/AsyncToken classes.
  • Rewrite test_spl_memo.py to use AsyncClient with spl.memo.instructions directly instead of the removed Client class.
  • Update README.md code examples to use AsyncClient.
  • Update mkdocs.yml navigation to remove deleted doc pages.
  • Update docs/cookbook/token-operations/get-token-mint.md to import from spl.token.models instead of spl.token.core.

Docs

[0.39.0] - 2026-06-22

Changed

  • BREAKING: Refactor Commitment from NewType("Commitment", str) to StrEnum. The valid values are now Commitment.PROCESSED, Commitment.CONFIRMED, and Commitment.FINALIZED. Module-level aliases (Processed, Confirmed, Finalized) are preserved for backward compatibility.
  • BREAKING: Remove deprecated commitment constants Max, Root, Single, and Recent. These values were never valid on the current Solana wire protocol and have emitted deprecation warnings since earlier versions.
  • BREAKING: Drop Python 3.10 support — the minimum required Python version is now 3.11.
  • Add deprecated marks to Client, Token, and AsyncToken

Added

  • Add get_commitment_score(commitment) helper to rank commitment levels (0–2).
  • Add commitment_comparator(a, b) helper to compare two commitment levels.

Removed

... (truncated)

Commits

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 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)

Bumps [solana](https://github.com/michaelhly/solana-py) from 0.36.12 to 0.40.0.
- [Release notes](https://github.com/michaelhly/solana-py/releases)
- [Changelog](https://github.com/michaelhly/solana-py/blob/master/CHANGELOG.md)
- [Commits](michaelhly/solana-py@v0.36.12...v0.40.0)

---
updated-dependencies:
- dependency-name: solana
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 29, 2026
@github-actions github-actions Bot enabled auto-merge (squash) June 29, 2026 09:05
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants