Unverified Commit 21189759 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

chore(release): v0.14.0 (#796)

* chore(release): v0.14.0

* Update CHANGELOG.md

* Update CHANGELOG.md
parent 5a344c0c
Pipeline #198466 passed with stages
in 6 minutes and 4 seconds
......@@ -6,6 +6,29 @@ The format is based on [Keep a Changelog].
## [Unreleased]
## [v0.14.0] - 2022-06-14
v0.14.0 is breaking release which changes the `health and access control APIs` and a bunch of bug fixes.
### [Fixed]
- fix(servers): more descriptive errors when calls fail [#790](https://github.com/paritytech/jsonrpsee/pull/790)
- fix(ws server): support `*` in host and origin filtering [#781](https://github.com/paritytech/jsonrpsee/pull/781)
- fix(rpc module): register failed `unsubscribe calls` in middleware [#792](https://github.com/paritytech/jsonrpsee/pull/792)
- fix(http server): omit jsonrpc details in health API [#785](https://github.com/paritytech/jsonrpsee/pull/785)
- fix(servers): skip leading whitespace in JSON deserialization [#783](https://github.com/paritytech/jsonrpsee/pull/783)
- fix(ws-server): Submit ping regardless of WS messages [#788](https://github.com/paritytech/jsonrpsee/pull/788)
- fix(rpc_module): remove expect in `fn call` [#774](https://github.com/paritytech/jsonrpsee/pull/774)
### [Added]
- feat(ws-client): `ping-pong` for WebSocket clients [#772](https://github.com/paritytech/jsonrpsee/pull/772)
- feat(ws-server): Implement `ping-pong` for WebSocket server [#782](https://github.com/paritytech/jsonrpsee/pull/782)
### [Changed]
- chore(deps): bump Swatinem/rust-cache from 1.3.0 to 1.4.0 [#778](https://github.com/paritytech/jsonrpsee/pull/778)
- chore(deps): bump actions/checkout from 2.4.0 to 3.0.2 [#779](https://github.com/paritytech/jsonrpsee/pull/779)
- chore(ci): bring back daily benchmarks [#777](https://github.com/paritytech/jsonrpsee/pull/777)
- chore(examples): Move examples under dedicated folder to simplify `Cargo.toml` [#769](https://github.com/paritytech/jsonrpsee/pull/769)
## [v0.13.1] - 2022-05-13
v0.13.1 is a release that fixes the documentation for feature-gated items on `docs.rs`.
......@@ -74,7 +97,7 @@ v0.10.1 is a release that fixes a regression in the HTTP server where the backlo
If your usage expects a high rate of new HTTP connections you are encouraged to update or manually configure the socket based on the traffic characteristics.
### [Changed]
- [proc macros]: only generate unsub method if not provided (#702)
- [proc macros]: only generate unsub method if not provided [#702](https://github.com/paritytech/jsonrpsee/pull/702)
- [examples]: update pubsub examples [#705](https://github.com/paritytech/jsonrpsee/pull/705)
- core: remove `Error::Request` variant [#717](https://github.com/paritytech/jsonrpsee/pull/717)
- Replace async-channel [#708](https://github.com/paritytech/jsonrpsee/pull/708)
......
[package]
name = "jsonrpsee-benchmarks"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Benchmarks for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-http-client"
version = "0.13.1"
version = "0.14.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.13.1" }
jsonrpsee-core = { path = "../../core", version = "0.13.1", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../../types", version = "0.14.0" }
jsonrpsee-core = { path = "../../core", version = "0.14.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.13.1"
version = "0.14.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.13.1", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.13.1", features = ["client"] }
jsonrpsee-types = { path = "../../types", version = "0.14.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.14.0", features = ["client"] }
tracing = "0.1"
# optional
......
[package]
name = "jsonrpsee-wasm-client"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WASM 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.13.1" }
jsonrpsee-client-transport = { path = "../transport", version = "0.13.1", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.13.1", features = ["async-wasm-client"] }
jsonrpsee-types = { path = "../../types", version = "0.14.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.14.0", features = ["web"] }
jsonrpsee-core = { path = "../../core", version = "0.14.0", features = ["async-wasm-client"] }
[dev-dependencies]
env_logger = "0.9"
......
[package]
name = "jsonrpsee-ws-client"
version = "0.13.1"
version = "0.14.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.13.1" }
jsonrpsee-client-transport = { path = "../transport", version = "0.13.1", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.13.1", features = ["async-client"] }
jsonrpsee-types = { path = "../../types", version = "0.14.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.14.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.14.0", features = ["async-client"] }
[dev-dependencies]
env_logger = "0.9"
......
[package]
name = "jsonrpsee-core"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for jsonrpsee"
edition = "2021"
......@@ -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.13.1" }
jsonrpsee-types = { path = "../types", version = "0.14.0" }
thiserror = "1"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
......
[package]
name = "jsonrpsee-examples"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Examples for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-http-server"
version = "0.13.1"
version = "0.14.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.13.1" }
jsonrpsee-core = { path = "../core", version = "0.13.1", features = ["server", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.14.0" }
jsonrpsee-core = { path = "../core", version = "0.14.0", features = ["server", "http-helpers"] }
tracing = "0.1"
serde_json = { version = "1.0", features = ["raw_value"] }
serde = "1"
......
[package]
name = "jsonrpsee"
description = "JSON-RPC crate"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
......@@ -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.13.1", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.13.1", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.13.1", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.13.1", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.13.1", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.13.1", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.13.1", optional = true }
jsonrpsee-core = { path = "../core", version = "0.13.1", optional = true }
jsonrpsee-types = { path = "../types", version = "0.13.1", optional = true }
jsonrpsee-http-client = { path = "../client/http-client", version = "0.14.0", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.14.0", optional = true }
jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.14.0", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.14.0", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.14.0", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.14.0", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.14.0", optional = true }
jsonrpsee-core = { path = "../core", version = "0.14.0", optional = true }
jsonrpsee-types = { path = "../types", version = "0.14.0", optional = true }
tracing = { version = "0.1", optional = true }
[features]
......
[package]
name = "jsonrpsee-proc-macros"
description = "Procedueral macros for jsonrpsee"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2021"
......
[package]
name = "jsonrpsee-test-utils"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
edition = "2021"
......
[package]
name = "jsonrpsee-integration-tests"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Integration tests for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-types"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Shared types for jsonrpsee"
edition = "2021"
......
[package]
name = "jsonrpsee-ws-server"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket server for JSON-RPC"
edition = "2021"
......@@ -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.13.1" }
jsonrpsee-core = { path = "../core", version = "0.13.1", features = ["server", "soketto"] }
jsonrpsee-types = { path = "../types", version = "0.14.0" }
jsonrpsee-core = { path = "../core", version = "0.14.0", features = ["server", "soketto"] }
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