Skip to content

Commit 1bc85a2

Browse files
committed
Merge #408: Release tracking PR: jsonrpc v0.19.0
d3e73a7 jsonrpc: Bump version to 0.19.0 (Tobin C. Harding) 7b54dda jsonrpc: Grab missing changelog (Tobin C. Harding) 60915f2 jsonrpc: Update repository in manifest (Tobin C. Harding) Pull request description: Do a couple of minor cleanups then do the release patch - version bump, changelog, and lock files. ACKs for top commit: jamillambert: ACK d3e73a7 Tree-SHA512: af7adba2b2d6eb50fb59877f9c34c0fe4e6665befc828bf7d0a7e7839083c5a51dc80d3f7a1eb5be11a811346af588dbf2445fd6a00f54747040cd3bb5b869ce
2 parents f6f7979 + d3e73a7 commit 1bc85a2

File tree

6 files changed

+99
-7
lines changed

6 files changed

+99
-7
lines changed

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ dependencies = [
448448

449449
[[package]]
450450
name = "jsonrpc"
451-
version = "0.18.0"
451+
version = "0.19.0"
452452
dependencies = [
453453
"base64 0.22.1",
454454
"bitreq",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ dependencies = [
459459

460460
[[package]]
461461
name = "jsonrpc"
462-
version = "0.18.0"
462+
version = "0.19.0"
463463
dependencies = [
464464
"base64 0.22.1",
465465
"bitreq",

client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ serde = { version = "1.0.103", default-features = false, features = [ "derive",
2727
serde_json = { version = "1.0.117" }
2828
types = { package = "corepc-types", version = "0.11.0", path = "../types", default-features = false, features = ["std"] }
2929

30-
jsonrpc = { version = "0.18.0", path = "../jsonrpc", features = ["bitreq_http"], optional = true }
30+
jsonrpc = { version = "0.19.0", path = "../jsonrpc", features = ["bitreq_http"], optional = true }
3131

3232
[dev-dependencies]

client/src/client_sync/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ macro_rules! define_jsonrpc_bitreq_client {
8383
pub fn new(url: &str) -> Self {
8484
let transport = jsonrpc::http::bitreq_http::Builder::new()
8585
.url(url)
86-
.expect("jsonrpc v0.18, this function does not error")
86+
.expect("jsonrpc v0.19, this function does not error")
8787
.timeout(std::time::Duration::from_secs(60))
8888
.build();
8989
let inner = jsonrpc::client::Client::with_transport(transport);
@@ -100,7 +100,7 @@ macro_rules! define_jsonrpc_bitreq_client {
100100

101101
let transport = jsonrpc::http::bitreq_http::Builder::new()
102102
.url(url)
103-
.expect("jsonrpc v0.18, this function does not error")
103+
.expect("jsonrpc v0.19, this function does not error")
104104
.timeout(std::time::Duration::from_secs(60))
105105
.basic_auth(user.unwrap(), pass)
106106
.build();

jsonrpc/CHANGELOG.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# 0.19.0 - 2025-10-31
2+
3+
* Depend on `bitreq` [399](https://github.com/rust-bitcoin/corepc/pull/399)
4+
* Update MSRV to Rust `v1.75.0` [#405](https://github.com/rust-bitcoin/corepc/pull/405/)
5+
6+
# 0.18.0 - 2024-04-12
7+
8+
* simple_http: throw a specific error when transfer encoding is chunked
9+
[#114](https://github.com/apoelstra/rust-jsonrpc/pull/114)
10+
11+
# 0.17.0 - 2023-12-22
12+
13+
* `params` field in `Request` changed to a generic `RawValue` instead of an array.
14+
[#108](https://github.com/apoelstra/rust-jsonrpc/pull/108)
15+
16+
# 0.16.0 - 2023-06-29
17+
18+
* Re-export the `minreq` crate when the feature is set
19+
[#102](https://github.com/apoelstra/rust-jsonrpc/pull/102)
20+
* Don't treat HTTP errors with no JSON as JSON parsing errors
21+
[#103](https://github.com/apoelstra/rust-jsonrpc/pull/103)
22+
23+
# 0.15.0 - 2023-05-28
24+
25+
* Add new transport that uses `minreq`
26+
[#94](https://github.com/apoelstra/rust-jsonrpc/pull/94)
27+
* Bump MSRV to rust 1.48.0
28+
[#91](https://github.com/apoelstra/rust-jsonrpc/pull/91)
29+
30+
# 0.14.1 - 2023-04-03
31+
32+
* simple_http: fix "re-open socket on write failure" behavior
33+
[#84](https://github.com/apoelstra/rust-jsonrpc/pull/84)
34+
[#86](https://github.com/apoelstra/rust-jsonrpc/pull/86)
35+
* simple_http: add "host" header (required by HTTP 1.1)
36+
[#85](https://github.com/apoelstra/rust-jsonrpc/pull/85)
37+
* simple_http: add ability to replace URL/path; minor ergonomic improvements
38+
[#89](https://github.com/apoelstra/rust-jsonrpc/pull/89)
39+
40+
# 0.14.0 - 2022-11-28
41+
42+
This release significantly improves our `simple_http` client, though at the
43+
apparent cost of a performance regression when making repeated RPC calls to
44+
a local bitcoind. We are unsure what to make of this, since our code now uses
45+
fewer sockets, less memory and does less redundant processing.
46+
47+
The highlights are:
48+
49+
* Support JSON replies that span multiple lines
50+
[#70](https://github.com/apoelstra/rust-jsonrpc/pull/69)
51+
* Add feature-gated support for using a SOCKS proxy
52+
[#70](https://github.com/apoelstra/rust-jsonrpc/pull/70)
53+
* Fix resource exhaustive bug on MacOS by reusing sockets
54+
[#72](https://github.com/apoelstra/rust-jsonrpc/pull/72)
55+
[#76](https://github.com/apoelstra/rust-jsonrpc/pull/76)
56+
57+
As well as improvements to our code quality and test infrastructure.
58+
59+
# 0.13.0 - 2022-07-21 "Edition 2018 Release"
60+
61+
This release increases the MSRV to 1.41.1, bringing with it a bunch of new language features.
62+
63+
Some highlights:
64+
65+
- The MSRV bump [#58](https://github.com/apoelstra/rust-jsonrpc/pull/58)
66+
- Add IPv6 support [#63](https://github.com/apoelstra/rust-jsonrpc/pull/63)
67+
- Remove `serder_derive` dependency [#61](https://github.com/apoelstra/rust-jsonrpc/pull/61)
68+
69+
# 0.12.1 - 2022-01-20
70+
71+
## Features
72+
73+
* A new set of transports were added for JSONRPC over raw TCP sockets (one using `SocketAddr`, and
74+
one UNIX-only using Unix Domain Sockets)
75+
76+
## Bug fixes
77+
78+
* The `Content-Type` HTTP header is now correctly set to `application/json`
79+
* The `Connection: Close` HTTP header is now sent for requests
80+
81+
# 0.12.0 - 2020-12-16
82+
83+
* Remove `http` and `hyper` dependencies
84+
* Implement our own simple HTTP transport for Bitcoin Core
85+
* But allow use of generic transports
86+
87+
# 0.11.0 - 2019-04-05
88+
89+
* [Clean up the API](https://github.com/apoelstra/rust-jsonrpc/pull/19)
90+
* [Set the content-type header to json]((https://github.com/apoelstra/rust-jsonrpc/pull/21)
91+
* [Allow no `result` field in responses](https://github.com/apoelstra/rust-jsonrpc/pull/16)
92+
* [Add batch request support](https://github.com/apoelstra/rust-jsonrpc/pull/24)

jsonrpc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "jsonrpc"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
authors = ["Andrew Poelstra <[email protected]>"]
55
license = "CC0-1.0"
6-
repository = "https://github.com/rust-bitcoin/rust-bitcoind-json-rpc/"
6+
repository = "https://github.com/rust-bitcoin/corepc/"
77
documentation = "https://docs.rs/jsonrpc/"
88
description = "Rust support for the JSON-RPC 2.0 protocol"
99
keywords = [ "protocol", "json", "http", "jsonrpc" ]

0 commit comments

Comments
 (0)