Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
82113dc2
Unverified
Commit
82113dc2
authored
Nov 18, 2022
by
Niklas Adolfsson
Committed by
GitHub
Nov 18, 2022
Browse files
chore: release 0.16.1 (#943)
* chore: release 0.16.1 * Update CHANGELOG.md
parent
dbac4bdb
Pipeline
#227799
failed with stages
in 1 minute and 50 seconds
Changes
15
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
82113dc2
...
...
@@ -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:
...
...
README.md
View file @
82113dc2
...
...
@@ -6,7 +6,7 @@

[

](https://github.com/paritytech/jsonrpsee/actions/workflows/ci.yml)
[

](https://github.com/paritytech/jsonrpsee/actions/workflows/benchmarks.yml)
[

](https://deps.rs/crate/jsonrpsee/0.16.
0
)
[

](https://deps.rs/crate/jsonrpsee/0.16.
1
)
JSON-RPC library designed for async/await in Rust.
...
...
benches/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-benchmarks"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
]
description
=
"Benchmarks for jsonrpsee"
edition
=
"2021"
...
...
client/http-client/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-http-client"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
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.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"
...
...
client/transport/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-client-transport"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
,
"Pierre Krieger <pierre.krieger1708@gmail.com>"
]
description
=
"JSON-RPC client transport"
edition
=
"2021"
...
...
@@ -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
...
...
client/wasm-client/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-wasm-client"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
,
"Pierre Krieger <pierre.krieger1708@gmail.com>"
]
description
=
"WASM client for JSON-RPC"
edition
=
"2021"
...
...
@@ -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"]
}
client/ws-client/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-ws-client"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
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.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]
...
...
core/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-core"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
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.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"]
}
...
...
examples/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-examples"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
]
description
=
"Examples for jsonrpsee"
edition
=
"2021"
...
...
jsonrpsee/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee"
description
=
"JSON-RPC crate"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
,
"Pierre Krieger <pierre.krieger1708@gmail.com>"
]
license
=
"MIT"
edition
=
"2021"
...
...
@@ -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]
...
...
proc-macros/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-proc-macros"
description
=
"Procedueral macros for jsonrpsee"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
,
"Pierre Krieger <pierre.krieger1708@gmail.com>"
]
license
=
"MIT"
edition
=
"2021"
...
...
server/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-server"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
,
"Pierre Krieger <pierre.krieger1708@gmail.com>"
]
description
=
"JSON-RPC server that supports HTTP and WebSocket transports"
edition
=
"2021"
...
...
@@ -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"]
}
...
...
test-utils/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-test-utils"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
]
license
=
"MIT"
edition
=
"2021"
...
...
tests/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-integration-tests"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
]
description
=
"Integration tests for jsonrpsee"
edition
=
"2021"
...
...
types/Cargo.toml
View file @
82113dc2
[package]
name
=
"jsonrpsee-types"
version
=
"0.16.
0
"
version
=
"0.16.
1
"
authors
=
[
"Parity Technologies <admin@parity.io>"
]
description
=
"Shared types for jsonrpsee"
edition
=
"2021"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment