Skip to content

Commit 7e7d3d6

Browse files
authored
Prep for releasing v0.8.0 (#664)
* Prep for releasing v0.8.0 * Grumble
1 parent 708d421 commit 7e7d3d6

File tree

14 files changed

+58
-39
lines changed

14 files changed

+58
-39
lines changed

CHANGELOG.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,26 @@ The format is based on [Keep a Changelog].
66

77
## [Unreleased]
88

9-
## [v0.7.0] - 2022-12-22
9+
## [v0.8.0] - 2022-01-21
10+
11+
v0.8.0 is a breaking release for the way subscription closing is handled, along with a few other minor tweaks and fixes.
12+
13+
### [Added]
14+
15+
- feat(client): support request id as Strings. [#659](https://github.com/paritytech/jsonrpsee/pull/659)
16+
- feat(rpc module) Add a method to RpcModule that transforms the module into a RpcModule<()>, i.e. removes the context. [#660](https://github.com/paritytech/jsonrpsee/pull/660)
17+
- feat(rpc module): stream API for SubscriptionSink [#639](https://github.com/paritytech/jsonrpsee/pull/639)
18+
19+
### [Fixed]
20+
21+
- fix: nit in WsError [#662](https://github.com/paritytech/jsonrpsee/pull/662)
22+
- fix(jsonrpsee): feature macros include client types [#656](https://github.com/paritytech/jsonrpsee/pull/656)
23+
- fix(ws client): export WsClient [#646](https://github.com/paritytech/jsonrpsee/pull/646)
24+
- fix(ws client): improve error message bad URL [#642](https://github.com/paritytech/jsonrpsee/pull/642)
25+
- fix(ws client): expose tls feature. [#640](https://github.com/paritytech/jsonrpsee/pull/640)
26+
- fix(http server): handle post and option HTTP requests properly. [#637](https://github.com/paritytech/jsonrpsee/pull/637)
27+
28+
## [v0.7.0] - 2021-12-22
1029

1130
v0.7.0 is a breaking release that contains a big refactoring of the crate structure. The `types` and
1231
`utils` crates are split up as `types` and `core` to clarify the difference between the two.

benches/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-benchmarks"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "Benchmarks for jsonrpsee"
66
edition = "2021"

client/http-client/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-http-client"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
55
description = "HTTP client for JSON-RPC"
66
edition = "2021"
@@ -14,8 +14,8 @@ async-trait = "0.1"
1414
rustc-hash = "1"
1515
hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] }
1616
hyper-rustls = { version = "0.23", optional = true }
17-
jsonrpsee-types = { path = "../../types", version = "0.7.0" }
18-
jsonrpsee-core = { path = "../../core", version = "0.7.0", features = ["client", "http-helpers"] }
17+
jsonrpsee-types = { path = "../../types", version = "0.8.0" }
18+
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["client", "http-helpers"] }
1919
serde = { version = "1.0", default-features = false, features = ["derive"] }
2020
serde_json = "1.0"
2121
thiserror = "1.0"

client/transport/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-client-transport"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
55
description = "WebSocket client for JSON-RPC"
66
edition = "2021"
@@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee"
1010
documentation = "https://docs.rs/jsonrpsee-ws-client"
1111

1212
[dependencies]
13-
jsonrpsee-types = { path = "../../types", version = "0.7.0", optional = true }
14-
jsonrpsee-core = { path = "../../core", version = "0.7.0", features = ["client"] }
13+
jsonrpsee-types = { path = "../../types", version = "0.8.0", optional = true }
14+
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["client"] }
1515
tracing = { version = "0.1", optional = true }
1616
thiserror = { version = "1", optional = true }
1717
futures = { version = "0.3.14", default-features = false, features = ["std"], optional = true }
@@ -29,11 +29,11 @@ soketto = { version = "0.7.1", optional = true }
2929
[features]
3030
tls = ["tokio-rustls", "webpki-roots", "rustls-native-certs"]
3131
ws = [
32-
"futures",
33-
"http",
34-
"tokio",
35-
"tokio-util",
36-
"soketto",
32+
"futures",
33+
"http",
34+
"tokio",
35+
"tokio-util",
36+
"soketto",
3737
"pin-project",
3838
"jsonrpsee-types",
3939
"thiserror",

client/ws-client/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-ws-client"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
55
description = "WebSocket client for JSON-RPC"
66
edition = "2021"
@@ -10,9 +10,9 @@ homepage = "https://github.com/paritytech/jsonrpsee"
1010
documentation = "https://docs.rs/jsonrpsee-ws-client"
1111

1212
[dependencies]
13-
jsonrpsee-types = { path = "../../types", version = "0.7.0" }
14-
jsonrpsee-client-transport = { path = "../transport", version = "0.7.0", features = ["ws"] }
15-
jsonrpsee-core = { path = "../../core", version = "0.7.0", features = ["async-client"] }
13+
jsonrpsee-types = { path = "../../types", version = "0.8.0" }
14+
jsonrpsee-client-transport = { path = "../transport", version = "0.8.0", features = ["ws"] }
15+
jsonrpsee-core = { path = "../../core", version = "0.8.0", features = ["async-client"] }
1616

1717
[dev-dependencies]
1818
env_logger = "0.9"

core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-core"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "Utilities for jsonrpsee"
66
edition = "2021"
@@ -16,7 +16,7 @@ thiserror = "1"
1616
futures-channel = { version = "0.3.14", default-features = false }
1717
futures-util = { version = "0.3.14", default-features = false, optional = true }
1818
hyper = { version = "0.14.10", default-features = false, features = ["stream"] }
19-
jsonrpsee-types = { path = "../types", version = "0.7.0" }
19+
jsonrpsee-types = { path = "../types", version = "0.8.0" }
2020
tracing = { version = "0.1", optional = true }
2121
rustc-hash = { version = "1", optional = true }
2222
rand = { version = "0.8", optional = true }

examples/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-examples"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "Examples for jsonrpsee"
66
edition = "2021"

http-server/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-http-server"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
55
description = "HTTP server for JSON-RPC"
66
edition = "2021"
@@ -13,8 +13,8 @@ documentation = "https://docs.rs/jsonrpsee-http-server"
1313
hyper = { version = "0.14.10", features = ["server", "http1", "http2", "tcp"] }
1414
futures-channel = "0.3.14"
1515
futures-util = { version = "0.3.14", default-features = false }
16-
jsonrpsee-types = { path = "../types", version = "0.7.0" }
17-
jsonrpsee-core = { path = "../core", version = "0.7.0", features = ["server", "http-helpers"] }
16+
jsonrpsee-types = { path = "../types", version = "0.8.0" }
17+
jsonrpsee-core = { path = "../core", version = "0.8.0", features = ["server", "http-helpers"] }
1818
globset = "0.4"
1919
lazy_static = "1.4"
2020
tracing = "0.1"

jsonrpsee/Cargo.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "jsonrpsee"
33
description = "JSON-RPC crate"
4-
version = "0.7.0"
4+
version = "0.8.0"
55
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
66
license = "MIT"
77
edition = "2021"
@@ -12,14 +12,14 @@ documentation = "https://docs.rs/jsonrpsee"
1212
[dependencies]
1313
# No support for namespaced features yet so workspace dependencies are prefixed with `jsonrpsee-`.
1414
# See https://github.com/rust-lang/cargo/issues/5565 for more details.
15-
jsonrpsee-http-client = { path = "../client/http-client", version = "0.7.0", package = "jsonrpsee-http-client", optional = true }
16-
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.7.0", package = "jsonrpsee-ws-client", optional = true }
17-
jsonrpsee-client-transport = { path = "../client/transport", version = "0.7.0", package = "jsonrpsee-client-transport", optional = true }
18-
jsonrpsee-http-server = { path = "../http-server", version = "0.7.0", package = "jsonrpsee-http-server", optional = true }
19-
jsonrpsee-ws-server = { path = "../ws-server", version = "0.7.0", package = "jsonrpsee-ws-server", optional = true }
20-
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.7.0", package = "jsonrpsee-proc-macros", optional = true }
21-
jsonrpsee-core = { path = "../core", version = "0.7.0", package = "jsonrpsee-core", optional = true }
22-
jsonrpsee-types = { path = "../types", version = "0.7.0", package = "jsonrpsee-types", optional = true }
15+
jsonrpsee-http-client = { path = "../client/http-client", version = "0.8.0", package = "jsonrpsee-http-client", optional = true }
16+
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.8.0", package = "jsonrpsee-ws-client", optional = true }
17+
jsonrpsee-client-transport = { path = "../client/transport", version = "0.8.0", package = "jsonrpsee-client-transport", optional = true }
18+
jsonrpsee-http-server = { path = "../http-server", version = "0.8.0", package = "jsonrpsee-http-server", optional = true }
19+
jsonrpsee-ws-server = { path = "../ws-server", version = "0.8.0", package = "jsonrpsee-ws-server", optional = true }
20+
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.8.0", package = "jsonrpsee-proc-macros", optional = true }
21+
jsonrpsee-core = { path = "../core", version = "0.8.0", package = "jsonrpsee-core", optional = true }
22+
jsonrpsee-types = { path = "../types", version = "0.8.0", package = "jsonrpsee-types", optional = true }
2323

2424
[features]
2525
client-ws-transport = ["jsonrpsee-client-transport/ws", "jsonrpsee-client-transport/tls"]

proc-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "jsonrpsee-proc-macros"
33
description = "Procedueral macros for jsonrpsee"
4-
version = "0.7.0"
4+
version = "0.8.0"
55
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
66
license = "MIT"
77
edition = "2021"

test-utils/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-test-utils"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
license = "MIT"
66
edition = "2021"

tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-integration-tests"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "Integration tests for jsonrpsee"
66
edition = "2021"

types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-types"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "Shared types for jsonrpsee"
66
edition = "2021"

ws-server/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonrpsee-ws-server"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
55
description = "WebSocket server for JSON-RPC"
66
edition = "2021"
@@ -13,8 +13,8 @@ documentation = "https://docs.rs/jsonrpsee-ws-server"
1313
async-channel = "1.6.1"
1414
futures-channel = "0.3.14"
1515
futures-util = { version = "0.3.14", default-features = false, features = ["io", "async-await-macro"] }
16-
jsonrpsee-types = { path = "../types", version = "0.7.0" }
17-
jsonrpsee-core = { path = "../core", version = "0.7.0", features = ["server"] }
16+
jsonrpsee-types = { path = "../types", version = "0.8.0" }
17+
jsonrpsee-core = { path = "../core", version = "0.8.0", features = ["server"] }
1818
tracing = "0.1"
1919
serde_json = { version = "1", features = ["raw_value"] }
2020
soketto = "0.7.1"

0 commit comments

Comments
 (0)