Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump candid from 0.9.6 to 0.9.10 #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2023

Bumps candid from 0.9.6 to 0.9.10.

Changelog

Sourced from candid's changelog.

Changelog

2023-11-16 (Rust 0.10.0)

Breaking changes

  • The original candid crate is split into three crates:
    • candid: mainly for Candid data (de-)serialization.
      • candid::bindings::candid moves to candid::pretty::candid. candid::pretty moves to candid::pretty::utils. These modules are only available under feature flag printer (enabled by default).
      • candid::{Int, Nat} is only available under feature flag bignum (enabled by default). If this feature is not enabled, you can use i128/u128 for int/nat type.
      • Remove operator for i32 and Nat.
      • Add IDLValue::Blob(Vec<u8>) enum for efficient handling of blob value.
      • candid::types::number::pp_num_str moves to candid::utils::pp_num_str.
      • candid::types::value module is only availble under feature flag value.
      • mute_warning feature flag is removed, use candid::types::subtype_with_config instead.
    • candid_parser: used to be the parser and bindings module in candid crate.
      • Remove FromStr trait for IDLArgs and IDLValue. Use parse_idl_args and parse_idl_value respectively instead.
      • TypeEnv.ast_to_type becomes candid_parser::typing::ast_to_type.
      • bindings::rust::Config uses builder pattern.
      • candid is re-exported in candid_parser::candid.
      • candid::* is re-exported in candid_parser.
    • ic_principal: only for Principal and PrincipalError.

Non-breaking changes

  • Add candid::types::subtype_with_config to control the error reporting level of special opt rule.
  • Add Type.is_blob(env) method to check if a type is a blob type.
  • Fix TS binding for variant {}.

Rust 0.9.9 -- 0.9.11

  • Set different config values for full_error_message and zero_sized_values for Wasm and non-Wasm target.
  • Fix subtyping error message for empty type.
  • Remove name duplication check in candid_method to avoid errors on certain IDEs.
  • Improvements in Candid UI
    • Add II button, thanks to @​Web3NL.
    • Support streaming download of profiling data.

2023-09-27

Rust 0.9.8

  • Implement CandidType for std::cmp::Reverse.
  • Rust codegen: add pub for struct fields.
  • Fix merge_init_types and instantiate_candid when the main actor refers to a variable.

Candid UI

  • Draw flamegraph for canister upgrade

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [candid](https://github.com/dfinity/candid) from 0.9.6 to 0.9.10.
- [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-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 8, 2023
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.

0 participants