All Versions
11
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 1

  • 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
  • v0.6.4 Changes

    • 👌 Support service constructor
    • Export init types in JS binding for service constructor
    • 👌 Improve pretty-printing for Candid values: underscore for numerals, blob shorthand for vec nat8.
    • 🖨 Disable pretty-printing for large vectors.
    • ➕ Add attribute #[candid_method] to derive Candid types for functions.
    • ➕ Add a feature flag cdk to generate candid path specifically for Rust CDK.
  • v0.5.3 Changes

    • 🛠 Fix deserialization to validate type table and detect infinite loop in type T = record { T }
    • 🛠 Fix serialization for newtype struct
    • 🖨 Display trait for pretty printing types::Type