diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a04a13c1..53fb99055a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.17.0] - 2022-02-04 + +### Added + +- introduce jsonrpsee client abstraction + kill HTTP support. ([#341](https://github.com/paritytech/subxt/pull/341)) +- Get event context on EventSubscription ([#423](https://github.com/paritytech/subxt/pull/423)) + +### Changed + +- Add more tests for events.rs/decode_and_consume_type ([#430](https://github.com/paritytech/subxt/pull/430)) +- Update substrate dependencies ([#429](https://github.com/paritytech/subxt/pull/429)) +- export RuntimeError struct ([#427](https://github.com/paritytech/subxt/pull/427)) +- remove unused PalletError struct ([#425](https://github.com/paritytech/subxt/pull/425)) +- Move Subxt crate into a subfolder ([#424](https://github.com/paritytech/subxt/pull/424)) +- Add release checklist ([#418](https://github.com/paritytech/subxt/pull/418)) + ## [0.16.0] - 2022-02-01 *Note*: This is a significant release which introduces support for V14 metadata and macro based codegen, as well as making many breaking changes to the API. diff --git a/RELEASING.md b/RELEASING.md index 53ff0cf34d..3685873b0c 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -26,12 +26,12 @@ We also assume that ongoing work done is being merged directly to the `master` b If there are minor issues with the documentation, they can be fixed in the release branch. -4. Bump the crate version in `Cargo.toml` to whatever was decided in step 2 for `subxt-codegen`, `subxt-macro`, `subxt` and `subxt-cli`. +4. Bump the crate version in `Cargo.toml` to whatever was decided in step 2 for `subxt-cli`, `subxt-codegen`, `subxt-examples`, `subxt-macro` ,`subxt`, `test-runtime`. 5. Update `CHANGELOG.md` to reflect the difference between this release and the last. If you're unsure of what to add, check with the Tools team. See the `CHANGELOG.md` file for details of the format it follows. - Any [closed PRs](https://github.com/paritytech/subxt/pulls?q=is%3Apr+is%3Aclosed) between the last release and + Any [closed PRs](https://github.com/paritytech/subxt/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed) between the last release and this release branch should be noted. 6. Commit any of the above changes to the release branch and open a PR in GitHub with a base of `master`. @@ -46,8 +46,8 @@ We also assume that ongoing work done is being merged directly to the `master` b Additionally, `subxt-macro` has a circular dev dependency on `subxt`, so we use `cargo hack` to remove dev dependencies (and `--allow-dirty` to ignore the git changes as a result) to publish it. - So, first install `cargo hack` with `cargo install cargo hack`. Next, you can run something like the following - command to publish each crate in the required order (allowing a little time inbetween each to let `crates.io` catch up) + So, first install [cargo-hack](https://docs.rs/crate/cargo-hack/latest) with `cargo install cargo-hack`. Next, you can run something like the following + command to publish each crate in the required order (allowing a little time in between each to let `crates.io` catch up with what we've published). ``` @@ -73,4 +73,4 @@ We also assume that ongoing work done is being merged directly to the `master` b Once this is pushed, go along to [the releases page on GitHub](https://github.com/paritytech/subxt/releases) and draft a new release which points to the tag you just pushed to `master` above. Copy the changelog comments - for the current release into the release description. \ No newline at end of file + for the current release into the release description. diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3ad6e99bff..916999e367 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-cli" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] edition = "2021" @@ -16,7 +16,7 @@ path = "src/main.rs" [dependencies] # perform subxt codegen -subxt-codegen = { version = "0.16.0", path = "../codegen" } +subxt-codegen = { version = "0.17.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/codegen/Cargo.toml b/codegen/Cargo.toml index ea41458b7b..c2cf3c551d 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-codegen" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 89bd058d8e..8d8cbf21b1 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-examples" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 505647f045..b1267735e4 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-macro" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] edition = "2021" autotests = false @@ -27,10 +27,10 @@ quote = "1.0.8" syn = "1.0.58" scale-info = "1.0.0" -subxt-codegen = { path = "../codegen", version = "0.16.0" } +subxt-codegen = { path = "../codegen", version = "0.17.0" } [dev-dependencies] pretty_assertions = "1.0.0" -subxt = { path = "../subxt", version = "0.16.0" } +subxt = { path = "../subxt" } trybuild = "1.0.38" sp-keyring = "5.0.0" diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index a8ef23d64a..4c01d8e35b 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] edition = "2021" @@ -27,7 +27,7 @@ serde = { version = "1.0.124", features = ["derive"] } serde_json = "1.0.64" thiserror = "1.0.24" -subxt-macro = { version = "0.16.0", path = "../macro" } +subxt-macro = { version = "0.17.0", path = "../macro" } sp-core = { version = "5.0.0", default-features = false } sp-runtime = { version = "5.0.0", default-features = false } diff --git a/subxt/src/lib.rs b/subxt/src/lib.rs index e4e5668fc6..50aac73692 100644 --- a/subxt/src/lib.rs +++ b/subxt/src/lib.rs @@ -81,6 +81,7 @@ pub use crate::{ error::{ BasicError, Error, + GenericError, RuntimeError, TransactionError, }, diff --git a/test-runtime/Cargo.toml b/test-runtime/Cargo.toml index 032254cecc..fdd63aedc7 100644 --- a/test-runtime/Cargo.toml +++ b/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime" -version = "0.16.0" +version = "0.17.0" edition = "2021" [dependencies] @@ -9,7 +9,7 @@ sp-runtime = "5.0.0" codec = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full", "bit-vec"] } [build-dependencies] -subxt = { path = "../subxt", version = "0.16.0" } +subxt = { path = "../subxt" } sp-core = "5.0.0" async-std = { version = "1.9.0", features = ["attributes", "tokio1"] } which = "4.2.2"