mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 05:37:58 +00:00
Release preparation for v0.17.0 (#434)
* lib: Export `GenericError` to avoid linking to private items Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Bump version to v0.17.0 Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * doc: Add crates to bump Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Update changelog Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * changelog: Add new line between title and list Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * releasing: Remove extra closing bracket Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * releasing: Fix cargo install typo for cargo-hack Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Remove subxt version from macro and test-runtime Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * releasing: Change PR link to sort in descending order Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * changelog: Add missing PR Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -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.
|
||||
|
||||
+5
-5
@@ -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.
|
||||
for the current release into the release description.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt-cli"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
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
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt-codegen"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2021"
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt-examples"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt-macro"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
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"
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
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 }
|
||||
|
||||
@@ -81,6 +81,7 @@ pub use crate::{
|
||||
error::{
|
||||
BasicError,
|
||||
Error,
|
||||
GenericError,
|
||||
RuntimeError,
|
||||
TransactionError,
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user