chore: release 0.48.1 — derive CandidType for delegation types#736
Merged
Conversation
Derive candid::CandidType for Delegation, SignedDelegation, and
DelegationPermissions so they can be used directly in Candid interfaces
(e.g. matching Internet Identity's Delegation/SignedDelegation types).
The byte fields map to blob and DelegationPermissions to
`variant { queries; all }`; the added permissions field is opt, so the
encoding stays subtype-compatible with delegation interfaces that omit it.
Bump the workspace version 0.48.0 -> 0.48.1 (additive trait impl, no
breaking changes) and record the change in CHANGELOG.md.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
✅ No security or compliance issues detected. Reviewed everything up to 6407a85. Security Overview
Detected Code Changes
|
marc0olo
approved these changes
Jul 7, 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.
Summary
Prepares the 0.48.1 release (targeting 2026-07-07).
Follow-up to #734: derive
candid::CandidTypeforDelegation,SignedDelegation, andDelegationPermissionsso downstreams can use them directly in Candid interfaces (e.g. matching Internet Identity'sDelegation/SignedDelegation).Changes
ic-transport-types: addedCandidTypeto the derives onDelegation,SignedDelegation,DelegationPermissions. Generated Candid:serde_bytesbyte fields map toblob, serde renames are honored, and the extrapermissionsfield isopt— so the encoding stays Candid-subtype-compatible with delegation interfaces that omit it.0.48.0→0.48.1(workspaceversion+ internal path-dep pins inCargo.toml,Cargo.lockrefreshed).CHANGELOG.md: new## [0.48.1] - 2026-07-07section.This is a purely additive trait impl — no breaking changes.
Verification
cargo build --workspace --locked✅cargo test -p ic-transport-types✅ (12 passed)cargo clippy -p ic-transport-types✅ (clean)Release steps after merge
mainworkflow_dispatch) — publishes in dependency order, idempotent/retry-safe🤖 Generated with Claude Code