0.10.1
DFX
fix: Webpack config no longer uses CopyPlugin
Dfx already points to the asset canister's assets directory, and copying to disk could sometimes
lead to an annoying "too many open files" error.
fix: HSMs are once again supported on Linux
On Linux, dfx 0.10.0 failed any operation with an HSM with the following error:
Error: IO: Dynamic loading not supported
The fix was to once again dynamically-link the Linux build.
feat: error explanation and fixing instructions engine
Dfx is now capable of providing explanations and remediation suggestions for entire categories of errors at a time.
Explanations and suggestions will slowly be added over time.
To see an example of an already existing suggestion, run dfx deploy --network ic
while using an identity that has no wallet configured.
chore: add context to errors
Most errors that happen within dfx are now reported in much more detail. No more plain File not found
without explanation what even was attempted.
fix: identities with configured wallets are not broken anymore and removed only when using the --drop-wallets flag
When an identity has a configured wallet, dfx no longer breaks the identity without actually removing it.
Instead, if the --drop-wallets flag is specified, it properly removes everything and logs what wallets were linked,
and when the flag is not specified, it does not remove anything.
The behavior for identities without any configured wallets is unchanged.
feat: bitcoin integration: dfx now generates the bitcoin adapter config file
dfx command-line parameters for bitcoin integration:
dfx start --enable-bitcoin # use default node 127.0.0.1:18444
dfx start --enable-bitcoin --bitcoin-node <node>
The above examples also work for dfx replica.
These default to values from dfx.json:
.defaults.bitcoin.nodes
.defaults.bitcoin.enabled
The --bitcoin-node parameter, if specified on the command line, implies --enable-bitcoin.
If --enable-bitcoin or .defaults.bitcoin.enabled is set, then dfx start/replica will launch the ic-btc-adapter process and configure the replica to communicate with it.
feat: print wallet balance in a human readable form #2184
Default behaviour changed for dfx wallet balance
, it will now print cycles amount upscaled to trillions.
New flag --precise
added to dfx wallet balance
. Allows to get exact amount of cycles in wallet (without upscaling).
feat: canister http integration
dfx command-line parameters for canister http requests integration:
dfx start --enable-canister-http
dfx replica --enable-canister-http
This defaults to the following value in dfx.json:
.defaults.canister_http.enabled
fix: specifying ic provider with a trailing slash is recognised correctly
Specifying the network provider as https://ic0.app/
instead of https://ic0.app
is now recognised as the real IC network.
Binary cache
Added ic-canister-http-adapter to the binary cache.
Dependencies
Updated agent-rs to 0.17.0
Motoko
Updated Motoko from 0.6.26 to 0.6.28.
Replica
Updated replica to elected commit b90edb9897718730f65e92eb4ff6057b1b25f766.
This incorporates the following executed proposals:
icx-proxy
Updated icx-proxy to commit c312760a62b20931431ba45e5b0168ee79ea5cda
- Added gzip and deflate body decoding before certification validation.
- Fixed unzip and streaming bugs
- Added Prometheus metrics endpoint
- Added root and invalid ssl and dns mapping