Sourced from candid's changelog.
Rust 0.9.9 -- 0.9.11
- Set different config values for
full_error_message
andzero_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
forstd::cmp::Reverse
.- Rust codegen: add
pub
for struct fields.- Fix
merge_init_types
andinstantiate_candid
when the main actor refers to a variable.Candid UI
- Draw flamegraph for canister upgrade
- Upstream fix from
merge_init_types
Rust 0.9.7
- Add
utils::merge_init_args
to parse and mergecandid:args
metadata, and add the same endpoint in Candid UI.- Add
record!
andvariant!
macro to generate record and variant type AST.- Allow trailing comma in
func!
macro.- Add
minize_error_message
toIDLDeserialize::Config
.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.
Sourced from candid's changelog.
Rust 0.9.9 -- 0.9.11
- Set different config values for
full_error_message
andzero_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
forstd::cmp::Reverse
.- Rust codegen: add
pub
for struct fields.- Fix
merge_init_types
andinstantiate_candid
when the main actor refers to a variable.Candid UI
- Draw flamegraph for canister upgrade
- Upstream fix from
merge_init_types
Rust 0.9.7
- Add
utils::merge_init_args
to parse and mergecandid:args
metadata, and add the same endpoint in Candid UI.- Add
record!
andvariant!
macro to generate record and variant type AST.- Allow trailing comma in
func!
macro.- Add
minize_error_message
toIDLDeserialize::Config
.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.