From d27d08b68209ff586cb465974587679ab0e04727 Mon Sep 17 00:00:00 2001 From: xscriptor Date: Fri, 6 Nov 2026 21:54:21 +0100 Subject: [PATCH 1/2] chore(sdk): migrate to xfetch plugin/guest api 0.3.1 --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 16 ++++++---------- Cargo.toml | 4 ++-- docs/compatibility.md | 4 ++-- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd7e44d..86c9919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 2026-11-06 — SDK 0.3.1 migration + +- Updated the workspace to `xfetch-plugin-api` 0.3.1 and + `xfetch-guest-api` 0.3.1. +- The JSON protocol remains version 1 and the WIT remains + `xfetch:runtime@0.1.0`. +- 0.3.1 removes an unused direct `serde` dependency from + `xfetch-guest-api`; plugin code is unchanged. + ## 2026-11-06 — Banner width fix - `banner` 0.2.1: centre the proverb against the visible logo width using diff --git a/Cargo.lock b/Cargo.lock index f08d2d0..391baf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -445,9 +445,8 @@ dependencies = [ [[package]] name = "xfetch-api-common" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7a35b6c4f442aea26e73bb821978a637bd31261d80d4e97c11185876dd684c" +version = "0.3.1" +source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" dependencies = [ "serde", "serde_json", @@ -455,12 +454,10 @@ dependencies = [ [[package]] name = "xfetch-guest-api" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a48b8ca8b0a8f1218f09dbd93570cef036cd9bd19f9b3763e25b912ad1805ab3" +version = "0.3.1" +source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" dependencies = [ "base64", - "serde", "serde_json", ] @@ -475,9 +472,8 @@ dependencies = [ [[package]] name = "xfetch-plugin-api" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0455e40808edcf2da4ced9c032eaee0c89b130ab76aa214257b8d90d1a5f5df5" +version = "0.3.1" +source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" dependencies = [ "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 2490def..e0b8137 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,5 +21,5 @@ members = [ resolver = "2" [workspace.dependencies] -xfetch-plugin-api = { version = "0.3.0", package = "xfetch-plugin-api" } -xfetch-guest-api = { version = "0.3.0", package = "xfetch-guest-api" } +xfetch-plugin-api = { version = "0.3.1", git = "https://github.com/xfetch-cli/api", branch = "feat/command-kind", package = "xfetch-plugin-api" } +xfetch-guest-api = { version = "0.3.1", git = "https://github.com/xfetch-cli/api", branch = "feat/command-kind", package = "xfetch-guest-api" } diff --git a/docs/compatibility.md b/docs/compatibility.md index 1faece7..6a13c41 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -3,8 +3,8 @@

SDK compatibility

- The plugins in this repository target xfetch-plugin-api 0.3.0 - and xfetch-guest-api 0.3.0. The JSON protocol remains + The plugins in this repository target xfetch-plugin-api 0.3.1 + and xfetch-guest-api 0.3.1. The JSON protocol remains 1 and the WIT package remains xfetch:runtime@0.1.0. Plugins built against the previous 0.2.0 SDK remain runtime-compatible. From bc37fe124e43fe8f15a5236c8719113a5a719dd3 Mon Sep 17 00:00:00 2001 From: xscriptor Date: Fri, 6 Nov 2026 22:26:17 +0100 Subject: [PATCH 2/2] chore(sdk): resolve 0.3.1 from crates.io --- CHANGELOG.md | 2 ++ Cargo.lock | 9 ++++++--- Cargo.toml | 4 ++-- docs/compatibility.md | 3 ++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86c9919..f4252a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - Updated the workspace to `xfetch-plugin-api` 0.3.1 and `xfetch-guest-api` 0.3.1. +- SDK dependencies now resolve from crates.io; the temporary git branch is no + longer required. - The JSON protocol remains version 1 and the WIT remains `xfetch:runtime@0.1.0`. - 0.3.1 removes an unused direct `serde` dependency from diff --git a/Cargo.lock b/Cargo.lock index 391baf1..a8cc682 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -446,7 +446,8 @@ dependencies = [ [[package]] name = "xfetch-api-common" version = "0.3.1" -source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d67a2db2341dd5b8d6ae933c35dcd75670b4379e206ac59ffc1f42c94021315d" dependencies = [ "serde", "serde_json", @@ -455,7 +456,8 @@ dependencies = [ [[package]] name = "xfetch-guest-api" version = "0.3.1" -source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9dcc7f00258477ae741b350cc6252f40969317f8f6e119bd83dfc0562dd72c8" dependencies = [ "base64", "serde_json", @@ -473,7 +475,8 @@ dependencies = [ [[package]] name = "xfetch-plugin-api" version = "0.3.1" -source = "git+https://github.com/xfetch-cli/api?branch=feat%2Fcommand-kind#dc5c9afdcfa618977296717fce2ec3472cffc9ed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79be6250101bee33db48a366b52d00284aa63f78017931f9237bf239a632dd14" dependencies = [ "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index e0b8137..32a20a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,5 +21,5 @@ members = [ resolver = "2" [workspace.dependencies] -xfetch-plugin-api = { version = "0.3.1", git = "https://github.com/xfetch-cli/api", branch = "feat/command-kind", package = "xfetch-plugin-api" } -xfetch-guest-api = { version = "0.3.1", git = "https://github.com/xfetch-cli/api", branch = "feat/command-kind", package = "xfetch-guest-api" } +xfetch-plugin-api = { version = "0.3.1", package = "xfetch-plugin-api" } +xfetch-guest-api = { version = "0.3.1", package = "xfetch-guest-api" } diff --git a/docs/compatibility.md b/docs/compatibility.md index 6a13c41..e7656aa 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -7,7 +7,8 @@ and xfetch-guest-api 0.3.1. The JSON protocol remains 1 and the WIT package remains xfetch:runtime@0.1.0. Plugins built against the previous - 0.2.0 SDK remain runtime-compatible. + 0.2.0 SDK remain runtime-compatible. SDK dependencies resolve + from crates.io; no git branch is required.