candid v0.7.0 Release Notes

  • ๐Ÿ’ฅ Breaking changes

    • ๐Ÿšš Require full subtype checking in deserialization. This removes undefined behavior when trying to decode variant and empty vector at types that are not supertype of the wire type.
    • Deserialization requires both Deserialize and CandidType trait.
    • ๐Ÿšš de::ArgumentDecoder, ser::ArgumentEncoder moved to utils::{ArgumentDecoder, ArgumentEncoder}.
    • ๐Ÿ‘ types::subtype returns Result<()> instead of bool for better error message.
    • Disable subtyping conversion for opt rules in IDLValue.annotate_type.
    • Display type annotations for number types.

    Non-breaking changes

    • ๐Ÿ‘ Better error messages in deserialization
    • โœ‚ Remove unnessary reqwest dependency
    • Implement CandidType for str