Highlights of what’s new in 0.6.22
The 0.6.22 release consists of changes to support new features that are not yet complete, including fixes and updates to DFX commands, Motoko, the Motoko base library, and Candid.
New features and capabilities
The most significant new features and capabilities include updates in the following functional areas:
dfx canister callcommand can now pass a randomly-generated value to a canister method when an argument is required but not provided.
dfx canister callcommand can take canister identifiers for local canisters even if the canister is installed on a remote network.
dfx replicacommand has been fixed so that it does not attempt to write the replica
pidto a nonexistent directory.
webpack.config.jsfile used when you create new projects has been modified to comment out the configuration to enable TypeScript.
ts-loaderto process files with the
.jsfile extension, which could lead to errors. This configuration is now disabled by default and the commented-out configuration only processes
There have been updates, improvements, and new sample applications added to the examples repository.
All of Motoko sample apps in the examples repository have been updated to work with the latest release of the SDK.
The LinkedUp sample application has been updated to work with the latest release of Motoko and the SDK.
The Motoko compiler now reports errors and warnings with an additional error code.
You can use the error code to look up a more detailed description for a given error by passing the
--explainflag with a code to the compiler.
Note that detailed descriptions are not yet available for most error codes and will be added incrementally in upcoming releases.