Skip to content

Commit 9640ecc

Browse files
authored
Prep to release v0.38.0 (#1841)
* Prep to release v0.38.0 * Remove entry from changelog
1 parent dc0795b commit 9640ecc

File tree

6 files changed

+589
-763
lines changed

6 files changed

+589
-763
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,59 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.38.0] - 2024-10-24
8+
9+
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:
10+
11+
- [#1785](https://github.com/paritytech/subxt/pull/1785): Support decoding V5 extrinsics in blocks (currently Subxt will still submit V4 extrinsics). This also unifies our extrinsic decoding logic into one place.
12+
- [#1802](https://github.com/paritytech/subxt/pull/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](https://github.com/paritytech/subxt/blob/master/subxt/examples/setup_rpc_chainhead_backend.rs).
13+
- [#1803](https://github.com/paritytech/subxt/pull/1803): Stabilizing the `reconnecting-rpc-client`. See [this example](https://github.com/paritytech/subxt/blob/master/subxt/examples/setup_reconnecting_rpc_client.rs).
14+
- [#1720](https://github.com/paritytech/subxt/pull/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")]`).
15+
- [#1661](https://github.com/paritytech/subxt/pull/1661): Support loading keys directly from the PolkadotJS JSON to be used in Subxt.
16+
- [#1638](https://github.com/paritytech/subxt/pull/1638): Improve support for Eth style chains by defining a 20-byte account ID type directly in `subxt-core`. See [this example](https://github.com/paritytech/subxt/blob/master/subxt/examples/tx_basic_frontier.rs).
17+
18+
The notable changes in this release are as follows:
19+
20+
### Added
21+
- add reconnecting tests for unstable_backend ([#1765](https://github.com/paritytech/subxt/pull/1765))
22+
- add support for generating metadata from runtime wasm files ([#1720](https://github.com/paritytech/subxt/pull/1720))
23+
- support loading keys from Polkadot-JS accounts ([#1661](https://github.com/paritytech/subxt/pull/1661))
24+
- allow tx payloads to be boxed ([#1690](https://github.com/paritytech/subxt/pull/1690))
25+
- add hash method to ExtrinsicDetails ([#1676](https://github.com/paritytech/subxt/pull/1676))
26+
- expose `secret_key` method for `ecdsa::Keypair` and `eth::Keypair` ([#1628](https://github.com/paritytech/subxt/pull/1628))
27+
- add 20-byte account id to subxt_core ([#1638](https://github.com/paritytech/subxt/pull/1638))
28+
29+
### Changed
30+
- make it clearer which extrinsic failed to decode ([#1835](https://github.com/paritytech/subxt/pull/1835))
31+
- chore(deps): bump frame-metadata from 16 to 17 ([#1836](https://github.com/paritytech/subxt/pull/1836))
32+
- chore(deps): bump `scale family crates`, `primitive-types` and `impl-serde` ([#1832](https://github.com/paritytech/subxt/pull/1832))
33+
- chore(deps): replace `instant` with `web-time` ([#1830](https://github.com/paritytech/subxt/pull/1830))
34+
- deps: use polkadot-sdk umbrella crate ([#1786](https://github.com/paritytech/subxt/pull/1786))
35+
- stabilize reconnecting-rpc-client ([#1803](https://github.com/paritytech/subxt/pull/1803))
36+
- stabilize chainhead backend ([#1802](https://github.com/paritytech/subxt/pull/1802))
37+
- derive serialize on more types ([#1797](https://github.com/paritytech/subxt/pull/1797))
38+
- use frame-decode for core extrinsic decode logic (including v5 support) ([#1785](https://github.com/paritytech/subxt/pull/1785))
39+
- reconn-rpc-client: parse URL before connecting ([#1789](https://github.com/paritytech/subxt/pull/1789))
40+
- update proc_macro_error to proc_macro_error2 ([#1767](https://github.com/paritytech/subxt/pull/1767))
41+
- chore(deps): update Smoldot to the latest version ([#1400](https://github.com/paritytech/subxt/pull/1400))
42+
- remove unneeded `?Sized` bound and replace never type with `()` ([#1758](https://github.com/paritytech/subxt/pull/1758))
43+
- improve test coverage for legacy `Backend` impl ([#1751](https://github.com/paritytech/subxt/pull/1751))
44+
- add integration tests for `unstable-reconnecting-rpc-client` ([#1711](https://github.com/paritytech/subxt/pull/1711))
45+
- replace `reconnecting-jsonrpsee-ws-client` with `subxt-reconnecting-rpc-client` ([#1705](https://github.com/paritytech/subxt/pull/1705))
46+
- allow PartialExtrinsic to be held across await points ([#1658](https://github.com/paritytech/subxt/pull/1658))
47+
- chore(deps): bump jsonrpsee from 0.22.5 to 0.23.1 ([#1656](https://github.com/paritytech/subxt/pull/1656))
48+
49+
### Fixed
50+
- fix stripping metadata in the case where enums like RuntimeCall are handed back ([#1774](https://github.com/paritytech/subxt/pull/1774))
51+
- fix: `defalt-feature` -> `default-features` Cargo.toml ([#1828](https://github.com/paritytech/subxt/pull/1828))
52+
- avoid hang by notifying subscribers when the backend is closed ([#1817](https://github.com/paritytech/subxt/pull/1817))
53+
- fix: error message on rpc errors ([#1804](https://github.com/paritytech/subxt/pull/1804))
54+
- docs: fix typos ([#1776](https://github.com/paritytech/subxt/pull/1776))
55+
- examples: fix reconnecting logging target ([#1733](https://github.com/paritytech/subxt/pull/1733))
56+
- docs: fix spelling issues ([#1699](https://github.com/paritytech/subxt/pull/1699))
57+
- chore: fix some comments ([#1697](https://github.com/paritytech/subxt/pull/1697))
58+
- codegen: Fix decode error by adding `#[codec(dumb_trait_bound)]` ([#1630](https://github.com/paritytech/subxt/pull/1630))
59+
760
## [0.37.0] - 2024-05-28
861

962
This release mainly adds support for the sign extension `CheckMetadataHash` and fixes a regression introduced in v0.36.0

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ resolver = "2"
3434
[workspace.package]
3535
authors = ["Parity Technologies <[email protected]>"]
3636
edition = "2021"
37-
version = "0.37.0"
37+
version = "0.38.0"
3838
rust-version = "1.74.0"
3939
license = "Apache-2.0 OR GPL-3.0"
4040
repository = "https://github.com/paritytech/subxt"
@@ -139,14 +139,14 @@ tokio-util = "0.7.12"
139139
polkadot-sdk = { version = "0.7", default-features = false }
140140

141141
# Subxt workspace crates:
142-
subxt = { version = "0.37.0", path = "subxt", default-features = false }
143-
subxt-core = { version = "0.37.0", path = "core", default-features = false }
144-
subxt-utils-fetchmetadata = { version = "0.37.0", path = "utils/fetch-metadata", default-features = false }
145-
subxt-macro = { version = "0.37.0", path = "macro" }
146-
subxt-metadata = { version = "0.37.0", path = "metadata", default-features = false }
147-
subxt-codegen = { version = "0.37.0", path = "codegen" }
148-
subxt-signer = { version = "0.37.0", path = "signer", default-features = false }
149-
subxt-lightclient = { version = "0.37.0", path = "lightclient", default-features = false }
142+
subxt = { version = "0.38.0", path = "subxt", default-features = false }
143+
subxt-core = { version = "0.38.0", path = "core", default-features = false }
144+
subxt-macro = { version = "0.38.0", path = "macro" }
145+
subxt-metadata = { version = "0.38.0", path = "metadata", default-features = false }
146+
subxt-codegen = { version = "0.38.0", path = "codegen" }
147+
subxt-signer = { version = "0.38.0", path = "signer", default-features = false }
148+
subxt-lightclient = { version = "0.38.0", path = "lightclient", default-features = false }
149+
subxt-utils-fetchmetadata = { version = "0.38.0", path = "utils/fetch-metadata", default-features = false }
150150
test-runtime = { path = "testing/test-runtime" }
151151
substrate-runner = { path = "testing/substrate-runner" }
152152

0 commit comments

Comments
 (0)