Skip to content

chore(cargo deps): Bump candid from 0.10.29 to 0.10.32 - #227

Merged
AntonioVentilii merged 1 commit into
mainfrom
dependabot/cargo/candid-0.10.32
Jul 15, 2026
Merged

AntonioVentilii merged 1 commit into
mainfrom
dependabot/cargo/candid-0.10.32

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps candid from 0.10.29 to 0.10.32.

Changelog

Sourced from candid's changelog.

Candid 0.10.32

  • Non-breaking changes:
    • A service reference now decodes where a principal is expected: service <actortype> is a subtype of principal (spec addition: service <: principal, modelled analogously to nat <: int). The subtype checker and the deserializer accept a service reference at type principal; the two share an identical wire encoding, so the coercion is the identity on the reference. The reverse (a principal at a service type) remains rejected.

2026-07-03

ic_principal 0.1.5

  • Non-breaking changes:
    • Make Principal::as_slice(), Principal::len() and Principal::as_fixed_bytes() const functions.

2026-07-02

ic_principal 0.1.4

  • Non-breaking changes:
    • Add Principal::as_fixed_bytes(), returning a reference to the underlying fixed-size [u8; MAX_LENGTH_IN_BYTES] backing array. Bytes at index len() and beyond are always zero.
    • Add Principal::len(), returning the number of significant bytes in the Principal (equivalent to as_slice().len()).

2026-06-25

Candid 0.10.31

  • Non-breaking changes:
    • Encode and decode large Nat/Int values in linear time. Values beyond the u64/i64 fast path were previously processed one LEB128/SLEB128 group at a time, shifting the whole bignum on every byte (O(n²) in the encoded length); they now build the value in a single O(n) pass.

didc 0.6.2

  • Non-breaking changes:
    • Upgrade candid_parser dependency to v0.4.0.

2026-06-23

Candid 0.10.30

  • Non-breaking changes:
    • Add pretty::utils::sep_enclose and sep_enclose_space: list/tuple pretty-printing combinators that separate items and enclose them in delimiters, emitting a trailing separator on multi-line layouts.
    • Add TypeEnv::to_sorted_iter() to iterate bindings in a deterministic, key-sorted order.

candid_parser 0.4.0

  • Breaking changes:
    • Parse and preserve named function arguments and results. The AST now carries argument names so consumers (e.g. binding generators) can emit meaningful parameter names:
      • New syntax::IDLArgType { typ: IDLType, name: Option<String> } with IDLArgType::new / IDLArgType::new_with_name. Purely numeric names are normalized to None.
      • syntax::FuncType::{args, rets}, syntax::IDLType::ClassT, syntax::IDLTypes::args, and syntax::IDLInitArgs::args now hold Vec<IDLArgType> instead of Vec<IDLType>.
      • The pretty-printer now round-trips argument names (e.g. (from : principal)).
    • Type checking is unchanged: names are dropped when lowering to candid::types::Function, so the candid crate is unaffected.

2026-05-27

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 6, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 6, 2026 14:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 6, 2026
@AntonioVentilii
AntonioVentilii enabled auto-merge (squash) July 15, 2026 07:35
@AntonioVentilii

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [candid](https://github.com/dfinity/candid) from 0.10.29 to 0.10.32.
- [Release notes](https://github.com/dfinity/candid/releases)
- [Changelog](https://github.com/dfinity/candid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dfinity/candid/commits)

---
updated-dependencies:
- dependency-name: candid
  dependency-version: 0.10.32
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/candid-0.10.32 branch from 5e2b4b8 to aec0b5d Compare July 15, 2026 08:48
@AntonioVentilii
AntonioVentilii merged commit d782b23 into main Jul 15, 2026
13 checks passed
@AntonioVentilii
AntonioVentilii deleted the dependabot/cargo/candid-0.10.32 branch July 15, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant