V0.4.10 has been promoted to V0.4.11 to include a fix to make your front-end development experience even better!
Basic support for front-end development using
New projects now include webpack configuration and additional files, if either node is installed or --frontend is used. Node dependencies will automatically be installed.
dfx buildwill run
npm run buildif a package.json file is present. Note that this feature is still experimental and additional functionality and documentation will be added soon.
dfx upgradecommand checks for the latest version and upgrades your
dfxinstallation if a newer version of
Creating a new project with
dfx newwill create a directory and folders with the corresponding name.
Previously, you had to rename all of your source and canister directories from hello to your project name.
You can specify the format of the configuration file output as json or text, with json being the default, using
The most notable change you will find is there is no longer support for dashes
-. All projects within the tutorials have been changed to use an underscore
Motoko now supports pattern matching with type-annotated object fields.
Pattern matching with type-annotated object fields is useful if you are writing a function that takes a record as input and the record fields so that you want to use the field names as bindings (local variable names). However, because type inference is not possible in this case, you must provide types for the fields.
New tutorials have been added to provide additional guidance to new developers and include more sample code.
You can also access these release notes here: https://sdk.dfinity.org/developers-guide/sdk-release-notes.html