0.20.2-beta.0
Pre-releasefix: dfx canister delete
fails
dfx canister delete
occasionally fails because it attempts to withdraw too many cycles from the canister before it is deleted.
Usually, dfx
tries again with a larger margin of cycles, but sometimes this gets stuck.
It is now possible to use --initial-margin
to manually supply a margin in case the automatic margin does not work.
perf: improve sync command performance
Improves sync
(eg. dfx deploy
, icx-asset sync
) performance by parallelization:
- Make asset properties query faster by parallelization, significant improvement for canisters that have many assets
- Make chunk creation process faster, by increasing parallelization 4=>25, significant improvement when deploying lots of small assets
icx-asset
: add support for log levels, defaulting to info
PocketIC support
Passing --pocketic
to dfx start
now starts a PocketIC server instead of the replica. PocketIC is lighter-weight than the replica and execution environment internals can be manipulated by REST commands. For more information, see the PocketIC readme.
feat: subaccount can be derived from principal in dfx ledger account-id
feat: dfx info candid-ui-url
dfx info candid-ui-url
displays the URL to the Candid UI canister for an explicitly specified --network <network name>
(or local
by default).
chore: Improve help text of dfx identity new
to include which characters are valid in identity names
fix: Capitalization of "Wasm" in docs and messages
The output of dfx canister status
has been also changed to use consistent capitalization of words.
fix!(frontend-canister): include .well-known
directory by default for asset upload
When uploading assets to an asset canister, dfx
by default excludes directories and files with names that start with .
.
dfx
will start including folders with the name .well-known
by default.
It is possible to override this in .ic-assets.json
like this:
{
"match": ".well-known",
"ignore": true
}
fix: Transferring funds too early in dfx ledger create-canister
with --next-to
When creating a canister with dfx ledger create-canister --next-to
on a canister that does not exist (e.g., 2vxsx-fae), then the funds are first transferred away from the users account, but the call then fails to create the new canister, and the funds are not returned to the user's account.
Dependencies
Updated to agent-rs 0.35.0
Replica
Updated replica to elected commit ec35ebd252d4ffb151d2cfceba3a86c4fb87c6d6.
This incorporates the following executed proposals: