Unverified Commit f66ef551 authored by David's avatar David Committed by GitHub
Browse files

Release prep for v0.9 (#689)



* Release prep for v0.9

* Update CHANGELOG
Don't dry-run when releasing

* Tweak release notes

* Update CHANGELOG.md

Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>

Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
parent 425ae56d
......@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog].
## [Unreleased]
## [v0.9.0] - 2022-02-03
v0.9.0 is technically a breaking release because of the `Debug` bound of the `IdProvider` trait changed which is used by WebSocket server. In practise it should be a non-breaking upgrade for most users.
### [Changed]
refactor(ws server): impl IdProvider for Box<T> [#684](https://github.com/paritytech/jsonrpsee/pull/684)
chore(deps): update parking_lot requirement from 0.11 to 0.12 [#682](https://github.com/paritytech/jsonrpsee/pull/682)
## [v0.8.0] - 2022-01-21
v0.8.0 is a breaking release for the way subscription closing is handled, along with a few other minor tweaks and fixes.
......
......@@ -3,8 +3,5 @@
1. Bump the version of all crates
1. Run all tests
1. In the `CHANGELOG.md` file, move everything under "Unreleased" to a new section named `## [vx.y.z] – YYYY-MM-DD`
1. Make a dryrun like so:
1. Ensure you're in the project root dir
Note: the script will publish the crates in the correct order and pause after each crate to ensure it's available at the crates registry before proceeding. This means the dry run isn't as useful and will end up in an infinite loop. If you're really unsure about the changes and want to do a dry run you should do a `cargo publish --dry-run` for each individual crate.
1. Publish: `./scripts/publish.sh`
1. Once published, make sure to "create a release" for the pushed tag on github.
1. Once published, make sure to "create a release" for the pushed tag on github.
[package]
name = "jsonrpsee-benchmarks"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Benchmarks for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-http-client"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP client for JSON-RPC"
edition = "2021"
......@@ -14,8 +14,8 @@ async-trait = "0.1"
rustc-hash = "1"
hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] }
hyper-rustls = { version = "0.23", optional = true }
jsonrpsee-types = { path = "../../types", version = "0.8.0" }
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../../types", version = "0.9.0" }
jsonrpsee-core = { path = "../../core", version = "0.9.0", features = ["client", "http-helpers"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
......
[package]
name = "jsonrpsee-client-transport"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket client for JSON-RPC"
edition = "2021"
......@@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"
[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.8.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["client"] }
jsonrpsee-types = { path = "../../types", version = "0.9.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.9.0", features = ["client"] }
tracing = { version = "0.1", optional = true }
thiserror = { version = "1", optional = true }
futures = { version = "0.3.14", default-features = false, features = ["std"], optional = true }
......
[package]
name = "jsonrpsee-ws-client"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket client for JSON-RPC"
edition = "2021"
......@@ -10,9 +10,9 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"
[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.8.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.8.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["async-client"] }
jsonrpsee-types = { path = "../../types", version = "0.9.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.9.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.9.0", features = ["async-client"] }
[dev-dependencies]
env_logger = "0.9"
......
[package]
name = "jsonrpsee-core"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for jsonrpsee"
edition = "2021"
......@@ -16,7 +16,7 @@ thiserror = "1"
futures-channel = { version = "0.3.14", default-features = false }
futures-util = { version = "0.3.14", default-features = false, optional = true }
hyper = { version = "0.14.10", default-features = false, features = ["stream"] }
jsonrpsee-types = { path = "../types", version = "0.8.0" }
jsonrpsee-types = { path = "../types", version = "0.9.0"}
tracing = { version = "0.1", optional = true }
rustc-hash = { version = "1", optional = true }
rand = { version = "0.8", optional = true }
......
[package]
name = "jsonrpsee-examples"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Examples for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-http-server"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP server for JSON-RPC"
edition = "2021"
......@@ -13,8 +13,8 @@ documentation = "https://docs.rs/jsonrpsee-http-server"
hyper = { version = "0.14.10", features = ["server", "http1", "http2", "tcp"] }
futures-channel = "0.3.14"
futures-util = { version = "0.3.14", default-features = false }
jsonrpsee-types = { path = "../types", version = "0.8.0" }
jsonrpsee-core = { path = "../core", version = "0.8.0", features = ["server", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.9.0" }
jsonrpsee-core = { path = "../core", version = "0.9.0", features = ["server", "http-helpers"] }
globset = "0.4"
lazy_static = "1.4"
tracing = "0.1"
......
[package]
name = "jsonrpsee"
description = "JSON-RPC crate"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
......@@ -12,14 +12,14 @@ documentation = "https://docs.rs/jsonrpsee"
[dependencies]
# No support for namespaced features yet so workspace dependencies are prefixed with `jsonrpsee-`.
# See https://github.com/rust-lang/cargo/issues/5565 for more details.
jsonrpsee-http-client = { path = "../client/http-client", version = "0.8.0", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.8.0", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.8.0", package = "jsonrpsee-client-transport", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.8.0", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.8.0", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.8.0", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-core = { path = "../core", version = "0.8.0", package = "jsonrpsee-core", optional = true }
jsonrpsee-types = { path = "../types", version = "0.8.0", package = "jsonrpsee-types", optional = true }
jsonrpsee-http-client = { path = "../client/http-client", version = "0.9.0", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.9.0", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.9.0", package = "jsonrpsee-client-transport", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.9.0", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.9.0", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.9.0", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-core = { path = "../core", version = "0.9.0", package = "jsonrpsee-core", optional = true }
jsonrpsee-types = { path = "../types", version = "0.9.0", package = "jsonrpsee-types", optional = true }
[features]
client-ws-transport = ["jsonrpsee-client-transport/ws", "jsonrpsee-client-transport/tls"]
......
[package]
name = "jsonrpsee-proc-macros"
description = "Procedueral macros for jsonrpsee"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
......
[package]
name = "jsonrpsee-test-utils"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
edition = "2021"
......
[package]
name = "jsonrpsee-integration-tests"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Integration tests for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-types"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Shared types for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-ws-server"
version = "0.8.0"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket server for JSON-RPC"
edition = "2021"
......@@ -13,8 +13,8 @@ documentation = "https://docs.rs/jsonrpsee-ws-server"
async-channel = "1.6.1"
futures-channel = "0.3.14"
futures-util = { version = "0.3.14", default-features = false, features = ["io", "async-await-macro"] }
jsonrpsee-types = { path = "../types", version = "0.8.0" }
jsonrpsee-core = { path = "../core", version = "0.8.0", features = ["server"] }
jsonrpsee-types = { path = "../types", version = "0.9.0" }
jsonrpsee-core = { path = "../core", version = "0.9.0", features = ["server"] }
tracing = "0.1"
serde_json = { version = "1", features = ["raw_value"] }
soketto = "0.7.1"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment