paritytech / parity-bridges-common

Collection of Useful Bridge Building Tools 🏗️
GNU General Public License v3.0
271 stars 130 forks source link

Bump subxt from 0.37.0 to 0.38.0 #3070

Open dependabot[bot] opened 3 weeks ago

dependabot[bot] commented 3 weeks ago

Bumps subxt from 0.37.0 to 0.38.0.

Release notes

Sourced from subxt's releases.

v0.38.0

[0.38.0] - 2024-10-24

This release doesn't introduce any substantial breaking changes and focuses primarily on incremental improvements, testing and bug fixes. A few of the highlights include:

  • #1785: Support decoding V5 extrinsics in blocks (currently Subxt will still submit V4 extrinsics). This also unifies our extrinsic decoding logic into one place.
  • #1802: Stabilizing the subxt::backend::unstable::UnstableBackend (it's now called subxt::backend::chain_head::ChainHeadBackend). This backend can be used to interact with the modern chainHead RPC methods exposed by Smoldot and compliant RPC nodes. See this example.
  • #1803: Stabilizing the reconnecting-rpc-client. See this example.
  • #1720: A nice little QoL improvement if you have the raw runtime WASM and would like to generate an interface directly from that (ie with #[subx(runtime_path = "path/to/runtime.wasm")]).
  • #1661: Support loading keys directly from the PolkadotJS JSON to be used in Subxt.
  • #1638: Improve support for Eth style chains by defining a 20-byte account ID type directly in subxt-core. See this example.

The notable changes in this release are as follows:

