From 3db76a829d63adc2a4d9209ad09d86a77f852db1 Mon Sep 17 00:00:00 2001 From: Nam Rodriguez Date: Fri, 4 Dec 2026 14:47:29 -0500 Subject: [PATCH] Three Cargo majors, and the majors that need migration wait for it tree-sitter-javascript 0.25, lambda_runtime 1.5 and yaml-rust2 0.13 build with no code change. Two sets of majors need migration first, so Dependabot leaves their version updates alone (security updates still come): - sha1 0.11 is on digest 0.11, while HMAC (hmac 0.12, sha1 0.10, sha2 0.10) is on digest 0.10, and the gateway already takes sha1 0.11 as sha1_rsa: as written, Cargo refuses the same crate under two names. - The Jira app's Forge packages move together: @forge/api 8 removed `storage`, which keeps the app's settings and its reply state. --- .github/dependabot.yml | 24 +++++++++++ services/Cargo.lock | 85 +++++++++++++++++++++++++------------ services/common/Cargo.toml | 2 +- services/gateway/Cargo.toml | 2 +- services/worker/Cargo.toml | 4 +- 5 files changed, 85 insertions(+), 32 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7fd43294..86c010b6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -41,6 +41,15 @@ updates: cargo-security: applies-to: security-updates patterns: ["*"] + # Major versions that need migration work first. Security updates still + # come for them; only version-update pull requests wait. + ignore: + # sha1 0.11 is on digest 0.11, while HMAC (hmac 0.12, with sha1 0.10 and + # sha2 0.10) is on digest 0.10, and the gateway already takes sha1 0.11 + # as `sha1_rsa` for rsa 0.10. Moving takes hmac 0.13 and sha2 0.11 with + # it, in every HMAC user. + - dependency-name: "sha1" + update-types: ["version-update:semver-major"] commit-message: prefix: "deps" @@ -68,6 +77,21 @@ updates: npm-security: applies-to: security-updates patterns: ["*"] + # Major versions that need migration work first. Security updates still + # come for them; only version-update pull requests wait. + ignore: + # The Jira app's Forge packages move together. @forge/api 8 removed + # `storage`, which keeps the app's settings and its reply state: they + # move to @forge/kvs first, and are checked on a development site, + # since the tests here never load the Forge runtime. + - dependency-name: "@forge/api" + update-types: ["version-update:semver-major"] + - dependency-name: "@forge/resolver" + update-types: ["version-update:semver-major"] + - dependency-name: "@forge/bridge" + update-types: ["version-update:semver-major"] + - dependency-name: "@forge/react" + update-types: ["version-update:semver-major"] commit-message: prefix: "deps" diff --git a/services/Cargo.lock b/services/Cargo.lock index 35f25fdf..adfa82ed 100644 --- a/services/Cargo.lock +++ b/services/Cargo.lock @@ -2448,12 +2448,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "foldhash" version = "0.2.0" @@ -2605,7 +2599,7 @@ dependencies = [ "hmac 0.12.1", "jsonwebtoken", "lambda_http", - "lambda_runtime", + "lambda_runtime 1.5.0", "md5", "mentedb", "mentedb-core", @@ -2741,31 +2735,22 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "foldhash 0.1.5", -] - [[package]] name = "hashbrown" version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" dependencies = [ - "foldhash 0.2.0", + "foldhash", ] [[package]] name = "hashlink" -version = "0.10.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +checksum = "a596f1b20ed2cc5ecac41a164aaebc7258057060f06c0cf7a2ba3991ee7990fb" dependencies = [ - "hashbrown 0.15.5", + "hashbrown 0.17.1", ] [[package]] @@ -3207,7 +3192,7 @@ dependencies = [ "http-body", "http-body-util", "hyper", - "lambda_runtime", + "lambda_runtime 0.13.0", "mime", "percent-encoding", "pin-project-lite", @@ -3234,7 +3219,7 @@ dependencies = [ "http-serde", "hyper", "hyper-util", - "lambda_runtime_api_client", + "lambda_runtime_api_client 0.11.1", "pin-project", "serde", "serde_json", @@ -3246,6 +3231,31 @@ dependencies = [ "tracing", ] +[[package]] +name = "lambda_runtime" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "299ff04ffc8ff30a26f5a45fbad8f04dbaf9f05ba035e220045754955138c19c" +dependencies = [ + "async-stream", + "base64 0.22.1", + "bytes", + "futures", + "http", + "http-body-util", + "http-serde", + "hyper", + "lambda_runtime_api_client 1.1.1", + "pin-project", + "serde", + "serde_json", + "serde_path_to_error", + "tokio", + "tokio-stream", + "tower 0.5.3", + "tracing", +] + [[package]] name = "lambda_runtime_api_client" version = "0.11.1" @@ -3267,6 +3277,25 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "lambda_runtime_api_client" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09c46c8324555826a4040136b25ed8c1abb45ab2969f7ec1c3324048ed0c29a2" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "tower 0.5.3", + "tracing", + "tracing-subscriber", +] + [[package]] name = "lazy_static" version = "1.5.1" @@ -4501,7 +4530,7 @@ version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ - "foldhash 0.2.0", + "foldhash", "indexmap 2.14.2", "itoa", "memchr", @@ -5259,9 +5288,9 @@ dependencies = [ [[package]] name = "tree-sitter-javascript" -version = "0.23.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf40bf599e0416c16c125c3cec10ee5ddc7d1bb8b0c60fa5c4de249ad34dc1b1" +checksum = "68204f2abc0627a90bdf06e605f5c470aa26fdcb2081ea553a04bdad756693f5" dependencies = [ "cc", "tree-sitter-language", @@ -5831,7 +5860,7 @@ dependencies = [ "futures", "http", "jsonwebtoken", - "lambda_runtime", + "lambda_runtime 1.5.0", "mentedb", "mentedb-core", "mentedb-embedding", @@ -5895,9 +5924,9 @@ checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" [[package]] name = "yaml-rust2" -version = "0.10.4" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2462ea039c445496d8793d052e13787f2b90e750b833afee748e601c17621ed9" +checksum = "4a8af4469040402b7fe43c26575bab9a3069f0717c4a2931ecf4fb8728ee4cec" dependencies = [ "arraydeque", "encoding_rs", diff --git a/services/common/Cargo.toml b/services/common/Cargo.toml index 95c779a7..9c60da32 100644 --- a/services/common/Cargo.toml +++ b/services/common/Cargo.toml @@ -91,7 +91,7 @@ aws-sdk-s3 = { version = "1", default-features = false, features = ["default-htt # waf_logs: a web ACL's log objects (gzip JSON lines) read straight from its bucket flate2 = "1" lopdf = { version = "0.46", default-features = false } -yaml-rust2 = "0.10" +yaml-rust2 = "0.13" [dev-dependencies] # model_retry: a local fake server in the tests; test-util: paused clocks diff --git a/services/gateway/Cargo.toml b/services/gateway/Cargo.toml index 2bce6fbc..4d00008d 100644 --- a/services/gateway/Cargo.toml +++ b/services/gateway/Cargo.toml @@ -8,7 +8,7 @@ license.workspace = true common = { path = "../common" } # Lambda runtime lambda_http = "0.13" -lambda_runtime = "0.13" +lambda_runtime = "1.5" tokio = { version = "1", features = ["full"] } # Web framework diff --git a/services/worker/Cargo.toml b/services/worker/Cargo.toml index eed37646..e4bf2a75 100644 --- a/services/worker/Cargo.toml +++ b/services/worker/Cargo.toml @@ -7,7 +7,7 @@ license.workspace = true [dependencies] common = { path = "../common" } # Lambda runtime -lambda_runtime = "0.13" +lambda_runtime = "1.5" tokio = { version = "1", features = ["full"] } aws_lambda_events = { version = "0.15", default-features = false, features = ["sqs"] } @@ -79,7 +79,7 @@ tar = "0.4" # under cargo-zigbuild for the musl Lambda target) tree-sitter = "0.25" tree-sitter-typescript = "0.23" -tree-sitter-javascript = "0.23" +tree-sitter-javascript = "0.25" tree-sitter-python = "0.23" tree-sitter-rust = "0.24"