From 90bc4843da5e9f57241b5b147d327c3a8050c62e Mon Sep 17 00:00:00 2001 From: Michael Weigelt Date: Mon, 16 Nov 2026 16:02:33 +0000 Subject: [PATCH 1/2] limits --- docs/references/ic-interface-spec/canister-interface.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/references/ic-interface-spec/canister-interface.md b/docs/references/ic-interface-spec/canister-interface.md index aec0a0eb..5b5dc962 100644 --- a/docs/references/ic-interface-spec/canister-interface.md +++ b/docs/references/ic-interface-spec/canister-interface.md @@ -63,9 +63,13 @@ In order for a WebAssembly module to be usable as the code for the canister, it - the number of all exported functions called `canister_update `, `canister_query `, or `canister_composite_query ` exceeds 1,000, or + - the overall number of exports exceeds 1,100, or + - the sum of `` lengths in all exported functions called `canister_update `, `canister_query `, or `canister_composite_query ` exceeds 20,000, or - - the total size of the custom sections (the sum of `` lengths in their names `icp:public ` and `icp:private ` plus the sum of their content lengths) exceeds 1MiB. + - the total size of the custom sections (the sum of `` lengths in their names `icp:public ` and `icp:private ` plus the sum of their content lengths) exceeds 1MiB, or + + - the total number of imports exceeds 200. ### Interpretation of numbers From 845a31282ef3d1101f22589d9dc6befb71efd1ff Mon Sep 17 00:00:00 2001 From: Michael Weigelt Date: Mon, 16 Nov 2026 16:25:03 +0000 Subject: [PATCH 2/2] changelog --- docs/references/ic-interface-spec/changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/references/ic-interface-spec/changelog.md b/docs/references/ic-interface-spec/changelog.md index daf70e7e..ac132d5b 100644 --- a/docs/references/ic-interface-spec/changelog.md +++ b/docs/references/ic-interface-spec/changelog.md @@ -8,6 +8,10 @@ sidebar: ## Changelog {#changelog} +### 0.71.0 (2026-11-30) {$0_71_0} +* New limits for canister modules: The overall number of exports (1,100) and the + total number of imports (200). + ### 0.70.0 (2026-10-05) {$0_70_0} * New variant `secp256r1` of `ecdsa_curve`, selecting threshold ECDSA on the NIST P-256 curve in `ecdsa_public_key` and `sign_with_ecdsa`. Key derivation follows SLIP-10 and signatures are encoded as