Bump subxt from 0.20.0 to 0.21.0
Created by: dependabot[bot]
Bumps subxt from 0.20.0 to 0.21.0.
Release notes
Sourced from subxt's releases.
V0.21.0
This release adds static metadata validation, via comparing the statically generated API with the target node's runtime metadata. This implies a breaking change in the subxt API, as the user receives an error when interacting with an incompatible API at the storage, call, and constant level.
The
subxt-cli
can check the compatibility of multiple runtime nodes, either full metadata compatibility or compatibility at the pallet level.Users can define custom derives for specific generated types of the API via adding the
derive_for_type
configuration to thesubxt
attribute.The metadata documentation is propagated to the statically generated API.
Previously developers wanting to build the subxt crate needed the
substrate
binary dependency in their local environment. This restriction is removed via moving the integration tests to a dedicated crate.The number of dependencies is reduced for individual subxt crates.
Fixed
- test-runtime: Add exponential backoff (#518)
Added
- Add custom derives for specific generated types (#520)
- Static Metadata Validation (#478)
- Propagate documentation to runtime API (#511)
- Add
tidext
in real world usage (#508)- Add system health rpc (#510)
Changed
Changelog
Sourced from subxt's changelog.
[0.21.0] - 2022-05-02
This release adds static metadata validation, via comparing the statically generated API with the target node's runtime metadata. This implies a breaking change in the subxt API, as the user receives an error when interacting with an incompatible API at the storage, call, and constant level.
The
subxt-cli
can check the compatibility of multiple runtime nodes, either full metadata compatibility or compatibility at the pallet level.Users can define custom derives for specific generated types of the API via adding the
derive_for_type
configuration to thesubxt
attribute.The metadata documentation is propagated to the statically generated API.
Previously developers wanting to build the subxt crate needed the
substrate
binary dependency in their local environment. This restriction is removed via moving the integration tests to a dedicated crate.The number of dependencies is reduced for individual subxt crates.
Fixed
- test-runtime: Add exponential backoff (#518)
Added
- Add custom derives for specific generated types (#520)
- Static Metadata Validation (#478)
- Propagate documentation to runtime API (#511)
- Add
tidext
in real world usage (#508)- Add system health rpc (#510)
Changed
Commits
-
6d73172
Release v0.21.0 (#525) -
5c17afb
Put integration tests behind feature flag (#515) -
b32cd32
Use minimum amount of dependencies for crates (#524) -
24317b4
Add custom derives for specific generated types (#520) -
1fd1eee
Static Metadata Validation (#478) -
5605fbd
test-runtime: Add exponential backoff (#518) -
8afb2e5
ExportBaseExtrinsicParams
(#516) -
698f024
Propagate documentation to runtime API (#511) -
e0439c9
Addtidext
in real world usage (#508) -
b9650a5
Add system health rpc (#510) - Additional commits viewable in compare view
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 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)