From d2454a1bf9ef3b49caecb2e97b1f3b130d6d0e9d Mon Sep 17 00:00:00 2001 From: gregorydemay Date: Mon, 11 May 2026 13:18:13 +0000 Subject: [PATCH 1/4] chore: bump `pocket-ic` to v13.0.0 Releases `ic-pocket-canister-runtime` 0.5.0 (breaking, due to the `pocket-ic` major bump) to unblock pocket-ic v13 upgrades in `evm-rpc-canister` and `sol-rpc-canister`, which today hit two semver-incompatible copies of the `pocket_ic` crate in the build graph when they try to bump. --- Cargo.lock | 61 ++++++++++++------------- Cargo.toml | 2 +- ic-pocket-canister-runtime/CHANGELOG.md | 8 ++++ ic-pocket-canister-runtime/Cargo.toml | 2 +- 4 files changed, 39 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d1c70aa..8d70453 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -886,7 +886,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "ic-pocket-canister-runtime" -version = "0.4.2" +version = "0.5.0" dependencies = [ "async-trait", "candid", @@ -1562,9 +1562,9 @@ dependencies = [ [[package]] name = "ic-transport-types" -version = "0.40.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2e7706e55836e8104c98149ec0796d20d5213fef972ac01b544657d410f1883" +checksum = "4a775244756a5d97ff19b08071a946a4b4896904e35deb036bf215e80f2e703d" dependencies = [ "candid", "hex", @@ -1866,10 +1866,12 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.91" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" dependencies = [ + "cfg-if", + "futures-util", "once_cell", "wasm-bindgen", ] @@ -2060,7 +2062,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -2250,9 +2252,9 @@ dependencies = [ [[package]] name = "pocket-ic" -version = "12.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c0fe19b920be1485cdd3d58a70abfa768c2608f8349864d950791fe1a5c193" +checksum = "e30621a12b204880522340df8327930d1b7fdefd784c9fc6093b311440fa0506" dependencies = [ "backoff", "base64 0.13.1", @@ -2261,12 +2263,11 @@ dependencies = [ "hex", "ic-certification", "ic-management-canister-types 0.5.0", - "ic-transport-types 0.40.1", + "ic-transport-types 0.45.0", "reqwest 0.12.28", "schemars", "semver", "serde", - "serde_bytes", "serde_cbor", "serde_json", "sha2 0.10.9", @@ -2715,7 +2716,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -2773,7 +2774,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -3126,7 +3127,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -3283,7 +3284,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -3741,9 +3742,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.114" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" dependencies = [ "cfg-if", "once_cell", @@ -3754,23 +3755,19 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.64" +version = "0.4.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9c5522b3a28661442748e09d40924dfb9ca614b21c00d3fd135720e48b67db8" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" dependencies = [ - "cfg-if", - "futures-util", "js-sys", - "once_cell", "wasm-bindgen", - "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.114" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3778,9 +3775,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.114" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" dependencies = [ "bumpalo", "proc-macro2", @@ -3791,9 +3788,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.114" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" dependencies = [ "unicode-ident", ] @@ -3860,9 +3857,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.91" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854ba17bb104abfb26ba36da9729addc7ce7f06f5c0f90f3c391f8461cca21f9" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" dependencies = [ "js-sys", "wasm-bindgen", @@ -3902,7 +3899,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7092749..e5ce04e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ itertools = "0.14.0" maplit = "1.0.2" num-traits = "0.2.19" pin-project = "1.1.11" -pocket-ic = "12.0.0" +pocket-ic = "13.0.0" proptest = "1.10.0" regex-lite = "0.1.9" serde = "1.0" diff --git a/ic-pocket-canister-runtime/CHANGELOG.md b/ic-pocket-canister-runtime/CHANGELOG.md index 10acb52..9884f78 100644 --- a/ic-pocket-canister-runtime/CHANGELOG.md +++ b/ic-pocket-canister-runtime/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2026-05-11 + +### Changed + +- **Breaking:** Bump `pocket-ic` to v13.0.0 + +[0.5.0]: https://github.com/dfinity/canhttp/compare/ic-pocket-canister-runtime-v0.4.2..ic-pocket-canister-runtime-v0.5.0 + ## [0.4.2] - 2026-03-23 ### Added diff --git a/ic-pocket-canister-runtime/Cargo.toml b/ic-pocket-canister-runtime/Cargo.toml index 7c325e7..de86c87 100644 --- a/ic-pocket-canister-runtime/Cargo.toml +++ b/ic-pocket-canister-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-pocket-canister-runtime" -version = "0.4.2" +version = "0.5.0" description = "Canisters runtime on the Internet Computer using Pocket IC" license.workspace = true homepage.workspace = true From 8267a5e436e71ddc88cd22b19963ea3e058bf4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Demay?= Date: Mon, 11 May 2026 13:25:06 +0000 Subject: [PATCH 2/4] ci: bump pocket-ic server pin to v13.0.0 The v13 client cannot talk to the v12 server (handshake panics with "Incompatible PocketIC server version"), so the workflow needs to pull the v13 server binary alongside the workspace dep bump. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a36dc3..b896511 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,7 @@ jobs: - name: 'Install PocketIC server' uses: dfinity/pocketic@20c33db1aa87cc6ece50857ac632c37acf5e0322 # main with: - pocket-ic-server-version: "12.0.0" + pocket-ic-server-version: "13.0.0" - name: 'Run integration tests' run: cargo test --locked -p http_canister -p json_rpc_canister From 6f3cdd62ff2d80c9a12cc8b69a1b5f27ceaa5bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Demay?= Date: Mon, 11 May 2026 13:29:30 +0000 Subject: [PATCH 3/4] release ic-agent-canister-runtime 0.4.0 ic-agent 0.47.2 is already on main via #111; 0.x.y minor bumps are breaking under cargo semver, so consumers (e.g. sol-rpc-canister) need a new release of this crate to be able to update transitively. --- ic-agent-canister-runtime/CHANGELOG.md | 8 ++++++++ ic-agent-canister-runtime/Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ic-agent-canister-runtime/CHANGELOG.md b/ic-agent-canister-runtime/CHANGELOG.md index 73f9c28..1be5ebf 100644 --- a/ic-agent-canister-runtime/CHANGELOG.md +++ b/ic-agent-canister-runtime/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2026-05-11 + +### Changed + +- **Breaking:** Update `ic-agent` to `v0.47.2` ([#116](https://github.com/dfinity/canhttp/pull/116)). + +[0.4.0]: https://github.com/dfinity/canhttp/compare/ic-agent-canister-runtime-v0.3.0..ic-agent-canister-runtime-v0.4.0 + ## [0.3.0] - 2026-03-23 ### Changed diff --git a/ic-agent-canister-runtime/Cargo.toml b/ic-agent-canister-runtime/Cargo.toml index 04456cf..e017b86 100644 --- a/ic-agent-canister-runtime/Cargo.toml +++ b/ic-agent-canister-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-agent-canister-runtime" -version = "0.3.0" +version = "0.4.0" description = "Implementation of a canister runtime of the Internet Computer for `ic-agent`" license.workspace = true homepage.workspace = true From c680becd9c460e53546ac88450f91d29fa234373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Demay?= Date: Mon, 11 May 2026 13:36:25 +0000 Subject: [PATCH 4/4] build: refresh Cargo.lock for ic-agent-canister-runtime 0.4.0 --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 8d70453..63dce08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1390,7 +1390,7 @@ dependencies = [ [[package]] name = "ic-agent-canister-runtime" -version = "0.3.0" +version = "0.4.0" dependencies = [ "async-trait", "candid",