From f4ba500a0d15b86a71e2c9d703dab6d3c5ebca6d Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 2 Mar 2022 17:32:55 +0200 Subject: [PATCH 1/5] Bump release version to v0.18.0 Signed-off-by: Alexandru Vasile --- cli/Cargo.toml | 2 +- codegen/Cargo.toml | 2 +- examples/Cargo.toml | 2 +- macro/Cargo.toml | 2 +- subxt/Cargo.toml | 2 +- test-runtime/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index d3bc383914..8b2d9c193c 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-cli" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 1bded4c759..2f52dc2e9e 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-codegen" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 14f743b36e..5fecbd1988 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-examples" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 38662f5f8b..5b6cc17202 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-macro" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] edition = "2021" autotests = false diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 72eb38d327..bc57a36e8a 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/test-runtime/Cargo.toml b/test-runtime/Cargo.toml index a0a1431659..b05f9a8085 100644 --- a/test-runtime/Cargo.toml +++ b/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] From 7bf30258c913b343eff352d68dd35b04cdeec099 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 2 Mar 2022 17:41:05 +0200 Subject: [PATCH 2/5] Update changelog Signed-off-by: Alexandru Vasile --- CHANGELOG.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 307c857730..37765c11c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,28 @@ 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). -## [Unreleased] +## [0.18.0] - 2022-03-02 + +### Added + +- Reference key storage api ([#447](https://github.com/paritytech/subxt/pull/447)) +- Filter one or multiple events by type from an EventSubscription ([#461](https://github.com/paritytech/subxt/pull/461)) +- Distinct handling for N fields + 1 hasher vs N fields + N hashers ([#458](https://github.com/paritytech/subxt/pull/458)) +- Add hardcoded override to ElectionScore ([#455](https://github.com/paritytech/subxt/pull/455)) +- Expose method to fetch nonce via `Client` ([#451](https://github.com/paritytech/subxt/pull/451)) +- New Event Subscription API ([#442](https://github.com/paritytech/subxt/pull/442)) ### Changed -- Update scale-info and parity-scale-codec requirements ([#462](https://github.com/paritytech/subxt/pull/462)) +- Update scale-info and parity-scale-codec requirements ([#462](https://github.com/paritytech/subxt/pull/462)) +- Substitute BTreeMap/BTreeSet generated types for Vec ([#459](https://github.com/paritytech/subxt/pull/459)) +- Obtain DispatchError::Module info dynamically ([#453](https://github.com/paritytech/subxt/pull/453)) +- DispatchError::Module is now a tuple variant in latest Substrate ([#439](https://github.com/paritytech/subxt/pull/439)) +- Fix flaky event subscription test ([#450](https://github.com/paritytech/subxt/pull/450)) +- Improve documentation ([#449](https://github.com/paritytech/subxt/pull/449)) +- Export `codegen::TypeGenerator` ([#444](https://github.com/paritytech/subxt/pull/444)) +- Fix conversion of `Call` struct names to UpperCamelCase ([#441](https://github.com/paritytech/subxt/pull/441)) +- Update release documentation with dry-run ([#435](https://github.com/paritytech/subxt/pull/435)) ## [0.17.0] - 2022-02-04 From 3a5a461e73af10f66ad4217deca4d7e6494b1601 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 2 Mar 2022 17:50:54 +0200 Subject: [PATCH 3/5] Update dependency version to v0.18.0 Signed-off-by: Alexandru Vasile --- cli/Cargo.toml | 2 +- macro/Cargo.toml | 2 +- subxt/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 8b2d9c193c..099e139fa8 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -16,7 +16,7 @@ path = "src/main.rs" [dependencies] # perform subxt codegen -subxt-codegen = { version = "0.17.0", path = "../codegen" } +subxt-codegen = { version = "0.18.0", path = "../codegen" } # parse command line args structopt = "0.3.25" # make the request to a substrate node to get the metadata diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 5b6cc17202..14db5ea5f7 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -27,7 +27,7 @@ quote = "1.0.8" syn = "1.0.58" scale-info = "2.0.0" -subxt-codegen = { path = "../codegen", version = "0.17.0" } +subxt-codegen = { path = "../codegen", version = "0.18.0" } [dev-dependencies] pretty_assertions = "1.0.0" diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index bc57a36e8a..f531c06309 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -27,7 +27,7 @@ serde = { version = "1.0.124", features = ["derive"] } serde_json = "1.0.64" thiserror = "1.0.24" -subxt-macro = { version = "0.17.0", path = "../macro" } +subxt-macro = { version = "0.18.0", path = "../macro" } sp-core = { version = "6.0.0", default-features = false } sp-runtime = "6.0.0" From 0da7ec66afc1cca73dae60827c7dbe29344b9441 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 2 Mar 2022 18:20:58 +0200 Subject: [PATCH 4/5] Modify changelog Signed-off-by: Alexandru Vasile --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37765c11c7..00ef17a258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Reference key storage api ([#447](https://github.com/paritytech/subxt/pull/447)) - Filter one or multiple events by type from an EventSubscription ([#461](https://github.com/paritytech/subxt/pull/461)) - Distinct handling for N fields + 1 hasher vs N fields + N hashers ([#458](https://github.com/paritytech/subxt/pull/458)) - Add hardcoded override to ElectionScore ([#455](https://github.com/paritytech/subxt/pull/455)) @@ -17,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Reference key storage api ([#447](https://github.com/paritytech/subxt/pull/447)) - Update scale-info and parity-scale-codec requirements ([#462](https://github.com/paritytech/subxt/pull/462)) - Substitute BTreeMap/BTreeSet generated types for Vec ([#459](https://github.com/paritytech/subxt/pull/459)) - Obtain DispatchError::Module info dynamically ([#453](https://github.com/paritytech/subxt/pull/453)) From 4993268ee9b819e04c3de0562b4c084a852af12f Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 2 Mar 2022 18:37:30 +0200 Subject: [PATCH 5/5] Move changelog entries from added to changed --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00ef17a258..0b034195d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,18 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Filter one or multiple events by type from an EventSubscription ([#461](https://github.com/paritytech/subxt/pull/461)) -- Distinct handling for N fields + 1 hasher vs N fields + N hashers ([#458](https://github.com/paritytech/subxt/pull/458)) -- Add hardcoded override to ElectionScore ([#455](https://github.com/paritytech/subxt/pull/455)) - Expose method to fetch nonce via `Client` ([#451](https://github.com/paritytech/subxt/pull/451)) -- New Event Subscription API ([#442](https://github.com/paritytech/subxt/pull/442)) ### Changed - Reference key storage api ([#447](https://github.com/paritytech/subxt/pull/447)) +- Filter one or multiple events by type from an EventSubscription ([#461](https://github.com/paritytech/subxt/pull/461)) +- New Event Subscription API ([#442](https://github.com/paritytech/subxt/pull/442)) +- Distinct handling for N fields + 1 hasher vs N fields + N hashers ([#458](https://github.com/paritytech/subxt/pull/458)) - Update scale-info and parity-scale-codec requirements ([#462](https://github.com/paritytech/subxt/pull/462)) - Substitute BTreeMap/BTreeSet generated types for Vec ([#459](https://github.com/paritytech/subxt/pull/459)) - Obtain DispatchError::Module info dynamically ([#453](https://github.com/paritytech/subxt/pull/453)) +- Add hardcoded override to ElectionScore ([#455](https://github.com/paritytech/subxt/pull/455)) - DispatchError::Module is now a tuple variant in latest Substrate ([#439](https://github.com/paritytech/subxt/pull/439)) - Fix flaky event subscription test ([#450](https://github.com/paritytech/subxt/pull/450)) - Improve documentation ([#449](https://github.com/paritytech/subxt/pull/449))