Unverified Commit 42ffbcc6 authored by David's avatar David Committed by GitHub
Browse files

[chore] Release v0.5 (#574)



* Bump version –> 0.5
Fix try-build tests

* Changelog

* Update CHANGELOG.md

Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
parent 085df414
......@@ -6,6 +6,42 @@ The format is based on [Keep a Changelog].
## [Unreleased]
## [v0.5.0] – 2021-11-23
v0.5 is a breaking release
### [Added]
- Add register_blocking_method [#523](https://github.com/paritytech/jsonrpsee/pull/523)
- Re-introduce object param parsing [#526](https://github.com/paritytech/jsonrpsee/pull/526)
- clients: add support for webpki and native certificate stores [#533](https://github.com/paritytech/jsonrpsee/pull/533)
- feat(ws client): support custom headers. [#535](https://github.com/paritytech/jsonrpsee/pull/535)
- Proc macro support for map param [#544](https://github.com/paritytech/jsonrpsee/pull/544)
- feat: make it possible to try several sockaddrs when starting server [#567](https://github.com/paritytech/jsonrpsee/pull/567)
- feat: make it possible to override method name in subscriptions [#568](https://github.com/paritytech/jsonrpsee/pull/568)
- proc-macros: Support deprecated methods for rpc client [#570](https://github.com/paritytech/jsonrpsee/pull/570)
### [Change]
- DRY error handling for methods [#515](https://github.com/paritytech/jsonrpsee/pull/515)
- deps: replace log with tracing [#525](https://github.com/paritytech/jsonrpsee/pull/525)
- benches: add option to run benchmarks against jsonrpc crate servers [#527](https://github.com/paritytech/jsonrpsee/pull/527)
- clients: request ID as RAII guard [#543](https://github.com/paritytech/jsonrpsee/pull/543)
- Allow awaiting on server handles [#550](https://github.com/paritytech/jsonrpsee/pull/550)
- ws server: reject too big response [#553](https://github.com/paritytech/jsonrpsee/pull/553)
- Array syntax aliases [#557](https://github.com/paritytech/jsonrpsee/pull/557)
- rpc module: report error on invalid subscription [#561](https://github.com/paritytech/jsonrpsee/pull/561)
- [rpc module]: improve TestSubscription to return None when closed [#566](https://github.com/paritytech/jsonrpsee/pull/566)
### [Fixed]
- ws server: respect max limit for received messages [#537](https://github.com/paritytech/jsonrpsee/pull/537)
- fix(ws server): batch wait until all methods has been executed. [#542](https://github.com/paritytech/jsonrpsee/pull/542)
- Re-export tracing for macros [#555](https://github.com/paritytech/jsonrpsee/pull/555)
- Periodically wake DriverSelect so we can poll whether or not stop had been called. [#556](https://github.com/paritytech/jsonrpsee/pull/556)
- Implement SubscriptionClient for HttpClient [#563](https://github.com/paritytech/jsonrpsee/pull/563)
- fix: better log for failed unsubscription call [#575](https://github.com/paritytech/jsonrpsee/pull/575)
## [v0.4.1] – 2021-10-12
The v0.4.1 release is a bug fix.
......
[package]
name = "jsonrpsee-benchmarks"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Benchmarks for jsonrpsee"
edition = "2018"
......
[package]
name = "jsonrpsee-examples"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Examples for jsonrpsee"
edition = "2018"
......
[package]
name = "jsonrpsee-http-client"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP client for JSON-RPC"
edition = "2018"
......@@ -14,8 +14,8 @@ async-trait = "0.1"
fnv = "1"
hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] }
hyper-rustls = { version = "0.23", features = ["webpki-tokio"] }
jsonrpsee-types = { path = "../types", version = "0.4.1" }
jsonrpsee-utils = { path = "../utils", version = "0.4.1", features = ["client", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.5.0" }
jsonrpsee-utils = { path = "../utils", version = "0.5.0", features = ["client", "http-helpers"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
......
[package]
name = "jsonrpsee-http-server"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "HTTP server for JSON-RPC"
edition = "2018"
......@@ -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.4.1" }
jsonrpsee-utils = { path = "../utils", version = "0.4.1", features = ["server", "http-helpers"] }
jsonrpsee-types = { path = "../types", version = "0.5.0" }
jsonrpsee-utils = { path = "../utils", version = "0.5.0", features = ["server", "http-helpers"] }
globset = "0.4"
lazy_static = "1.4"
tracing = "0.1"
......
[package]
name = "jsonrpsee"
description = "JSON-RPC crate"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2018"
......@@ -12,13 +12,13 @@ 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 = "../http-client", version = "0.4.1", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.4.1", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-client = { path = "../ws-client", version = "0.4.1", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.4.1", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.4.1", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-utils = { path = "../utils", version = "0.4.1", package = "jsonrpsee-utils", optional = true }
jsonrpsee-types = { path = "../types", version = "0.4.1", package = "jsonrpsee-types", optional = true }
jsonrpsee-http-client = { path = "../http-client", version = "0.5.0", package = "jsonrpsee-http-client", optional = true }
jsonrpsee-http-server = { path = "../http-server", version = "0.5.0", package = "jsonrpsee-http-server", optional = true }
jsonrpsee-ws-client = { path = "../ws-client", version = "0.5.0", package = "jsonrpsee-ws-client", optional = true }
jsonrpsee-ws-server = { path = "../ws-server", version = "0.5.0", package = "jsonrpsee-ws-server", optional = true }
jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.5.0", package = "jsonrpsee-proc-macros", optional = true }
jsonrpsee-utils = { path = "../utils", version = "0.5.0", package = "jsonrpsee-utils", optional = true }
jsonrpsee-types = { path = "../types", version = "0.5.0", package = "jsonrpsee-types", optional = true }
[features]
http-client = ["jsonrpsee-http-client", "jsonrpsee-types", "jsonrpsee-utils/client"]
......
[package]
name = "jsonrpsee-proc-macros"
description = "Procedueral macros for jsonrpsee"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2018"
......
error: Unknown argument `magic`, expected one of: `aliases`, `blocking`, `name`, `param_kind`, `resources`
--> tests/ui/incorrect/method/method_unexpected_field.rs:6:25
--> $DIR/method_unexpected_field.rs:6:25
|
6 | #[method(name = "foo", magic = false)]
| ^^^^^
error: "override" is already defined
--> tests/ui/incorrect/sub/sub_dup_name_override.rs:9:5
--> $DIR/sub_dup_name_override.rs:9:5
|
9 | fn two(&self) -> RpcResult<()>;
| ^^^
error: "one" is already defined
--> tests/ui/incorrect/sub/sub_name_override.rs:7:5
--> $DIR/sub_name_override.rs:7:5
|
7 | fn one(&self) -> RpcResult<()>;
| ^^^
error: Unknown argument `magic`, expected one of: `aliases`, `item`, `name`, `param_kind`, `unsubscribe_aliases`
--> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:42
--> $DIR/sub_unsupported_field.rs:6:42
|
6 | #[subscription(name = "sub", item = u8, magic = true)]
| ^^^^^
[package]
name = "jsonrpsee-test-utils"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
edition = "2018"
......
[package]
name = "jsonrpsee-integration-tests"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Integration tests for jsonrpsee"
edition = "2018"
......
[package]
name = "jsonrpsee-types"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Shared types for jsonrpsee"
edition = "2018"
......
[package]
name = "jsonrpsee-utils"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for jsonrpsee"
edition = "2018"
......@@ -13,7 +13,7 @@ thiserror = { version = "1", optional = true }
futures-channel = { version = "0.3.14", default-features = false, optional = true }
futures-util = { version = "0.3.14", default-features = false, optional = true }
hyper = { version = "0.14.10", default-features = false, features = ["stream"], optional = true }
jsonrpsee-types = { path = "../types", version = "0.4.1", optional = true }
jsonrpsee-types = { path = "../types", version = "0.5.0", optional = true }
tracing = { version = "0.1", optional = true }
rustc-hash = { version = "1", optional = true }
rand = { version = "0.8", optional = true }
......
[package]
name = "jsonrpsee-ws-client"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket client for JSON-RPC"
edition = "2018"
......@@ -14,7 +14,7 @@ async-trait = "0.1"
fnv = "1"
futures = { version = "0.3.14", default-features = false, features = ["std"] }
http = "0.2"
jsonrpsee-types = { path = "../types", version = "0.4.1" }
jsonrpsee-types = { path = "../types", version = "0.5.0" }
pin-project = "1"
rustls-native-certs = "0.6.0"
serde = "1"
......
[package]
name = "jsonrpsee-ws-server"
version = "0.4.1"
version = "0.5.0"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "WebSocket server for JSON-RPC"
edition = "2018"
......@@ -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.4.1" }
jsonrpsee-utils = { path = "../utils", version = "0.4.1", features = ["server"] }
jsonrpsee-types = { path = "../types", version = "0.5.0" }
jsonrpsee-utils = { path = "../utils", version = "0.5.0", features = ["server"] }
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