chore: release ic-cdk-management-canister v0.2.0, ic-cdk v0.20.3, ic0 v1.2.0 - #715
Merged
Merged
Conversation
… v1.2.0 Cuts the flexible HTTPS outcall / pay-as-you-go pricing work in #714. `ic-cdk-management-canister` 0.2.0 calls `ic_cdk::api::cost_http_request_v2` and `subnet_self_node_count`, which rest on new `ic0` bindings, so all three crates are released together; publishing the management canister crate alone would resolve `ic-cdk` 0.20.2 from crates.io and fail to build. - ic0 1.1.0 -> 1.2.0 (additive: `subnet_self_node_count`, `cost_http_request_v2`) - ic-cdk / ic-cdk-macros 0.20.2 -> 0.20.3 (additive: the two `api` wrappers) - ic-cdk-management-canister 0.1.1 -> 0.2.0 (breaking: free `http_request`, `cost_http_request` and `http_request_with_closure` removed in favor of the builders; `ic-management-canister-types` 0.7.1 -> 0.10) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
lwshang
marked this pull request as ready for review
September 15, 2026 13:20
|
✅ No security or compliance issues detected. Reviewed everything up to d5d9cc6. Security Overview
Detected Code Changes
|
raymondk
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Release PR for
ic-cdk-management-canisterv0.2.0, cutting the flexible HTTPS outcall / pay-as-you-go pricing work from #714.The management canister crate does not release alone: its new builders call
ic_cdk::api::cost_http_request_v2andic_cdk::api::subnet_self_node_count, which in turn rest on newic0bindings, and both are still unreleased. Publishingic-cdk-management-canister0.2.0 by itself would resolveic-cdk0.20.2 from crates.io and fail to build, so all three crates are released together.ic0subnet_self_node_count,cost_http_request_v2bindingsic-cdk/ic-cdk-macrosapi::subnet_self_node_countandapi::cost_http_request_v2wrappersic-cdk-management-canisterThe breaking changes in
ic-cdk-management-canister0.2.0, already recorded in its CHANGELOG by #714:http_request,cost_http_requestandhttp_request_with_closureare removed in favor of theHttpRequest/FlexibleHttpRequestbuilders.HttpRequest::from_argsaccepts an existingHttpRequestArgsso a call site can migrate without rewriting how it builds arguments, andic_cdk::api::cost_http_requeststill exposes version1pricing.ic-management-canister-typesmoves from 0.7.1 to 0.10, which adds fields toHttpRequestArgsandCanisterSettingsand so breaks exhaustive struct literals over the re-exported types.Note that the builders price outcalls through the
ic0.cost_http_request_v2System API, so a canister built with them requires a replica that provides it.This PR contains no code changes — only version bumps in the manifests and the dated CHANGELOG headings.
Publishing
After merge, run the
Publish crates to crates.ioworkflow withic0,ic-cdkandic-cdk-management-canisterchecked. The workflow already publishes them in dependency order (ic0→ic-cdk-macros+ic-cdk→ic-cdk-management-canister).How Has This Been Tested?
cargo check --workspace --all-featurespasses. The functional changes being released were tested by the e2e tests added in #714; CI on this branch re-runs them.cargo package -p ic-cdk-management-canisteris expected to fail untilic-cdk0.20.3 is on crates.io, which is the reason the three crates ship in one release.Checklist:
🤖 Generated with Claude Code