diff --git a/CHANGELOG.md b/CHANGELOG.md index 38b07f2..f5f0f69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 > > Entries from 0.21.0 onward should be written by hand at release time. -## [Unreleased] +## [0.32.0] - 2026-10-29 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index c71bf29..15300c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1879,7 +1879,7 @@ checksum = "7ebb8d8732c6a6df3d8f032a82911cfc747e00efb95cc46e8d0acd5b5b88570c" [[package]] name = "mecmcp-approve" -version = "0.31.1" +version = "0.32.0" dependencies = [ "anyhow", "clap", @@ -1904,7 +1904,7 @@ dependencies = [ [[package]] name = "mecmcp-audit" -version = "0.31.1" +version = "0.32.0" dependencies = [ "base64 0.23.1", "chrono", @@ -1938,7 +1938,7 @@ dependencies = [ [[package]] name = "mecmcp-auth" -version = "0.31.1" +version = "0.32.0" dependencies = [ "arc-swap", "chrono", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "mecmcp-changeset" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "chrono", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "mecmcp-device" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "rustix", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "mecmcp-http" -version = "0.31.1" +version = "0.32.0" dependencies = [ "mecmcp-openapi", "mecmcp-secret", @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "mecmcp-inventory" -version = "0.31.1" +version = "0.32.0" dependencies = [ "mecmcp-auth", "mecmcp-secret", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "mecmcp-job" -version = "0.31.1" +version = "0.32.0" dependencies = [ "mecmcp-device", "thiserror 2.0.21", @@ -2043,7 +2043,7 @@ dependencies = [ [[package]] name = "mecmcp-oidc" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "aws-lc-rs", @@ -2061,14 +2061,14 @@ dependencies = [ [[package]] name = "mecmcp-openapi" -version = "0.31.1" +version = "0.32.0" dependencies = [ "thiserror 2.0.21", ] [[package]] name = "mecmcp-policy" -version = "0.31.1" +version = "0.32.0" dependencies = [ "globset", "quick-xml", @@ -2078,7 +2078,7 @@ dependencies = [ [[package]] name = "mecmcp-redact" -version = "0.31.1" +version = "0.32.0" dependencies = [ "clap", "hmac", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "mecmcp-runtime" -version = "0.31.1" +version = "0.32.0" dependencies = [ "anyhow", "clap", @@ -2113,7 +2113,7 @@ dependencies = [ [[package]] name = "mecmcp-scp" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "base64 0.23.1", @@ -2132,7 +2132,7 @@ dependencies = [ [[package]] name = "mecmcp-secret" -version = "0.31.1" +version = "0.32.0" dependencies = [ "rustix", "tempfile", @@ -2142,7 +2142,7 @@ dependencies = [ [[package]] name = "mecmcp-server" -version = "0.31.1" +version = "0.32.0" dependencies = [ "chrono", "http", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "mecmcp-transport" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "aws-lc-rs", diff --git a/Cargo.toml b/Cargo.toml index 3ae36db..c07111b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/mecmcp-auth", "crates/mecmcp-audit", "crates/mecmcp-changese resolver = "2" [workspace.package] -version = "0.31.1" +version = "0.32.0" edition = "2024" rust-version = "1.89" license = "MIT" diff --git a/crates/mecmcp-approve/Cargo.toml b/crates/mecmcp-approve/Cargo.toml index 3c6d040..d537ba2 100644 --- a/crates/mecmcp-approve/Cargo.toml +++ b/crates/mecmcp-approve/Cargo.toml @@ -16,8 +16,8 @@ path = "src/main.rs" workspace = true [dependencies] -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } -mecmcp-transport = { version = "0.31.1", path = "../mecmcp-transport" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } +mecmcp-transport = { version = "0.32.0", path = "../mecmcp-transport" } # Minimal: only `rmcp::model`'s typed `CallToolRequestParams`/`CallToolResult`, # so the approve call's request/response shapes stay identical to what a real # MCP server returns instead of a hand-rolled JSON guess. No transport or diff --git a/crates/mecmcp-audit/Cargo.toml b/crates/mecmcp-audit/Cargo.toml index fe3627c..e66582a 100644 --- a/crates/mecmcp-audit/Cargo.toml +++ b/crates/mecmcp-audit/Cargo.toml @@ -12,8 +12,8 @@ authors.workspace = true workspace = true [dependencies] -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth" } -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } base64 = { workspace = true } chrono = { workspace = true } ed25519-dalek = { workspace = true } @@ -69,7 +69,7 @@ otel = [ ] [dev-dependencies] -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth", features = ["test-util"] } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth", features = ["test-util"] } # Test-only: the exporter is used solely to render metrics in unit tests. # It must NOT be a normal dependency — its default features pull an HTTP # listener and hyper-rustls, which enables rustls's aws-lc-rs backend and diff --git a/crates/mecmcp-auth/Cargo.toml b/crates/mecmcp-auth/Cargo.toml index 22956e5..9a3a4bd 100644 --- a/crates/mecmcp-auth/Cargo.toml +++ b/crates/mecmcp-auth/Cargo.toml @@ -17,7 +17,7 @@ workspace = true test-util = [] [dependencies] -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } arc-swap = { workspace = true } chrono = { workspace = true } getrandom = { workspace = true } diff --git a/crates/mecmcp-changeset/Cargo.toml b/crates/mecmcp-changeset/Cargo.toml index 9491c80..79b08a2 100644 --- a/crates/mecmcp-changeset/Cargo.toml +++ b/crates/mecmcp-changeset/Cargo.toml @@ -8,7 +8,7 @@ repository.workspace = true authors.workspace = true [dependencies] -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit" } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit" } async-trait = { workspace = true } hex = "0.4" serde = { workspace = true } @@ -20,8 +20,8 @@ getrandom = { workspace = true } tokio = { version = "1", features = ["sync", "macros", "rt", "time"] } tokio-util = { version = "0.7" } tempfile = { workspace = true } -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } -mecmcp-redact = { version = "0.31.1", path = "../mecmcp-redact" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } +mecmcp-redact = { version = "0.32.0", path = "../mecmcp-redact" } rustix = { workspace = true } # Reporting only: the one place an evidence write can fail after the device has # already acted, where refusing is impossible and silence is unacceptable. @@ -39,9 +39,9 @@ test-util = [] [dev-dependencies] hex = "0.4" -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth", features = ["test-util"] } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth", features = ["test-util"] } # The approve-handler scope test composes the shared `authorize_target` with the coordinator. -mecmcp-server = { version = "0.31.1", path = "../mecmcp-server" } +mecmcp-server = { version = "0.32.0", path = "../mecmcp-server" } chrono = { workspace = true } # `rt-multi-thread` for tests only. The atomic-claim test has to be able to # fail: on a current-thread runtime the claimants never interleave, so a diff --git a/crates/mecmcp-http/Cargo.toml b/crates/mecmcp-http/Cargo.toml index da98571..ece9fce 100644 --- a/crates/mecmcp-http/Cargo.toml +++ b/crates/mecmcp-http/Cargo.toml @@ -21,8 +21,8 @@ workspace = true absolute-url = [] [dependencies] -mecmcp-openapi = { version = "0.31.1", path = "../mecmcp-openapi" } -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-openapi = { version = "0.32.0", path = "../mecmcp-openapi" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } # "rustls-no-provider", NOT "rustls". Decision D4: the provider is a parameter # the consumer picks, and reqwest's "rustls" feature would enable # rustls/aws-lc-rs as a Cargo feature across the whole graph. That unification is diff --git a/crates/mecmcp-inventory/Cargo.toml b/crates/mecmcp-inventory/Cargo.toml index 90de443..2b88c9b 100644 --- a/crates/mecmcp-inventory/Cargo.toml +++ b/crates/mecmcp-inventory/Cargo.toml @@ -8,7 +8,7 @@ repository.workspace = true authors.workspace = true [dependencies] -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } serde = { workspace = true } serde_json = { workspace = true } sha2 = { workspace = true } @@ -17,7 +17,7 @@ thiserror = { workspace = true } tokio = { version = "1", features = ["sync"] } [dev-dependencies] -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth" } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth" } [lints] workspace = true diff --git a/crates/mecmcp-job/Cargo.toml b/crates/mecmcp-job/Cargo.toml index 5268463..b163f38 100644 --- a/crates/mecmcp-job/Cargo.toml +++ b/crates/mecmcp-job/Cargo.toml @@ -12,7 +12,7 @@ authors.workspace = true workspace = true [dependencies] -mecmcp-device = { version = "0.31.1", path = "../mecmcp-device" } +mecmcp-device = { version = "0.32.0", path = "../mecmcp-device" } thiserror = { workspace = true } tokio = { version = "1", features = ["time"] } tokio-util = { workspace = true } diff --git a/crates/mecmcp-oidc/Cargo.toml b/crates/mecmcp-oidc/Cargo.toml index 608ae0d..5298251 100644 --- a/crates/mecmcp-oidc/Cargo.toml +++ b/crates/mecmcp-oidc/Cargo.toml @@ -12,7 +12,7 @@ authors.workspace = true workspace = true [dependencies] -mecmcp-http = { version = "0.31.1", path = "../mecmcp-http", features = ["absolute-url"] } +mecmcp-http = { version = "0.32.0", path = "../mecmcp-http", features = ["absolute-url"] } async-trait = { workspace = true } subtle = { workspace = true } # Widely-used, actively maintained JWT crate (>200M downloads) with a built-in diff --git a/crates/mecmcp-runtime/Cargo.toml b/crates/mecmcp-runtime/Cargo.toml index ef5e0ad..fc99848 100644 --- a/crates/mecmcp-runtime/Cargo.toml +++ b/crates/mecmcp-runtime/Cargo.toml @@ -21,9 +21,9 @@ anyhow = "1" clap = { version = "4", features = ["derive", "env"] } getrandom = { workspace = true } http = "1" -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit" } -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth" } -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit" } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } rustix = { workspace = true, features = ["process", "fs"] } thiserror = { workspace = true } tokio = { version = "1", features = ["rt", "signal", "sync"] } @@ -41,7 +41,7 @@ tokio = { version = "1", features = ["macros", "rt", "time"] } # Test-only: `test-util` exposes the audit capture helper used to assert on # `token set-scopes`/`set-provenance` audit events. It must NOT be enabled by # default — the library dependency above stays plain. -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit", features = ["test-util"] } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit", features = ["test-util"] } [lints] workspace = true diff --git a/crates/mecmcp-scp/Cargo.toml b/crates/mecmcp-scp/Cargo.toml index 121fdca..7543d3a 100644 --- a/crates/mecmcp-scp/Cargo.toml +++ b/crates/mecmcp-scp/Cargo.toml @@ -22,7 +22,7 @@ unwrap_used = "warn" async-trait = "0.1" base64 = "0.23" hmac = "0.13" -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } russh = { workspace = true } rustix = { workspace = true } sha1 = "0.11" diff --git a/crates/mecmcp-server/Cargo.toml b/crates/mecmcp-server/Cargo.toml index 44d78ef..ae746a0 100644 --- a/crates/mecmcp-server/Cargo.toml +++ b/crates/mecmcp-server/Cargo.toml @@ -17,9 +17,9 @@ workspace = true # server transport in would unify those features into every consumer's build # whether or not they use that transport (decision D4). http = "1" -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit" } -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth" } -mecmcp-redact = { version = "0.31.1", path = "../mecmcp-redact" } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit" } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth" } +mecmcp-redact = { version = "0.32.0", path = "../mecmcp-redact" } # For xml_to_json: same parser family mecmcp-redact already vets for this # ecosystem, so a device XML reply is walked with one parser, not two that # could disagree about where a tag ends. @@ -32,7 +32,7 @@ tracing = { workspace = true } [dev-dependencies] chrono = { workspace = true } -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit", features = ["test-util"] } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit", features = ["test-util"] } tracing-subscriber = { workspace = true } # Test-only: CallerCtx carries a per-request correlation ID (mecmcp#269). uuid = { workspace = true } diff --git a/crates/mecmcp-transport/Cargo.toml b/crates/mecmcp-transport/Cargo.toml index 044ffcc..5700c56 100644 --- a/crates/mecmcp-transport/Cargo.toml +++ b/crates/mecmcp-transport/Cargo.toml @@ -26,15 +26,15 @@ http-body-util = "0.1" # straight into `IpNet` instead of hand-rolling a `FromStr` wrapper. ipnet = { version = "2", features = ["serde"] } chrono = { workspace = true } -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit" } -mecmcp-auth = { version = "0.31.1", path = "../mecmcp-auth" } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit" } +mecmcp-auth = { version = "0.32.0", path = "../mecmcp-auth" } # Optional: only the `verified-approver` feature needs a JWT/JWKS verifier. # Every server links this crate, so a normal dependency here would put # `mecmcp-oidc`'s `reqwest`-based HTTP client (and the rustls build it # selects) into every build, including servers that never install the # `approver_assertion` step-up path. See the `verified-approver` feature # below. -mecmcp-oidc = { version = "0.31.1", path = "../mecmcp-oidc", optional = true } +mecmcp-oidc = { version = "0.32.0", path = "../mecmcp-oidc", optional = true } metrics = { workspace = true } # metrics-exporter-prometheus must have default-features = false to avoid # pulling in rustls's aws-lc-rs backend via hyper-rustls, which conflicts with @@ -124,13 +124,13 @@ pem = "4" # on the normal dependency above — that ships test scaffolding in production # binaries and widens the attack surface for no runtime benefit. Cargo unifies # features per build, so `cargo test` gets it and `cargo build` does not. -mecmcp-audit = { version = "0.31.1", path = "../mecmcp-audit", features = ["test-util"] } +mecmcp-audit = { version = "0.32.0", path = "../mecmcp-audit", features = ["test-util"] } # Test-only: proves that `mecmcp-secret`'s `AuthFailureTracker::probe` — built # with no dependency on this crate, by closure shape alone — actually flips # `/readyz` when registered as a `ReadinessCheck`. Not a normal dependency: # `mecmcp-transport` must not depend on `mecmcp-secret` for anything but this # integration test (MEC-539). -mecmcp-secret = { version = "0.31.1", path = "../mecmcp-secret" } +mecmcp-secret = { version = "0.32.0", path = "../mecmcp-secret" } # Test-only: rmcp's `EventStore` is an `#[async_trait]` trait, so the fake store # that proves `LimitedSessionManager` forwards `event_store()` needs the macro. async-trait = { workspace = true } diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index e29da3b..cbe8cb1 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -1199,7 +1199,7 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "mecmcp-audit" -version = "0.31.1" +version = "0.32.0" dependencies = [ "base64 0.23.1", "chrono", @@ -1228,7 +1228,7 @@ dependencies = [ [[package]] name = "mecmcp-auth" -version = "0.31.1" +version = "0.32.0" dependencies = [ "arc-swap", "chrono", @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "mecmcp-http" -version = "0.31.1" +version = "0.32.0" dependencies = [ "mecmcp-openapi", "mecmcp-secret", @@ -1279,7 +1279,7 @@ dependencies = [ [[package]] name = "mecmcp-oidc" -version = "0.31.1" +version = "0.32.0" dependencies = [ "async-trait", "jsonwebtoken", @@ -1295,14 +1295,14 @@ dependencies = [ [[package]] name = "mecmcp-openapi" -version = "0.31.1" +version = "0.32.0" dependencies = [ "thiserror", ] [[package]] name = "mecmcp-redact" -version = "0.31.1" +version = "0.32.0" dependencies = [ "hmac", "quick-xml", @@ -1314,7 +1314,7 @@ dependencies = [ [[package]] name = "mecmcp-secret" -version = "0.31.1" +version = "0.32.0" dependencies = [ "rustix", "thiserror", @@ -1323,7 +1323,7 @@ dependencies = [ [[package]] name = "mecmcp-transport" -version = "0.31.1" +version = "0.32.0" dependencies = [ "axum", "axum-server",