Skip to content

Commit

Permalink
chore: release 0.16.1 (#943)
Browse files Browse the repository at this point in the history
* chore: release 0.16.1

* Update CHANGELOG.md
  • Loading branch information
niklasad1 authored Nov 18, 2022
1 parent dbac4bd commit 82113dc
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 35 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [v0.16.1] - 2022-11-18

v0.16.1 is release that adds two new APIs to server `http_only` and `ws_only` to make it possible to allow only HTTP respectively WebSocket.

Both HTTP and WebSocket are still enabled by default.

### [Fixed]

- docs: remove outdated features ([#938](https://github.com/paritytech/jsonrpsee/pull/938))
- docs: http client url typo in examples ([#940](https://github.com/paritytech/jsonrpsee/pull/940))
- core: remove unused dependency `async-channel` ([#940](https://github.com/paritytech/jsonrpsee/pull/941))

### [Added]

- server: make it possible to enable ws/http only ([#939](https://github.com/paritytech/jsonrpsee/pull/939))

## [v0.16.0] - 2022-11-09

v0.16.0 is a breaking release and the major changes are:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
![MIT](https://img.shields.io/crates/l/jsonrpsee.svg)
[![CI](https://github.com/paritytech/jsonrpsee/actions/workflows/ci.yml/badge.svg)](https://github.com/paritytech/jsonrpsee/actions/workflows/ci.yml)
[![Benchmarks](https://github.com/paritytech/jsonrpsee/actions/workflows/benchmarks.yml/badge.svg)](https://github.com/paritytech/jsonrpsee/actions/workflows/benchmarks.yml)
[![dependency status](https://deps.rs/crate/jsonrpsee/0.16.0/status.svg)](https://deps.rs/crate/jsonrpsee/0.16.0)
[![dependency status](https://deps.rs/crate/jsonrpsee/0.16.1/status.svg)](https://deps.rs/crate/jsonrpsee/0.16.1)

JSON-RPC library designed for async/await in Rust.

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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
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.16.0" }
jsonrpsee-core = { path = "../../core", version = "0.16.0", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../../types", version = "0.16.1" }
jsonrpsee-core = { path = "../../core", version = "0.16.1", 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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
description = "JSON-RPC client transport"
edition = "2021"
Expand All @@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-client-transport"

[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.16.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.16.0", features = ["client"] }
jsonrpsee-types = { path = "../../types", version = "0.16.1", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["client"] }
tracing = "0.1.34"

# 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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
description = "WASM client for JSON-RPC"
edition = "2021"
Expand All @@ -10,6 +10,6 @@ homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-wasm-client"

[dependencies]
jsonrpsee-types = { path = "../../types", version = "0.16.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.16.0", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.16.0", features = ["async-wasm-client"] }
jsonrpsee-types = { path = "../../types", version = "0.16.1" }
jsonrpsee-client-transport = { path = "../transport", version = "0.16.1", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["async-wasm-client"] }
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
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.16.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.16.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.16.0", features = ["async-client"] }
jsonrpsee-types = { path = "../../types", version = "0.16.1" }
jsonrpsee-client-transport = { path = "../transport", version = "0.16.1", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["async-client"] }
http = "0.2.0"

[dev-dependencies]
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
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.16.0" }
jsonrpsee-types = { path = "../types", version = "0.16.1" }
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
description = "Examples for jsonrpsee"
edition = "2021"
Expand Down
18 changes: 9 additions & 9 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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
license = "MIT"
edition = "2021"
Expand All @@ -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.16.0", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.16.0", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.16.0", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.16.0", optional = true }
jsonrpsee-server = { path = "../server", version = "0.16.0", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.16.0", optional = true }
jsonrpsee-core = { path = "../core", version = "0.16.0", optional = true }
jsonrpsee-types = { path = "../types", version = "0.16.0", optional = true }
jsonrpsee-http-client = { path = "../client/http-client", version = "0.16.1", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.16.1", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.16.1", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.16.1", optional = true }
jsonrpsee-server = { path = "../server", version = "0.16.1", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.16.1", optional = true }
jsonrpsee-core = { path = "../core", version = "0.16.1", optional = true }
jsonrpsee-types = { path = "../types", version = "0.16.1", optional = true }
tracing = { version = "0.1.34", 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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
license = "MIT"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpsee-server"
version = "0.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
description = "JSON-RPC server that supports HTTP and WebSocket transports"
edition = "2021"
Expand All @@ -12,8 +12,8 @@ documentation = "https://docs.rs/jsonrpsee-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.16.0" }
jsonrpsee-core = { path = "../core", version = "0.16.0", features = ["server", "soketto", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.16.1" }
jsonrpsee-core = { path = "../core", version = "0.16.1", features = ["server", "soketto", "http-helpers"] }
tracing = "0.1.34"
serde = "1"
serde_json = { version = "1", features = ["raw_value"] }
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
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.16.0"
version = "0.16.1"
authors = ["Parity Technologies <[email protected]>"]
description = "Shared types for jsonrpsee"
edition = "2021"
Expand Down

0 comments on commit 82113dc

Please sign in to comment.