Added

  • add reconnecting tests for unstable_backend (#1765)
  • add support for generating metadata from runtime wasm files (#1720)
  • support loading keys from Polkadot-JS accounts (#1661)
  • allow tx payloads to be boxed (#1690)
  • add hash method to ExtrinsicDetails (#1676)
  • expose secret_key method for ecdsa::Keypair and eth::Keypair (#1628)
  • add 20-byte account id to subxt_core (#1638)

Changed

  • make it clearer which extrinsic failed to decode (#1835)
  • chore(deps): bump frame-metadata from 16 to 17 (#1836)
  • chore(deps): bump scale family crates, primitive-types and impl-serde (#1832)
  • chore(deps): replace instant with web-time (#1830)
  • deps: use polkadot-sdk umbrella crate (#1786)
  • stabilize reconnecting-rpc-client (#1803)
  • stabilize chainhead backend (#1802)
  • derive serialize on more types (#1797)
  • use frame-decode for core extrinsic decode logic (including v5 support) (#1785)
  • reconn-rpc-client: parse URL before connecting (#1789)
  • update proc_macro_error to proc_macro_error2 (#1767)
  • chore(deps): update Smoldot to the latest version (#1400)
  • remove unneeded ?Sized bound and replace never type with () (#1758)
  • improve test coverage for legacy Backend impl (#1751)
  • add integration tests for unstable-reconnecting-rpc-client (#1711)
  • replace reconnecting-jsonrpsee-ws-client with subxt-reconnecting-rpc-client (#1705)
  • allow PartialExtrinsic to be held across await points (#1658)
  • chore(deps): bump jsonrpsee from 0.22.5 to 0.23.1 (#1656)

Fixed

  • fix stripping metadata in the case where enums like RuntimeCall are handed back (#1774)
  • fix: defalt-feature -> default-features Cargo.toml (#1828)
  • avoid hang by notifying subscribers when the backend is closed (#1817)
  • fix: error message on rpc errors (#1804)
  • docs: fix typos (#1776)
  • examples: fix reconnecting logging target (#1733)

... (truncated)

Changelog

Sourced from subxt's changelog.

[0.38.0] - 2024-10-24

This release doesn't introduce any substantial breaking changes and focuses primarily on incremental improvements, testing and bug fixes. A few of the highlights include:

  • #1785: Support decoding V5 extrinsics in blocks (currently Subxt will still submit V4 extrinsics). This also unifies our extrinsic decoding logic into one place.
  • #1802: Stabilizing the subxt::backend::unstable::UnstableBackend (it's now called subxt::backend::chain_head::ChainHeadBackend). This backend can be used to interact with the modern chainHead RPC methods exposed by Smoldot and compliant RPC nodes. See this example.
  • #1803: Stabilizing the reconnecting-rpc-client. See this example.
  • #1720: A nice little QoL improvement if you have the raw runtime WASM and would like to generate an interface directly from that (ie with #[subx(runtime_path = "path/to/runtime.wasm")]).
  • #1661: Support loading keys directly from the PolkadotJS JSON to be used in Subxt.
  • #1638: Improve support for Eth style chains by defining a 20-byte account ID type directly in subxt-core. See this example.

The notable changes in this release are as follows:

Added

  • add reconnecting tests for unstable_backend (#1765)
  • add support for generating metadata from runtime wasm files (#1720)
  • support loading keys from Polkadot-JS accounts (#1661)
  • allow tx payloads to be boxed (#1690)
  • add hash method to ExtrinsicDetails (#1676)
  • expose secret_key method for ecdsa::Keypair and eth::Keypair (#1628)
  • add 20-byte account id to subxt_core (#1638)

Changed

  • make it clearer which extrinsic failed to decode (#1835)
  • chore(deps): bump frame-metadata from 16 to 17 (#1836)
  • chore(deps): bump scale family crates, primitive-types and impl-serde (#1832)
  • chore(deps): replace instant with web-time (#1830)
  • deps: use polkadot-sdk umbrella crate (#1786)
  • stabilize reconnecting-rpc-client (#1803)
  • stabilize chainhead backend (#1802)
  • derive serialize on more types (#1797)
  • use frame-decode for core extrinsic decode logic (including v5 support) (#1785)
  • reconn-rpc-client: parse URL before connecting (#1789)
  • update proc_macro_error to proc_macro_error2 (#1767)
  • chore(deps): update Smoldot to the latest version (#1400)
  • remove unneeded ?Sized bound and replace never type with () (#1758)
  • improve test coverage for legacy Backend impl (#1751)
  • add integration tests for unstable-reconnecting-rpc-client (#1711)
  • replace reconnecting-jsonrpsee-ws-client with subxt-reconnecting-rpc-client (#1705)
  • allow PartialExtrinsic to be held across await points (#1658)
  • chore(deps): bump jsonrpsee from 0.22.5 to 0.23.1 (#1656)

Fixed

  • fix stripping metadata in the case where enums like RuntimeCall are handed back (#1774)
  • fix: defalt-feature -> default-features Cargo.toml (#1828)
  • avoid hang by notifying subscribers when the backend is closed (#1817)
  • fix: error message on rpc errors (#1804)
  • docs: fix typos (#1776)
  • examples: fix reconnecting logging target (#1733)
  • docs: fix spelling issues (#1699)

... (truncated)

Commits
  • 9640ecc Prep to release v0.38.0 (#1841)
  • dc0795b move fetch metadata to a separate crate subxt_utils_fetchmetadata (#1829)
  • f358a38 chore(deps): bump subxt signer deps (#1840)
  • 882e9df chore(deps): bump frame-decode from 0.4.0 to 0.5.0 (#1839)
  • 15cf58f Make it clearer which extrinsic failed to decode (#1835)
  • 2f7ea3f chore(deps): bump frame-metadata from 16 to 17 (#1836)
  • 50fc73a ci: run against older substrate/polkadot ref (#1838)
  • 03f63ef chore(deps): bump futures from 0.3.30 to 0.3.31 (#1837)
  • 9b5523e chore(deps): bump scale family crates, primitive-types and impl-serde ...
  • 418bd88 chore(deps): replace instant with web-time (#1830)
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 show 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)
bkontur commented 3 weeks ago

@dependabot recreate