chore(deps): bump sha2 from 0.10.9 to 0.11.1 (#807)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-11-17 11:57:28 -07:00
1 parent a076dfd648
commit 73680940cb
4 files changed
+9 -7

No files matched your search

Generated
+5 -4
View File
@@ -11373,11 +11373,12 @@ dependencies = [
"async-trait",
"base64 0.23.1",
"chrono",
"hex",
"log 0.4.34",
"md5",
"rusqlite",
"serde_json",
"sha2 0.10.9",
"sha2 0.11.1",
"tempfile",
"thiserror 2.0.21",
"tokio",
@@ -11521,7 +11522,7 @@ dependencies = [
"schemars 0.8.22",
"serde",
"serde_json",
"sha2 0.10.9",
"sha2 0.11.1",
"tempfile",
"tokio",
"walkdir",
@@ -11791,7 +11792,7 @@ dependencies = [
"sea-query-rusqlite",
"serde",
"serde_json",
"sha2 0.10.9",
"sha2 0.11.1",
"thiserror 2.0.21",
"ts-rs",
"urlencoding",
@@ -11834,7 +11835,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"sha2 0.10.9",
"sha2 0.11.1",
"thiserror 2.0.21",
"tokio",
"tokio-tungstenite",
+1 -1
View File
@@ -66,7 +66,7 @@ rustls-platform-verifier = "0.7.1"
schemars = { version = "0.8.22", features = ["chrono"] }
serde = "1.0.228"
serde_json = "1.0.145"
sha2 = "0.10.9"
sha2 = "0.11.1"
tauri = { version = "2.11.1", default-features = false, features = [
"common-controls-v6",
"compression",
+1
View File
@@ -7,6 +7,7 @@ publish = false
[dependencies]
async-trait = "0.1"
base64 = "0.23.1" # For carrying body chunks over a text-only plugin transport
hex = { workspace = true }
log = { workspace = true }
md5 = "0.8.0"
sha2 = { workspace = true }
+2 -2
View File
@@ -1675,7 +1675,7 @@ fn content_hash(value: Value, keep_order: bool) -> String {
fn hash_comparable(value: &Value) -> String {
let canonical = serde_json::to_string(&sorted_keys(value.clone())).unwrap_or_default();
format!("{}{:x}", content_hash_version(value), Sha256::digest(canonical.as_bytes()))
format!("{}{}", content_hash_version(value), hex::encode(Sha256::digest(canonical.as_bytes())))
}
/// The fields two comparable forms disagree on, so a preview row can explain itself.
@@ -3806,7 +3806,7 @@ mod tests {
let mut value = comparable(serde_json::to_value(environment).unwrap());
value["name"] = json!(environment.name);
let canonical = serde_json::to_string(&sorted_keys(value)).unwrap();
let hash = format!("v1:{:x}", Sha256::digest(canonical.as_bytes()));
let hash = format!("v1:{}", hex::encode(Sha256::digest(canonical.as_bytes())));
let row = source_rows(&query_manager, workspace_id)
.into_iter()
.find(|r| r.model_id.as_deref() == Some(environment.id.as_str()))