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.2 to 0.9.6 #34

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2023

Bumps candid from 0.9.2 to 0.9.6.

Changelog

Sourced from candid's changelog.

2023-09-05 (Rust 0.9.6)

  • Improve Rust binding generation: 1) Fix generated code for agent; 2) Generated names conform to Rust convention: Pascal case for type names and enum tags; snake case for function names.
  • Fix a bug when deriving empty struct/tuple enum tag, e.g., #[derive(CandidType)] enum T { A{}, B() }.
  • Add IDLDeserialize::new_with_config to control deserializer behavior. For now, you can only bound the size of zero sized values.

2023-07-25 (Rust 0.9.2--0.9.5)

  • Fix error message for subtype::equal to report the correct missing label.
  • Recover subtype error from custom deserializer. This fixes some custom types for not applying special opt rule.
  • Fix Candid UI to support composite query.
  • Internally, move away from BigInt::try_into to allow more build targets, e.g. WASI and iOS.
  • Spec change: allow record {} <: record {null}.
  • Fix length counting of zero sized values.
  • Remove arc_type feature.

2023-07-11

Rust (0.9.1)

  • utils::service_equal to check if two service are structurally equal under variable renaming.
  • utils::instantiate_candid to generate metadata from did file: separate init args, flatten imports. For now, comments in the original did file is not preserved.
  • impl From<Func/Service> trait for define_function/define_service macros.
  • Make bindings::candid::pp_args a public method.
  • Bump dependencies, notably pretty, logos and syn.

Candid UI

  • Bump agent-js to fix the new response code change
  • Bump candid to 0.9

didc

  • Add a strict mode for didc check which checks for structural equality instead of backward compatibility.

2023-06-30 (Rust 0.9.0)

Breaking changes:

  • Deserializer only checks subtyping for reference types, fully conforming to Candid spec 1.4. You can now decode opt variant even if the variant tags are not the same, allowing upgrading variant types without breaking the client code.
  • The old candid::Type is now candid::TypeInner, and Type is a newtype of Rc<TypeInner>. This change significantly improves deserialization performance (25% -- 50% improvements)
  • candid::parser module is only available under feature flag "parser". This significantly cuts down compilation time and Wasm binary size
  • Disable the use of candid::Func and candid::Service to avoid footguns. Use define_function! and define_service! macro instead
  • candid::parser::typing::TypeEnv moved to candid::types::TypeEnv. Use of candid::TypeEnv is not affected
  • candid::parser::types::FuncMode moved to candid::types::FuncMode
  • candid::parser::value moved to candid::types::value
  • candid::parser::pretty moved to candid::bindings::candid::value
  • Deprecate ToDoc trait for pretty printing IDLProg, use candid::bindings::candid module instead
  • Deprecate candid::codegen, use candid::bindings instead
  • In candid::bindings::rust, there is a Config struct to control how Rust bindings are generated

... (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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 15, 2023
Bumps [candid](https://github.com/dfinity/candid) from 0.9.2 to 0.9.6.
- [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
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/candid-0.9.6 branch from 0d5bddf to b3019c1 Compare September 15, 2023 22:19
@rvanasa rvanasa merged commit ad93190 into main Sep 15, 2023
6 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/candid-0.9.6 branch September 15, 2023 23:19
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant