Skip to content

V0.21.0

Compare
Choose a tag to compare
@lexnv lexnv released this 02 May 16:23
· 827 commits to master since this release
v0.21.0
6d73172

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 the subxt 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

  • Put integration tests behind feature flag (#515)
  • Use minimum amount of dependencies for crates (#524)
  • Export BaseExtrinsicParams (#516)
  • bump jsonrpsee to v0.10.1 (#504)