From 428bc35ed8e182ad207e6485087cc3c38693bd20 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Wed, 16 Nov 2022 16:10:31 +0100 Subject: [PATCH] chore: prep release v0.25 (#717) * bump versions 0.25 * update changelog * adjust RELEASE.md * fix weird formatting * rephrase bad english * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --- CHANGELOG.md | 33 ++++++++++++++++++++++++++++ RELEASING.md | 6 ++--- cli/Cargo.toml | 6 ++--- codegen/Cargo.toml | 4 ++-- examples/Cargo.toml | 2 +- macro/Cargo.toml | 4 ++-- metadata/Cargo.toml | 2 +- subxt/Cargo.toml | 6 ++--- testing/integration-tests/Cargo.toml | 6 ++--- testing/test-runtime/Cargo.toml | 2 +- testing/ui-tests/Cargo.toml | 2 +- 11 files changed, 53 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e159ae0c0a..314e861866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,39 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.25.0] - 2022-11-16 + +This release resolves the `parity-util-mem crate` several version guard by updating substrate related dependencies which makes +it possible to have other substrate dependencies in tree again along with subxt. + +In addition the release has several API improvements in the dynamic transaction API along with that subxt now compiles down to WASM. + +Notable PRs merged: + +### Added + +- Add getters for `Module` ([#697](https://github.com/paritytech/subxt/pull/697)) +- add wasm support ([#700](https://github.com/paritytech/subxt/pull/700)) +- Extend the new `api.blocks()` to be the primary way to subscribe and fetch blocks/extrinsics/events ([#691](https://github.com/paritytech/subxt/pull/691)) +- Add runtime_metadata_url to pull metadata directly from a node ([#689](https://github.com/paritytech/subxt/pull/689)) +- Implement `BlocksClient` for working with blocks ([#671](https://github.com/paritytech/subxt/pull/671)) +- Allow specifying the `subxt` crate path for generated code ([#664](https://github.com/paritytech/subxt/pull/664)) +- Allow taking out raw bytes from a SubmittableExtrinsic ([#683](https://github.com/paritytech/subxt/pull/683)) +- Add DecodedValueThunk to allow getting bytes back from dynamic queries ([#680](https://github.com/paritytech/subxt/pull/680)) + +### Changed + +- Update substrate crates ([#709](https://github.com/paritytech/subxt/pull/709)) +- Make working with nested queries a touch easier ([#714](https://github.com/paritytech/subxt/pull/714)) +- Upgrade to scale-info 2.3 and fix errors ([#704](https://github.com/paritytech/subxt/pull/704)) +- No need to entangle Signer and nonce now ([#702](https://github.com/paritytech/subxt/pull/702)) +- error: `RpcError` with custom client error ([#694](https://github.com/paritytech/subxt/pull/694)) +- into_encoded() for consistency ([#685](https://github.com/paritytech/subxt/pull/685)) +- make subxt::Config::Extrinsic Send ([#681](https://github.com/paritytech/subxt/pull/681)) +- Refactor CLI tool to give room for growth ([#667](https://github.com/paritytech/subxt/pull/667)) +- expose jsonrpc-core client ([#672](https://github.com/paritytech/subxt/pull/672)) +- Upgrade clap to v4 ([#678](https://github.com/paritytech/subxt/pull/678)) + ## [0.24.0] - 2022-09-22 This release has a bunch of smaller changes and fixes. The breaking changes are fairly minor and should be easy to address if encountered. Notable additions are: diff --git a/RELEASING.md b/RELEASING.md index 383150db09..ced73b86f9 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -13,7 +13,7 @@ We also assume that ongoing work done is being merged directly to the `master` b 3. Check that you're happy with the current documentation. ``` - cargo doc --open --all-features + cargo doc --open ``` CI checks for broken internal links at the moment. Optionally you can also confirm that any external links @@ -21,7 +21,7 @@ We also assume that ongoing work done is being merged directly to the `master` b ``` cargo install cargo-deadlinks - cargo deadlinks --check-http -- --all-features + cargo deadlinks --check-http ``` If there are minor issues with the documentation, they can be fixed in the release branch. @@ -59,7 +59,7 @@ We also assume that ongoing work done is being merged directly to the `master` b 2. Perform a final sanity check that everything looks ok. ``` - cargo check --all-targets + cargo hack --exclude-all-features --each-feature check --all-targets --workspace cargo test --all-targets ``` diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 068f0e4e09..d0c934fc03 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-cli" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" @@ -16,9 +16,9 @@ path = "src/main.rs" [dependencies] # perform subxt codegen -subxt-codegen = { version = "0.24.0", path = "../codegen" } +subxt-codegen = { version = "0.25.0", path = "../codegen" } # perform node compatibility -subxt-metadata = { version = "0.24.0", path = "../metadata" } +subxt-metadata = { version = "0.25.0", path = "../metadata" } # parse command line args clap = { version = "4.0.8", features = ["derive"] } # colourful error reports diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 79b247585f..04ffc54a7e 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-codegen" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" @@ -20,7 +20,7 @@ proc-macro-error = "1.0.4" quote = "1.0.8" syn = "1.0.58" scale-info = { version = "2.0.0", features = ["bit-vec"] } -subxt-metadata = { version = "0.24.0", path = "../metadata" } +subxt-metadata = { version = "0.25.0", path = "../metadata" } jsonrpsee = { version = "0.16.0", features = ["async-client", "client-ws-transport", "http-client"] } hex = "0.4.3" tokio = { version = "1.8", features = ["macros", "rt-multi-thread"] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index beda15fc5a..60238f2d43 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-examples" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/macro/Cargo.toml b/macro/Cargo.toml index bc078fde9c..4a4eaaf9fe 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-macro" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" autotests = false @@ -19,4 +19,4 @@ darling = "0.14.0" proc-macro-error = "1.0.4" syn = "1.0.58" -subxt-codegen = { path = "../codegen", version = "0.24.0" } +subxt-codegen = { path = "../codegen", version = "0.25.0" } diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index a9a39ea213..ca10bf1201 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-metadata" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" autotests = false diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index ffdd6facbe..cf7c02fd41 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" @@ -40,8 +40,8 @@ thiserror = "1.0.24" tracing = "0.1.34" parking_lot = "0.12.0" -subxt-macro = { version = "0.24.0", path = "../macro" } -subxt-metadata = { version = "0.24.0", path = "../metadata" } +subxt-macro = { version = "0.25.0", path = "../macro" } +subxt-metadata = { version = "0.25.0", path = "../metadata" } sp-core = { version = "7.0.0", default-features = false } sp-runtime = "7.0.0" diff --git a/testing/integration-tests/Cargo.toml b/testing/integration-tests/Cargo.toml index 1e0c2e0c53..98632016a6 100644 --- a/testing/integration-tests/Cargo.toml +++ b/testing/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration-tests" -version = "0.24.0" +version = "0.25.0" authors = ["Parity Technologies "] edition = "2021" @@ -26,8 +26,8 @@ sp-core = { version = "7.0.0", default-features = false } sp-keyring = "7.0.0" sp-runtime = "7.0.0" syn = "1.0.0" -subxt = { version = "0.24.0", path = "../../subxt" } -subxt-codegen = { version = "0.24.0", path = "../../codegen" } +subxt = { version = "0.25.0", path = "../../subxt" } +subxt-codegen = { version = "0.25.0", path = "../../codegen" } test-runtime = { path = "../test-runtime" } tokio = { version = "1.8", features = ["macros", "time"] } tracing = "0.1.34" diff --git a/testing/test-runtime/Cargo.toml b/testing/test-runtime/Cargo.toml index 083b7db003..a738f0cc89 100644 --- a/testing/test-runtime/Cargo.toml +++ b/testing/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime" -version = "0.24.0" +version = "0.25.0" edition = "2021" [dependencies] diff --git a/testing/ui-tests/Cargo.toml b/testing/ui-tests/Cargo.toml index 4cdadd5785..f3f6696573 100644 --- a/testing/ui-tests/Cargo.toml +++ b/testing/ui-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ui-tests" -version = "0.24.0" +version = "0.25.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html