fix(deps): upgrade diesel to 2.3.8 for RUSTSEC-2026-0111#7790
Conversation
|
If you're new to commit signing, there are different ways to set it up: Sign commits with
|
There was a problem hiding this comment.
Code Review
This pull request updates the diesel dependency from version 2.2.10 to 2.3.8 and diesel_migrations to version 2.3 across several crates, including transaction_key_manager, wallet, common_sqlite, comms/core, and comms/dht. The Cargo.lock file reflects these updates along with corresponding changes to related crates like wasm-bindgen and the addition of new transitive dependencies. I have no feedback to provide.
182f379 to
a111c40
Compare
Upgrade Diesel from 2.2.10 to 2.3.8 across wallet/comms/sqlite crates and refresh diesel_migrations to 2.3.x to address RUSTSEC-2026-0111. Closes tari-project#7787.
a111c40 to
e75e1bd
Compare
|
Pushed an updated commit signed via SSH (new head: e75e1bd). CI is showing “action_required” with 0 jobs, so I suspect it’s just waiting for maintainer approval to run workflows on this PR/fork. |
Description
Upgrade Diesel dependencies from 2.2.10 to 2.3.8 across Tari crates that use the SQLite backend, and refresh diesel_migrations to 2.3.
This addresses the RUSTSEC-2026-0111 advisory (possible UTF-8 corruption unsoundness in Diesel's SQLite backend).
Motivation and Context
Issue #7787 reports that the workspace lockfile includes vulnerable diesel 2.2.10.
This patch keeps the scope limited to dependency updates in crates that directly depend on Diesel:
How Has This Been Tested?
Note: local toolchain in this environment is rustc 1.92.0 while workspace requires 1.93.0; therefore --ignore-rust-version was used for local verification.
What process can a PR reviewer use to test or verify this change?
cargo check --locked -p tari_common_sqlite -p tari_comms -p tari_comms_dht -p tari_transaction_key_manager -p minotari_wallet
Breaking Changes
Closes #7787.