chore!: dfx generate now imports @icp-sdk/core instead of @dfinity/ packages
It is possible to restore the previous behavior by replacing uses of dfx generate with e.g. dfx generate && find src/declarations -type f -exec perl -i -pe 's|@dfinity/|@icp-sdk/core/|g' {} +.
Most projects will want to substitute this in the frontend's package.json, in the "prebuild" step.
feat: support for canister ID migration
Canister ID migration can be performed using dfx canister migrate-id
and its status can be checked out using dfx canister migration-status.
feat: Wasm optimization failure issues a warning instead of error
The optimization functionality provided by `ic_wasm::optimize" cannot handle Wasm modules that contains 64-bit table.
Instead of blocking the build, such optimization failure will issue a warning.
fix: prevent panic on terminals with limited color support
Fixed a panic that could occur when running dfx on terminals lacking color support. The term crate has been replaced with raw ANSI escape codes, and colors are now only emitted when stderr is a TTY and the NO_COLOR environment variable is not set.
Dependencies
Motoko
Updated Motoko to 1.1.0
Replica
Updated replica to commit b0a37d0119a5df1dad84e50dc8717b77978d8f04.
This incorporates the following executed proposals:
Frontend canister
- Module hash: 04e565b3425fe7510ee16b02adcfe3f01abc9a2725c82a21cb08969241debd62
- #4474