All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History
Page 1

  • v0.7.15 Changes

    • ๐Ÿ›  Fix parser: underscore for hexnum; semicolon at the EOF
    • ๐Ÿ›  Fix semicolon in Rust binding
    • 0๏ธโƒฃ Derive Copy, Eq, Default for Reserved
    • โฌ†๏ธ Bump ic-types to 0.4
  • v0.7.9 Changes

    • Generate Rust binding from Candid file (experimental)
    • Ignore init args for subtype checking
    • ๐Ÿ–จ Pretty print text value with escape_debug
    • More visitors for Nat and Int type
  • v0.7.5 Changes

    • ๐Ÿ‘Œ Support import when parsing did files with check_file function
    • ๐Ÿ›  Fix TypeScript binding for reference types
  • v0.7.0 Changes

    ๐Ÿ’ฅ 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
  • v0.6.18 Changes

    • ๐Ÿ‘ #[candid_method(init)] to support init arguments in service actor
    • Subtyping check for Candid types
    • ๐Ÿ– Handle subtyping for reserved and int in decoding
  • v0.6.16 Changes

    • Typescript binding for Candid
    • ๐Ÿ‘Œ Support more native Rust types: Path, PathBuf, VecDeque, LinkedList, BinaryHeap, Cow, Cell, RefCell
  • v0.6.14 Changes

    • Generate random Candid values
    • Sort method names lexicographically
  • v0.6.12 Changes

    • ๐Ÿ‘Œ Support reference types
    • ๐Ÿ‘Œ Support more native Rust types: HashMap, HashSet, BTreeMap, BTreeSet, i128, u128
    • ๐Ÿ› Bug fix for empty record detection when deserializing to native Rust types
  • v0.6.11 Changes

    • ๐Ÿ‘Œ Support the opt subtyping rules
    • ๐Ÿ‘ Allow using Rust keyword as field label
  • v0.6.9 Changes

    • โž• Add result getter for serializer
    • Implement CandidType for std::time::SystemTime and Duration