Skip to content

Commit

Permalink
chore: release v0.7.0 (#623)
Browse files Browse the repository at this point in the history
* chore: release v0.7.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* update changelog

* Tweak CHANGELOG

* re-export core for clients as well

Co-authored-by: David Palm <dvdplm@gmail.com>
  • Loading branch information
niklasad1 and dvdplm authored Dec 22, 2021
1 parent f319d58 commit ab621ed
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 34 deletions.
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,55 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [v0.7.0] - 2022-12-22

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

`core`: common types used in various places.
`types`: includes JSON-RPC specification related types.

### [Added]

- servers: configurable subscriptionID [#604](https://github.com/paritytech/jsonrpsee/pull/604)
- client: impl Stream on Subscription and tweak built-in next() method [#601](https://github.com/paritytech/jsonrpsee/pull/601)
- ci: Create gitlab pipeline [#534](https://github.com/paritytech/jsonrpsee/pull/534)

### [Changed]

- chore: migrate to rust 2021 [#618](https://github.com/paritytech/jsonrpsee/pull/618)
- extract async client abstraction. [#580](https://github.com/paritytech/jsonrpsee/pull/580)
- Crate restructuring [#590](https://github.com/paritytech/jsonrpsee/pull/590)
- servers: refactor `SubscriptionClosed` [#612](https://github.com/paritytech/jsonrpsee/pull/612)
- ci: Add job to publish benchmark results to github pages [#603](https://github.com/paritytech/jsonrpsee/pull/603)
- rpc module: refactor calls/subs without a server [#591](https://github.com/paritytech/jsonrpsee/pull/591)
- types: make subscription ID a CoW String. [#594](https://github.com/paritytech/jsonrpsee/pull/594)
- ci: remove GHA daily benchmark [#598](https://github.com/paritytech/jsonrpsee/pull/598)
- examples: Remove usage of the `palaver` crate in an example [#597](https://github.com/paritytech/jsonrpsee/pull/597)
- clients: use `FxHashMap` instead `FnvHashMap` [#592](https://github.com/paritytech/jsonrpsee/pull/592)
- clients: feature gate `tls` [#545](https://github.com/paritytech/jsonrpsee/pull/545)

### [Fixed]

- benches: fix image in check-bench job [#621](https://github.com/paritytech/jsonrpsee/pull/621)
- benches: update publish script [#619](https://github.com/paritytech/jsonrpsee/pull/619)
- chore(http client): remove needless clone [#620](https://github.com/paritytech/jsonrpsee/pull/620)
- jsonrpsee wrapper: make ws tls configurable [#616](https://github.com/paritytech/jsonrpsee/pull/616)
- deps: Upgrade `tracing-subscriber` [#615](https://github.com/paritytech/jsonrpsee/pull/615)
- proc macros: Fix span for underscore_token for tests to be equivalent on stable and nightly [#614](https://github.com/paritytech/jsonrpsee/pull/614)
- proc macros: Better error messages for method arguments ignored with a `_` [#611](https://github.com/paritytech/jsonrpsee/pull/611)
- http client: re-export transport types. [#607](https://github.com/paritytech/jsonrpsee/pull/607)
- benches: Fix job to publish benchmark results to gh-pages [#608](https://github.com/paritytech/jsonrpsee/pull/608)
- benches: make jsonrpc crates optional [#596](https://github.com/paritytech/jsonrpsee/pull/596)
- deps: duplicate env logger deps [#595](https://github.com/paritytech/jsonrpsee/pull/595)

## [v0.6.1] – 2021-12-07

### [Added]

- rpc module: add call_and_subscribe [#588](https://github.com/paritytech/jsonrpsee/pull/588)


## [v0.6.0] – 2021-12-01

v0.6 is a breaking release
Expand Down Expand Up @@ -78,7 +127,7 @@ The v0.4 release is a breaking change.

### [Added]

- Document resource limiting (#510)
- Document resource limiting [#510](https://github.com/paritytech/jsonrpsee/pull/510)

- Resource limiting [#500](https://github.com/paritytech/jsonrpsee/pull/500)

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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.1" }
jsonrpsee-core = { path = "../../core", version = "0.6.1", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../../types", version = "0.7.0" }
jsonrpsee-core = { path = "../../core", version = "0.7.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.6.1"
version = "0.7.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.6.1", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.6.1", features = ["client"] }
jsonrpsee-types = { path = "../../types", version = "0.7.0", optional = true }
jsonrpsee-core = { path = "../../core", version = "0.7.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 }
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.6.1"
version = "0.7.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.6.1" }
jsonrpsee-client-transport = { path = "../transport", version = "0.6.1", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.6.1", features = ["async-client"] }
jsonrpsee-types = { path = "../../types", version = "0.7.0" }
jsonrpsee-client-transport = { path = "../transport", version = "0.7.0", features = ["ws"] }
jsonrpsee-core = { path = "../../core", version = "0.7.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.6.1"
version = "0.7.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for jsonrpsee"
edition = "2021"
Expand All @@ -15,7 +15,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.6.1" }
jsonrpsee-types = { path = "../types", version = "0.7.0" }
tracing = { version = "0.1", optional = true }
rustc-hash = { version = "1", optional = true }
rand = { version = "0.8", optional = true }
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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.1" }
jsonrpsee-core = { path = "../core", version = "0.6.1", features = ["server", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.7.0" }
jsonrpsee-core = { path = "../core", version = "0.7.0", features = ["server", "http-helpers"] }
globset = "0.4"
lazy_static = "1.4"
tracing = "0.1"
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.6.1"
version = "0.7.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
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.6.1", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.6.1", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.6.1", package = "jsonrpsee-client-transport", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.6.1", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.6.1", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.6.1", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-core = { path = "../core", version = "0.6.1", package = "jsonrpsee-core", optional = true }
jsonrpsee-types = { path = "../types", version = "0.6.1", package = "jsonrpsee-types", optional = true }
jsonrpsee-http-client = { path = "../client/http-client", version = "0.7.0", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.7.0", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-client-transport = { path = "../client/transport", version = "0.7.0", package = "jsonrpsee-client-transport", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.7.0", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.7.0", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.7.0", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-core = { path = "../core", version = "0.7.0", package = "jsonrpsee-core", optional = true }
jsonrpsee-types = { path = "../types", version = "0.7.0", package = "jsonrpsee-types", optional = true }

[features]
client-ws-transport = ["jsonrpsee-client-transport/ws", "jsonrpsee-client-transport/tls"]
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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.1"
version = "0.7.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.6.0" }
jsonrpsee-core = { path = "../core", version = "0.6.1", features = ["server"] }
jsonrpsee-types = { path = "../types", version = "0.7.0" }
jsonrpsee-core = { path = "../core", version = "0.7.0", features = ["server"] }
tracing = "0.1"
serde_json = { version = "1", features = ["raw_value"] }
soketto = "0.7.1"
Expand Down

0 comments on commit ab621ed

Please sign in to comment.