Skip to content

Bump subxt-codegen from 0.44.3 to 0.50.2 in /tools/runtime-codegen - #3296

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2
Closed

Bump subxt-codegen from 0.44.3 to 0.50.2 in /tools/runtime-codegen#3296
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps subxt-codegen from 0.44.3 to 0.50.2.

Release notes

Sourced from subxt-codegen's releases.

v0.50.0

[0.50.0] - 2025-12-17

This release version is a deliberately large bump up from 0.44.0 to signify the extent of the changes in this release.

The headline changes are as follows:

  • Subxt is no longer head-of-chain only, and can work with historic blocks, all the way back to genesis. Note: user-provided type information is required to do this for very old (> ~2year old, ie pre-V14 metadata) blocks.
  • The MVP subxt-historic crate has been removed, its functionality having been merged into Subxt.
  • The subxt-core crate has been removed for now to make way for the above. Subxt itself continues to support WASM use cases.
    • For truly no-std functionality, the frame-decode crate now contains much of the underlying logic used throughout Subxt to encode and decode things, and we would like to expand the functionality here.
    • We would like feedback from any users of the subxt-core crate on how they use it, and will use this feedback to drive future work in this area.
  • No more monitoring for runtime updates is needed; Subxt now works across different runtime versions automatically.
  • Errors are no longer one big Error enum; instead different Subxt APIs return different errors, to limit the number of possible errors in any one place. These all convert into subxt::Error so this can continue to be used as a catch-all.
  • Storage APIs have been redone, fixing some issues and giving much more control over iteration, as well as key and value decoding.

There are also a couple of organizational changes which aren't visible:

  • We now follow the name.rs + name/submodule.rs convention instead of the name/mod.rs + name/submodule.rs convention.
  • CI and testing updates hopefully ensure better organization and coverage with a greater number of different feature flags being tested.

This changes have results in many breaking changes across APIs, which I will try my best to summarize below.

A good place to look for a more holistic understanding of what's changes are the examples, both:

For the smaller examples, start with the basic transaction submission example and then have a look at the blocks example and the storage example to give the best broad overview of the changes. Pick and choose others next depending on what suits.

A breakdown of the significant changes follows, to aid migration efforts:

Configuration

Before

Configuration (PolkadotConfig and SubstrateConfig) was type-only and didn't exist at the value level, and so you'd provide it to the client like so:

use subxt::{OnlineClient, PolkadotConfig};
let api = OnlineClient::<PolkadotConfig>::new().await?;

After

Configuration now exists at the value level too. This is because it has been extended with support for historic types and working with historic metadatas and spec versions. The same code as above will continue to work, but it's now possible to instantiate and tweak the configuration and then use _with_config methods to provide it, like so:

use subxt::{OnlineClient, PolkadotConfig};
let config = PolkadotConfig::builder()
.use_historic_types(false)
</tr></table>

... (truncated)

Changelog

Sourced from subxt-codegen's changelog.

[0.50.2] - 2026-07-06

This release fixes an issue whereby setting the genesis hash in the SubstrateConfigBuilder had no effect, and improves the reliability of tests against public archival RPC endpoints.

Changed

  • Update Artifacts (auto-generated) (#2245)
  • tests: Exponential backoff for archival RPC public endpoints (#2244)

Fixed

  • Fix: SubstrateConfigBuilder::set_genesis_hash is a no-op (#2236)

[0.50.1] - 2026-04-27

This release bumps the light-client smoldot crate to the latest version and adds several fixes.

Changed

  • Bump smoldot (#2217)
  • Update rust version (#2218)

Fixed

  • Fix clippy (#2226)
  • VerifySignature => VerifyMultiSignature tx extension rename to fix (#2197)
  • chore: fix some minor issues in the comments (#2211)

[0.50.0] - 2025-12-17

This release version is a deliberately large bump up from 0.44.0 to signify the extent of the changes in this release.

The headline changes are as follows:

  • Subxt is no longer head-of-chain only, and can work with historic blocks, all the way back to genesis. Note: user-provided type information is required to do this for very old (> ~2year old, ie pre-V14 metadata) blocks.
  • The MVP subxt-historic crate has been removed, its functionality having been merged into Subxt.
  • The subxt-core crate has been removed for now to make way for the above. Subxt itself continues to support WASM use cases.
    • For truly no-std functionality, the frame-decode crate now contains much of the underlying logic used throughout Subxt to encode and decode things, and we would like to expand the functionality here.
    • We would like feedback from any users of the subxt-core crate on how they use it, and will use this feedback to drive future work in this area.
  • No more monitoring for runtime updates is needed; Subxt now works across different runtime versions automatically.
  • Errors are no longer one big Error enum; instead different Subxt APIs return different errors, to limit the number of possible errors in any one place. These all convert into subxt::Error so this can continue to be used as a catch-all.
  • Storage APIs have been redone, fixing some issues and giving much more control over iteration, as well as key and value decoding.

There are also a couple of organizational changes which aren't visible:

  • We now follow the name.rs + name/submodule.rs convention instead of the name/mod.rs + name/submodule.rs convention.
  • CI and testing updates hopefully ensure better organization and coverage with a greater number of different feature flags being tested.

This changes have results in many breaking changes across APIs, which I will try my best to summarize below.

A good place to look for a more holistic understanding of what's changes are the examples, both:

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 13, 2026
@socket-security

socket-security Bot commented Jul 13, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedsubxt-codegen@​0.50.21001009310090

View full report

@bkontur

bkontur commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

@dependabot recreate

@dependabot
dependabot Bot force-pushed the dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2 branch 2 times, most recently from c249735 to 96998e7 Compare July 20, 2026 01:11
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2 branch from 96998e7 to 8ac7b74 Compare July 27, 2026 01:10
Bumps [subxt-codegen](https://github.com/paritytech/subxt) from 0.44.3 to 0.50.2.
- [Release notes](https://github.com/paritytech/subxt/releases)
- [Changelog](https://github.com/paritytech/subxt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/subxt/commits)

---
updated-dependencies:
- dependency-name: subxt-codegen
  dependency-version: 0.50.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2 branch from 8ac7b74 to 8d20897 Compare August 3, 2026 01:09
@dependabot @github

dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3311.

@dependabot dependabot Bot closed this Aug 10, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/tools/runtime-codegen/subxt-codegen-0.50.2 branch August 10, 2026 01:16
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant