Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.12.0 #754

Merged
merged 1 commit into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [v0.12.0] - 2022-05-06

v0.12.0 is mainly a patch release with some minor features added.

### [Added]
- Make it possible to disable batch requests support [#744](https://github.com/paritytech/jsonrpsee/pull/744)
- feat: add a way to limit the number of subscriptions per connection [#739](https://github.com/paritytech/jsonrpsee/pull/739)

### [Fixed]
- fix(http client): use https connector for https [#750](https://github.com/paritytech/jsonrpsee/pull/750)
- fix(rpc module): close subscription task when a subscription is `unsubscribed` via the `unsubscribe call` [#743](https://github.com/paritytech/jsonrpsee/pull/743)
- fix(jsonrpsee): generate docs behind features [#741](https://github.com/paritytech/jsonrpsee/pull/741)

### [Changed]
- remove vault from ci [#745](https://github.com/paritytech/jsonrpsee/pull/745)
- chore(deps): update pprof requirement from 0.7 to 0.8 [#732](https://github.com/paritytech/jsonrpsee/pull/732)
- chore(deps): update gloo-net requirement from 0.1.0 to 0.2.0 [#733](https://github.com/paritytech/jsonrpsee/pull/733)

## [v0.11.0] - 2022-04-21

v0.11.0 is a breaking release that reworks how subscriptions are handled by the servers where the users have to explicitly reject or accept each subscription.
Expand Down
2 changes: 1 addition & 1 deletion benches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-benchmarks"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Benchmarks for jsonrpsee"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions client/http-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-http-client"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP client for JSON-RPC"
edition = "2021"
Expand All @@ -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.11.0" }
jsonrpsee-core = { path = "../../core", version = "0.11.0", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../../types", version = "0.12.0" }
jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["client", "http-helpers"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions client/transport/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-client-transport"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket client for JSON-RPC"
edition = "2021"
Expand All @@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"

[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.11.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.11.0", features = ["client"] }
jsonrpsee-types = { path = "../../types", version = "0.12.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["client"] }
tracing = "0.1"

# optional
Expand Down
8 changes: 4 additions & 4 deletions client/wasm-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-wasm-client"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WASM client for JSON-RPC"
edition = "2021"
Expand All @@ -10,9 +10,9 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"

[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.11.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.11.0", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.11.0", features = ["async-wasm-client"] }
jsonrpsee-types = { path = "../../types", version = "0.12.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.12.0", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["async-wasm-client"] }

[dev-dependencies]
env_logger = "0.9"
Expand Down
8 changes: 4 additions & 4 deletions client/ws-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-ws-client"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket client for JSON-RPC"
edition = "2021"
Expand All @@ -10,9 +10,9 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"

[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.11.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.11.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.11.0", features = ["async-client"] }
jsonrpsee-types = { path = "../../types", version = "0.12.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.12.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["async-client"] }

[dev-dependencies]
env_logger = "0.9"
Expand Down
4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-core"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for jsonrpsee"
edition = "2021"
Expand All @@ -11,7 +11,7 @@ anyhow = "1"
async-trait = "0.1"
beef = { version = "0.5.1", features = ["impl_serde"] }
futures-channel = "0.3.14"
jsonrpsee-types = { path = "../types", version = "0.11.0" }
jsonrpsee-types = { path = "../types", version = "0.12.0" }
thiserror = "1"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
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 = "jsonrpsee-examples"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Examples for jsonrpsee"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions http-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-http-server"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP server for JSON-RPC"
edition = "2021"
Expand All @@ -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.11.0" }
jsonrpsee-core = { path = "../core", version = "0.11.0", features = ["server", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.12.0" }
jsonrpsee-core = { path = "../core", version = "0.12.0", features = ["server", "http-helpers"] }
globset = "0.4"
lazy_static = "1.4"
tracing = "0.1"
Expand Down
20 changes: 10 additions & 10 deletions jsonrpsee/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "jsonrpsee"
description = "JSON-RPC crate"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
Expand All @@ -12,15 +12,15 @@ 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.11.0", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.11.0", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.11.0", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.11.0", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.11.0", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.11.0", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.11.0", optional = true }
jsonrpsee-core = { path = "../core", version = "0.11.0", optional = true }
jsonrpsee-types = { path = "../types", version = "0.11.0", optional = true }
jsonrpsee-http-client = { path = "../client/http-client", version = "0.12.0", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.12.0", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.12.0", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.12.0", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.12.0", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.12.0", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.12.0", optional = true }
jsonrpsee-core = { path = "../core", version = "0.12.0", optional = true }
jsonrpsee-types = { path = "../types", version = "0.12.0", optional = true }
tracing = { version = "0.1", optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion proc-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "jsonrpsee-proc-macros"
description = "Procedueral macros for jsonrpsee"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-test-utils"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-integration-tests"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Integration tests for jsonrpsee"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-types"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Shared types for jsonrpsee"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions ws-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-ws-server"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket server for JSON-RPC"
edition = "2021"
Expand All @@ -12,8 +12,8 @@ documentation = "https://docs.rs/jsonrpsee-ws-server"
[dependencies]
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.11.0" }
jsonrpsee-core = { path = "../core", version = "0.11.0", features = ["server", "soketto"] }
jsonrpsee-types = { path = "../types", version = "0.12.0" }
jsonrpsee-core = { path = "../core", version = "0.12.0", features = ["server", "soketto"] }
tracing = "0.1"
serde_json = { version = "1", features = ["raw_value"] }
soketto = "0.7.1"
Expand Down