From 0473cfd292ad237f2a25d8ca5e0d65475fb58f0a Mon Sep 17 00:00:00 2001 From: James Wilson Date: Mon, 12 May 2025 13:13:21 +0100 Subject: [PATCH] Prep to release 0.42.1: Reduce rust-version to Rustc 1.85.0 (#2005) * Reduce rust-version to Rustc 1.85.0 * Bump to 0.42.1 in prep to release patch version --- CHANGELOG.md | 4 ++++ Cargo.lock | 36 ++++++++++++++++++------------------ Cargo.toml | 24 ++++++++++++------------ 3 files changed, 34 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a065df692d..df8b7b77eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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.42.1] - 2025-05-12 + +This patch release reduces the rust-version to 1.85.0, given that we don't use any features newer than this at the moment. + ## [0.42.0] - 2025-05-09 The primary benefit of this release is introducing support for the [_about-to-be-stabilised-in-polkadot-sdk_](https://github.com/paritytech/polkadot-sdk/pull/8443) V16 metadata, and with that, support for calling Pallet View Functions on runtimes which will support this. Pallet View Functions are used much like Runtime APIs, except that they are declared in specific pallets and not declared at the runtime-wide level, allowing pallets to carry their own APIs with them. diff --git a/Cargo.lock b/Cargo.lock index a66125612f..9be4a2b1e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,7 +464,7 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "artifacts" -version = "0.42.0" +version = "0.42.1" dependencies = [ "substrate-runner", ] @@ -2106,7 +2106,7 @@ dependencies = [ [[package]] name = "generate-custom-metadata" -version = "0.42.0" +version = "0.42.1" dependencies = [ "frame-metadata 23.0.0", "parity-scale-codec", @@ -2727,7 +2727,7 @@ dependencies = [ [[package]] name = "integration-tests" -version = "0.42.0" +version = "0.42.1" dependencies = [ "assert_matches", "cfg_aliases", @@ -5534,7 +5534,7 @@ dependencies = [ [[package]] name = "substrate-runner" -version = "0.42.0" +version = "0.42.1" [[package]] name = "subtle" @@ -5544,7 +5544,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.42.0" +version = "0.42.1" dependencies = [ "assert_matches", "async-trait", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "subxt-cli" -version = "0.42.0" +version = "0.42.1" dependencies = [ "clap", "color-eyre", @@ -5620,7 +5620,7 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.42.0" +version = "0.42.1" dependencies = [ "frame-metadata 23.0.0", "getrandom 0.2.16", @@ -5637,7 +5637,7 @@ dependencies = [ [[package]] name = "subxt-core" -version = "0.42.0" +version = "0.42.1" dependencies = [ "assert_matches", "base58", @@ -5671,7 +5671,7 @@ dependencies = [ [[package]] name = "subxt-lightclient" -version = "0.42.0" +version = "0.42.1" dependencies = [ "futures", "futures-timer", @@ -5696,7 +5696,7 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.42.0" +version = "0.42.1" dependencies = [ "darling", "parity-scale-codec", @@ -5716,7 +5716,7 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.42.0" +version = "0.42.1" dependencies = [ "bitvec", "criterion", @@ -5732,7 +5732,7 @@ dependencies = [ [[package]] name = "subxt-rpcs" -version = "0.42.0" +version = "0.42.1" dependencies = [ "derive-where", "finito", @@ -5761,7 +5761,7 @@ dependencies = [ [[package]] name = "subxt-signer" -version = "0.42.0" +version = "0.42.1" dependencies = [ "base64 0.22.1", "bip32", @@ -5794,7 +5794,7 @@ dependencies = [ [[package]] name = "subxt-test-macro" -version = "0.42.0" +version = "0.42.1" dependencies = [ "quote", "syn 2.0.101", @@ -5802,7 +5802,7 @@ dependencies = [ [[package]] name = "subxt-utils-fetchmetadata" -version = "0.42.0" +version = "0.42.1" dependencies = [ "frame-metadata 23.0.0", "hex", @@ -5815,7 +5815,7 @@ dependencies = [ [[package]] name = "subxt-utils-stripmetadata" -version = "0.42.0" +version = "0.42.1" dependencies = [ "either", "frame-metadata 23.0.0", @@ -5898,7 +5898,7 @@ dependencies = [ [[package]] name = "test-runtime" -version = "0.42.0" +version = "0.42.1" dependencies = [ "hex", "impl-serde", @@ -6324,7 +6324,7 @@ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "ui-tests" -version = "0.42.0" +version = "0.42.1" dependencies = [ "frame-metadata 23.0.0", "generate-custom-metadata", diff --git a/Cargo.toml b/Cargo.toml index 0247df7014..a222e8c8aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,8 +36,8 @@ resolver = "2" [workspace.package] authors = ["Parity Technologies "] edition = "2024" -version = "0.42.0" -rust-version = "1.86.0" +version = "0.42.1" +rust-version = "1.85.0" license = "Apache-2.0 OR GPL-3.0" repository = "https://github.com/paritytech/subxt" documentation = "https://docs.rs/subxt" @@ -152,16 +152,16 @@ sp-state-machine = { version = "0.45.0", default-features = false } sp-runtime = { version = "41.1.0", default-features = false } # Subxt workspace crates: -subxt = { version = "0.42.0", path = "subxt", default-features = false } -subxt-core = { version = "0.42.0", path = "core", default-features = false } -subxt-macro = { version = "0.42.0", path = "macro" } -subxt-metadata = { version = "0.42.0", path = "metadata", default-features = false } -subxt-codegen = { version = "0.42.0", path = "codegen" } -subxt-signer = { version = "0.42.0", path = "signer", default-features = false } -subxt-rpcs = { version = "0.42.0", path = "rpcs", default-features = false } -subxt-lightclient = { version = "0.42.0", path = "lightclient", default-features = false } -subxt-utils-fetchmetadata = { version = "0.42.0", path = "utils/fetch-metadata", default-features = false } -subxt-utils-stripmetadata = { version = "0.42.0", path = "utils/strip-metadata", default-features = false } +subxt = { version = "0.42.1", path = "subxt", default-features = false } +subxt-core = { version = "0.42.1", path = "core", default-features = false } +subxt-macro = { version = "0.42.1", path = "macro" } +subxt-metadata = { version = "0.42.1", path = "metadata", default-features = false } +subxt-codegen = { version = "0.42.1", path = "codegen" } +subxt-signer = { version = "0.42.1", path = "signer", default-features = false } +subxt-rpcs = { version = "0.42.1", path = "rpcs", default-features = false } +subxt-lightclient = { version = "0.42.1", path = "lightclient", default-features = false } +subxt-utils-fetchmetadata = { version = "0.42.1", path = "utils/fetch-metadata", default-features = false } +subxt-utils-stripmetadata = { version = "0.42.1", path = "utils/strip-metadata", default-features = false } test-runtime = { path = "testing/test-runtime" } substrate-runner = { path = "testing/substrate-runner" }