Skip to content

Bumped jsonrpsee from 0.20 to 0.26#81

Closed
merkle-maren wants to merge 1 commit intostellar:mainfrom
warp-driver:update-jsonrpsee
Closed

Bumped jsonrpsee from 0.20 to 0.26#81
merkle-maren wants to merge 1 commit intostellar:mainfrom
warp-driver:update-jsonrpsee

Conversation

@merkle-maren
Copy link
Copy Markdown

What

Bumps jsonrpsee from 0.20 to 0.26. Also lowers the tokio requirement from 1.43 to 1.42 for compatibility with jsonrpsee 0.26 — semver-compatible, so an app will still resolve to the newest available.

Why

Porting soroban-rs to run inside a WASIp2 runtime. That depends on an unmerged tokio branch; there's an open PR on jsonrpsee tracking it. Full WASIp2 support comes in a later PR once that's stable. This update is non-breaking and is a required dependency of that work — no reason to block it.

Known limitations

N/A

Copilot AI review requested due to automatic review settings March 19, 2026 09:25
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedserde_json@​1.0.108 ⏵ 1.0.1498210093100100
Updatedjsonrpsee-core@​0.20.3 ⏵ 0.26.010010093100100
Updatedjsonrpsee-http-client@​0.20.3 ⏵ 0.26.098 -110093100100

View full report

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the crate’s JSON-RPC networking stack to jsonrpsee 0.26 (and corresponding transitive networking deps), along with a minor tokio version requirement adjustment for compatibility with that upgrade.

Changes:

  • Bumped jsonrpsee-http-client / jsonrpsee-core from 0.20.x to 0.26.0.
  • Lowered the direct tokio version requirement from 1.43.1 to 1.42.
  • Updated the public error type to use jsonrpsee_core::ClientError and refreshed Cargo.lock accordingly.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/lib.rs Updates the Error::JsonRpc variant’s inner type for jsonrpsee 0.26 compatibility.
Cargo.toml Bumps jsonrpsee deps and relaxes the tokio minimum version requirement.
Cargo.lock Refreshes the resolved dependency graph for the jsonrpsee/hyper/rustls upgrades.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/lib.rs
Comment on lines 59 to 61
#[error(transparent)]
JsonRpc(#[from] jsonrpsee_core::Error),
JsonRpc(#[from] jsonrpsee_core::ClientError),
#[error("json decoding error: {0}")]
Comment thread src/lib.rs
Comment on lines +60 to 61
JsonRpc(#[from] jsonrpsee_core::ClientError),
#[error("json decoding error: {0}")]
@fnando
Copy link
Copy Markdown
Member

fnando commented Apr 16, 2026

Hey! Thanks for the pr.

This upgrade is already available on the latest 26.0.0-rc.2.

@fnando fnando closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants