Dfx 0.17.0 is promoted. You can read the release notes here .
This release includes the updated dfx new
starter projects, along with some other new features. Be sure to note that dfx canister call
will always fetch the .did
file from the canister metadata. If the canister doesn’t have the candid:service
metadata, dfx will fallback to the current behavior of reading the .did
file from the local build artifact.
For custom canisters, you can now add
"metadata": [
{
"name": "candid:service"
}
]
to the canister’s definition in dfx.json
in order to have dfx
inject the canister’s interface into the canister metadata for you after the build step.
Please let us know if you run into any problems!