Hi folks, dfx 0.29.1-beta.1 is released. You can find the release notes here.
To switch to the beta release, use dfxvm default 0.29.1-beta.1
.
This release includes version 0.16.1 of Motoko; see the 0.16.0 release notes.
It also has a new doc comment feature for Candid interface files:
// Type comments
type Ex = variant {
// Variant comments
Var: record {
// Field comments
field: nat;
}
}
// Service comments
service : {
// Method comments
func : (Ex) -> ();
}
When bindings are generated for this interface using dfx generate
(usually auto-invoked by npm
), these comment types will turn into documentation comments in the generated code.