Skip to content

Commit

Permalink
chore: prep release v0.25 (#717)
Browse files Browse the repository at this point in the history
* bump versions 0.25

* update changelog

* adjust RELEASE.md

* fix weird formatting

* rephrase bad english

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
  • Loading branch information
niklasad1 committed Nov 16, 2022
1 parent 389f20f commit 428bc35
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 20 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ 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
are still valid like so:

```
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.
Expand Down Expand Up @@ -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
```

Expand Down
6 changes: 3 additions & 3 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-cli"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-codegen"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand All @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-examples"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-macro"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
autotests = false
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-metadata"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
autotests = false
Expand Down
6 changes: 3 additions & 3 deletions subxt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand Down Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions testing/integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "integration-tests"
version = "0.24.0"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion testing/test-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-runtime"
version = "0.24.0"
version = "0.25.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion testing/ui-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 428bc35

Please sign in to comment.