0.15.2-beta.2
Pre-releasefix: dfx canister delete <canister id>
removes the related entry from the canister id store
Previously, deleting a canister in the project by id rather than by name
would leave the canister id in the canister id store. This would cause
dfx deploy
to fail.
fix: dfx extension install can no longer create a corrupt cache directory
Running dfx cache delete && dfx extension install nns
would previously
create a cache directory containing only an extensions
subdirectory.
dfx only looks for the existence of a cache version subdirectory to
determine whether it has been installed. The end result was that later
commands would fail when the cache did not contain expected files.
fix: output_env_file is now considered relative to project root
The .env file location, whether specified as output_env_file
in dfx.json
or --output-env-file <file>
on the commandline, is now considered relative
to the project root, rather than relative to the current working directory.
feat: Read dfx canister install argument from a file
Enables passing large arguments that cannot be passed directly in the command line using the --argument-file
flag. For example dfx canister install --argument-file ./my/argument/file.txt my_canister_name
.
feat: change list_permitted
and list_authorized
to an update call.
This requires the list_authorized
and list_permitted
methods to be called as an update and disables the ability to
call it as a query call. This resolves a potential security risk.
fix: dfx ledger transfer
now logs to stderr messages about duplicates rather than printing them to stdout
The message "transaction is a duplicate of another transaction in block ...", previously printed to stdout, is now logged to stderr. This means that the output of dfx ledger transfer
to stdout will contain only "Transfer sent at block height ".
feat: added dfx cycles
command
This won't work on mainnet yet, but can work locally after installing the cycles ledger.
Added the following subcommands:
dfx cycles balance
dfx cycles transfer <to> <amount>
(transfer cycles from one account to another account)dfx cycles top-up <to> <amount>
(send cycles from an account to a canister)
Dependencies
Motoko
Updated Motoko to 0.10.2
Frontend canister
Defining a custom etag
header no longer breaks certification.
Fixed a certification issue where under certain conditions the fallback file (/index.html
) was served with an incomplete certificate tree, not proving sufficiently that the fallback file may be used as a replacement.
Replica
Updated replica to elected commit 80a6745673a28ee53d257b3fe19dcd6b7efa93d1.
This incorporates the following executed proposals:
Bitcoin canister
Updated Bitcoin canister to release/2023-10-13